diff options
Diffstat (limited to 'ci')
-rw-r--r-- | ci/install.sh | 5 | ||||
-rw-r--r-- | ci/script.sh | 6 |
2 files changed, 4 insertions, 7 deletions
diff --git a/ci/install.sh b/ci/install.sh index b7d8195..a0cbf43 100644 --- a/ci/install.sh +++ b/ci/install.sh @@ -3,10 +3,7 @@ set -euxo pipefail main() { case $TARGET in thumbv*-none-eabi*) - cargo install --list | grep xargo || \ - cargo install xargo - rustup component list | grep 'rust-src.*installed' || \ - rustup component add rust-src + rustup target add $TARGET ;; esac } diff --git a/ci/script.sh b/ci/script.sh index d5d1c69..0cf0da0 100644 --- a/ci/script.sh +++ b/ci/script.sh @@ -3,11 +3,11 @@ set -euxo pipefail main() { case $TARGET in thumbv7em-none-eabi*) - xargo check --target $TARGET --features cm7-r0p1 - xargo check --target $TARGET + cargo check --target $TARGET --features cm7-r0p1 + cargo check --target $TARGET ;; thumbv*-none-eabi*) - xargo check --target $TARGET + cargo check --target $TARGET ;; *) cargo test --target $TARGET |