Uncomment accidentally commented ci stuff.
This commit is contained in:
parent
dd32358d6b
commit
693690cb5a
1 changed files with 4 additions and 4 deletions
8
ci.sh
8
ci.sh
|
@ -6,14 +6,14 @@ export CARGO_TARGET_DIR=$PWD/target_ci
|
|||
export RUSTFLAGS=-Dwarnings
|
||||
export DEFMT_LOG=trace
|
||||
|
||||
#find . -name '*.rs' -not -path '*target*' -not -path '*stm32-metapac-gen/out/*' | xargs rustfmt --check --skip-children --unstable-features --edition 2018
|
||||
find . -name '*.rs' -not -path '*target*' -not -path '*stm32-metapac-gen/out/*' | xargs rustfmt --check --skip-children --unstable-features --edition 2018
|
||||
|
||||
# Generate stm32-metapac
|
||||
# for some reason Cargo stomps the cache if we don't specify --target.
|
||||
# This happens with vanilla Cargo, not just cargo-batch. Bug?
|
||||
#(cd stm32-metapac-gen; cargo run --release --target x86_64-unknown-linux-gnu)
|
||||
#rm -rf stm32-metapac
|
||||
#mv stm32-metapac-gen/out stm32-metapac
|
||||
(cd stm32-metapac-gen; cargo run --release --target x86_64-unknown-linux-gnu)
|
||||
rm -rf stm32-metapac
|
||||
mv stm32-metapac-gen/out stm32-metapac
|
||||
|
||||
cargo batch \
|
||||
--- build --release --manifest-path embassy/Cargo.toml --target thumbv7em-none-eabi \
|
||||
|
|
Loading…
Reference in a new issue