diff options
author | 2019-11-21 18:22:46 +0100 | |
---|---|---|
committer | 2019-11-21 18:22:46 +0100 | |
commit | 0ada35e95d033bdc3e725a62d06ef9843bec5e3c (patch) | |
tree | 66f3002d9475caa14738eea891fa02558e37348f /cortex-m-rt/ci/script.sh | |
parent | c8916fe8b724d087e30c745a568bd60f0342fb91 (diff) | |
download | cortex-m-0ada35e95d033bdc3e725a62d06ef9843bec5e3c.tar.gz cortex-m-0ada35e95d033bdc3e725a62d06ef9843bec5e3c.tar.zst cortex-m-0ada35e95d033bdc3e725a62d06ef9843bec5e3c.zip |
Run compiletest tests on stable, not nightly
Diffstat (limited to 'cortex-m-rt/ci/script.sh')
-rw-r--r-- | cortex-m-rt/ci/script.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cortex-m-rt/ci/script.sh b/cortex-m-rt/ci/script.sh index 3569588..cccf5c9 100644 --- a/cortex-m-rt/ci/script.sh +++ b/cortex-m-rt/ci/script.sh @@ -5,7 +5,7 @@ main() { cargo check --target $TARGET --features device - if [ $TARGET = x86_64-unknown-linux-gnu ] && [ $TRAVIS_RUST_VERSION = nightly ]; then + if [ $TARGET = x86_64-unknown-linux-gnu ] && [ $TRAVIS_RUST_VERSION = stable ]; then ( cd macros && cargo check && cargo test ) cargo test --features device --test compiletest @@ -73,7 +73,7 @@ main() { # linking with GNU LD env RUSTFLAGS="-C linker=arm-none-eabi-ld -C link-arg=-Tlink.x" cargo run --target $TARGET --example qemu | grep "x = 42" env RUSTFLAGS="-C linker=arm-none-eabi-ld -C link-arg=-Tlink.x" cargo run --target $TARGET --example qemu --release | grep "x = 42" - + # linking with rustc's LLD cargo run --target $TARGET --example qemu | grep "x = 42" cargo run --target $TARGET --example qemu --release | grep "x = 42" |