diff options
| author | Dario Nieuwenhuis <[email protected]> | 2021-12-07 00:27:37 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2021-12-07 00:27:37 +0100 |
| commit | 693690cb5abf5855d190e58142e2b5f7dd63f2bb (patch) | |
| tree | 8ac2ddc59f4f7da7f82c36405f5a4e9168bc3f75 /ci.sh | |
| parent | dd32358d6bb24895c833bc4c34fd96e7632e43a9 (diff) | |
Uncomment accidentally commented ci stuff.
Diffstat (limited to 'ci.sh')
| -rwxr-xr-x | ci.sh | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -6,14 +6,14 @@ export CARGO_TARGET_DIR=$PWD/target_ci | |||
| 6 | export RUSTFLAGS=-Dwarnings | 6 | export RUSTFLAGS=-Dwarnings |
| 7 | export DEFMT_LOG=trace | 7 | export DEFMT_LOG=trace |
| 8 | 8 | ||
| 9 | #find . -name '*.rs' -not -path '*target*' -not -path '*stm32-metapac-gen/out/*' | xargs rustfmt --check --skip-children --unstable-features --edition 2018 | 9 | find . -name '*.rs' -not -path '*target*' -not -path '*stm32-metapac-gen/out/*' | xargs rustfmt --check --skip-children --unstable-features --edition 2018 |
| 10 | 10 | ||
| 11 | # Generate stm32-metapac | 11 | # Generate stm32-metapac |
| 12 | # for some reason Cargo stomps the cache if we don't specify --target. | 12 | # for some reason Cargo stomps the cache if we don't specify --target. |
| 13 | # This happens with vanilla Cargo, not just cargo-batch. Bug? | 13 | # This happens with vanilla Cargo, not just cargo-batch. Bug? |
| 14 | #(cd stm32-metapac-gen; cargo run --release --target x86_64-unknown-linux-gnu) | 14 | (cd stm32-metapac-gen; cargo run --release --target x86_64-unknown-linux-gnu) |
| 15 | #rm -rf stm32-metapac | 15 | rm -rf stm32-metapac |
| 16 | #mv stm32-metapac-gen/out stm32-metapac | 16 | mv stm32-metapac-gen/out stm32-metapac |
| 17 | 17 | ||
| 18 | cargo batch \ | 18 | cargo batch \ |
| 19 | --- build --release --manifest-path embassy/Cargo.toml --target thumbv7em-none-eabi \ | 19 | --- build --release --manifest-path embassy/Cargo.toml --target thumbv7em-none-eabi \ |
