aboutsummaryrefslogtreecommitdiff
path: root/ci/script.sh
diff options
context:
space:
mode:
authorGravatar bors[bot] <26634292+bors[bot]@users.noreply.github.com> 2020-08-28 20:34:31 +0000
committerGravatar GitHub <noreply@github.com> 2020-08-28 20:34:31 +0000
commit54f541c87b0723ad8976f978b2233d56100702b6 (patch)
treeb284d3ef162113aeae169228a5b294a1c33f8234 /ci/script.sh
parent36886f19b6ca0ac3b30ddf8543d330a445506057 (diff)
parent0a118397332c10080c48d76e7416ce854a0260ba (diff)
downloadcortex-m-54f541c87b0723ad8976f978b2233d56100702b6.tar.gz
cortex-m-54f541c87b0723ad8976f978b2233d56100702b6.tar.zst
cortex-m-54f541c87b0723ad8976f978b2233d56100702b6.zip
Merge #261
261: Replace shell scripts with integration test r=therealprof a=jonas-schievink * Removes the Clippy check from CI (I don't think we should fail CI when Clippy finds something, it seems better to use the GitHub Actions plugin) * Tests all targets (thumbv8m.base was missing) * Bumps MSRV to 1.35.0 (to get the thumbv8m.base libcore) Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
Diffstat (limited to 'ci/script.sh')
-rw-r--r--ci/script.sh45
1 files changed, 0 insertions, 45 deletions
diff --git a/ci/script.sh b/ci/script.sh
deleted file mode 100644
index fc1e754..0000000
--- a/ci/script.sh
+++ /dev/null
@@ -1,45 +0,0 @@
-set -euxo pipefail
-
-main() {
- if [ $TRAVIS_RUST_VERSION = nightly ]; then
- export RUSTFLAGS="-D warnings"
- fi
-
- cargo check --target $TARGET
-
- if [ $TRAVIS_RUST_VERSION = nightly ]; then
- cargo check --target $TARGET --features 'inline-asm'
- fi
-
- case $TARGET in
- thumbv7em-none-eabi*)
- cargo check --target $TARGET --features cm7-r0p1
-
- if [ $TRAVIS_RUST_VERSION = nightly ]; then
- cargo check --target $TARGET --features 'cm7-r0p1 inline-asm'
- fi
- ;;
-
- thumbv*-none-eabi*)
- ;;
-
- x86_64-unknown-linux-gnu)
- cargo test --target $TARGET
- ;;
- esac
-
- if [ $TARGET = x86_64-unknown-linux-gnu ]; then
- cargo xtask check-blobs
- fi
-
- if [ $TRAVIS_RUST_VERSION = nightly ]; then
- # Get the latest nightly with a working clippy
- rustup toolchain uninstall nightly
- rustup set profile default
- rustup default nightly
- rustup target add $TARGET
- cargo clippy --target $TARGET -- -D warnings
- fi
-}
-
-main