diff options
author | 2018-09-21 03:23:48 +0900 | |
---|---|---|
committer | 2018-09-21 03:23:48 +0900 | |
commit | 9a504d35c4a522f76db4b86a4c5279027feab5a2 (patch) | |
tree | 9bcc89ddb76f220f2d48c1b588581e3ba4d10b13 /cortex-m-rt/ci/script.sh | |
parent | 43f843f39c7c9ce48213aa50c7d18ae9a2d94e41 (diff) | |
download | cortex-m-9a504d35c4a522f76db4b86a4c5279027feab5a2.tar.gz cortex-m-9a504d35c4a522f76db4b86a4c5279027feab5a2.tar.zst cortex-m-9a504d35c4a522f76db4b86a4c5279027feab5a2.zip |
[ci] run qemu example in crate's CI.
Diffstat (limited to 'cortex-m-rt/ci/script.sh')
-rw-r--r-- | cortex-m-rt/ci/script.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cortex-m-rt/ci/script.sh b/cortex-m-rt/ci/script.sh index 9933372..432ea35 100644 --- a/cortex-m-rt/ci/script.sh +++ b/cortex-m-rt/ci/script.sh @@ -20,6 +20,7 @@ main() { minimal override-exception pre_init + qemu rand state unsafe-default-handler @@ -82,6 +83,13 @@ main() { -C link-arg=-Tlink.x fi + case $TARGET in + thumbv6m-none-eabi|thumbv7m-none-eabi) + cargo run --target $TARGET --example qemu | grep "x = 42" + cargo run --target $TARGET --example qemu --release | grep "x = 42" + ;; + esac + if [ $TARGET = x86_64-unknown-linux-gnu ]; then ./check-blobs.sh fi |