aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
Diffstat (limited to 'ci')
-rw-r--r--ci/install.sh15
-rw-r--r--ci/script.sh45
2 files changed, 0 insertions, 60 deletions
diff --git a/ci/install.sh b/ci/install.sh
deleted file mode 100644
index 371cc8e..0000000
--- a/ci/install.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-set -euxo pipefail
-
-main() {
- case $TARGET in
- thumbv*-none-eabi*)
- rustup target add $TARGET
- ;;
- esac
-
- mkdir gcc
-
- curl -L https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2?revision=bc2c96c0-14b5-4bb4-9f18-bceb4050fee7?product=GNU%20Arm%20Embedded%20Toolchain,64-bit,,Linux,7-2018-q2-update | tar --strip-components=1 -C gcc -xj
-}
-
-main
diff --git a/ci/script.sh b/ci/script.sh
deleted file mode 100644
index 7c30993..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
- ./check-blobs.sh
- 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