diff options
Diffstat (limited to 'cortex-m-rt/ci/script.sh')
-rw-r--r-- | cortex-m-rt/ci/script.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/cortex-m-rt/ci/script.sh b/cortex-m-rt/ci/script.sh index 8443046..0a28641 100644 --- a/cortex-m-rt/ci/script.sh +++ b/cortex-m-rt/ci/script.sh @@ -5,7 +5,11 @@ main() { cargo check --target $TARGET --features device - ( cd macros && cargo check && cargo test ) + if [ $TARGET = x86_64-unknown-linux-gnu ]; then + ( cd macros && cargo check && cargo test ) + + cargo test --test compiletest + fi local examples=( alignment @@ -18,7 +22,7 @@ main() { local fail_examples=( data_overflow ) - if [ $TRAVIS_RUST_VERSION = nightly ]; then + if [ $TARGET != x86_64-unknown-linux-gnu ]; then # linking with GNU LD for ex in "${examples[@]}"; do cargo rustc --target $TARGET --example $ex -- \ |