diff options
Diffstat (limited to 'cortex-m-semihosting/ci/script.sh')
-rw-r--r-- | cortex-m-semihosting/ci/script.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/cortex-m-semihosting/ci/script.sh b/cortex-m-semihosting/ci/script.sh new file mode 100644 index 0000000..dc0be46 --- /dev/null +++ b/cortex-m-semihosting/ci/script.sh @@ -0,0 +1,15 @@ +set -euxo pipefail + +main() { + cargo check --target $TARGET + + if [ $TRAVIS_RUST_VERSION = nightly ]; then + cargo check --target $TARGET --features inline-asm + fi + + if [ $TARGET = x86_64-unknown-linux-gnu ]; then + ./check-blobs.sh + fi +} + +main |