aboutsummaryrefslogtreecommitdiff
path: root/ci.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci.sh')
-rwxr-xr-xci.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/ci.sh b/ci.sh
index a3b7d804f..8c6c2eebe 100755
--- a/ci.sh
+++ b/ci.sh
@@ -7,6 +7,13 @@ export RUSTFLAGS=-Dwarnings
7 7
8find -name '*.rs' -not -path '*target*' -not -path '*stm32-metapac-gen/out/*' | xargs rustfmt --check --skip-children --unstable-features --edition 2018 8find -name '*.rs' -not -path '*target*' -not -path '*stm32-metapac-gen/out/*' | xargs rustfmt --check --skip-children --unstable-features --edition 2018
9 9
10# Generate stm32-metapac
11# for some reason Cargo stomps the cache if we don't specify --target.
12# This happens with vanilla Cargo, not just cargo-batch. Bug?
13(cd stm32-metapac-gen; cargo run --release --target x86_64-unknown-linux-gnu)
14rm -rf stm32-metapac
15mv stm32-metapac-gen/out stm32-metapac
16
10cargo batch \ 17cargo batch \
11 --- build --release --manifest-path embassy/Cargo.toml --target thumbv7em-none-eabi \ 18 --- build --release --manifest-path embassy/Cargo.toml --target thumbv7em-none-eabi \
12 --- build --release --manifest-path embassy/Cargo.toml --target thumbv7em-none-eabi --features log,executor-agnostic \ 19 --- build --release --manifest-path embassy/Cargo.toml --target thumbv7em-none-eabi --features log,executor-agnostic \