diff options
| author | Dario Nieuwenhuis <[email protected]> | 2020-11-01 17:17:24 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2020-11-01 17:17:24 +0100 |
| commit | 5e8608c7a5b1e4e92f1fb650ea0ef47e5a6df563 (patch) | |
| tree | f731a0329d92d8fae4168957f8e90716b58ad00b /test-build.sh | |
| parent | 2c13e251849fd3e3cf06e2d5363c311ac880c77d (diff) | |
Make defmt optional with new `anyfmt` crate
Diffstat (limited to 'test-build.sh')
| -rwxr-xr-x | test-build.sh | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/test-build.sh b/test-build.sh index 8c93484d2..0b905e2cc 100755 --- a/test-build.sh +++ b/test-build.sh | |||
| @@ -2,13 +2,19 @@ | |||
| 2 | 2 | ||
| 3 | set -euxo pipefail | 3 | set -euxo pipefail |
| 4 | 4 | ||
| 5 | cargo build --target thumbv7em-none-eabihf -p embassy-examples --bins | 5 | # examples |
| 6 | cargo build --target thumbv7em-none-eabihf -p embassy | 6 | (cd examples; cargo build --target thumbv7em-none-eabihf --bins) |
| 7 | 7 | ||
| 8 | # Build with all feature combinations | 8 | # embassy |
| 9 | cd embassy-nrf | 9 | (cd embassy; cargo build --target thumbv7em-none-eabihf) |
| 10 | cargo build --target thumbv7em-none-eabihf -p embassy-nrf --features 52810 | 10 | (cd embassy; cargo build --target thumbv7em-none-eabihf --features defmt,anyfmt/defmt) |
| 11 | #cargo build --target thumbv7em-none-eabihf -p embassy-nrf --features 52811 # nrf52811-hal doesn't exist yet | 11 | (cd embassy; cargo build --target thumbv7em-none-eabihf --features anyfmt/log) |
| 12 | cargo build --target thumbv7em-none-eabihf -p embassy-nrf --features 52832 | 12 | |
| 13 | cargo build --target thumbv7em-none-eabihf -p embassy-nrf --features 52833 | 13 | # embassy-nrf |
| 14 | cargo build --target thumbv7em-none-eabihf -p embassy-nrf --features 52840 | 14 | (cd embassy-nrf; cargo build --target thumbv7em-none-eabihf --features 52810) |
| 15 | #(cd embassy-nrf; cargo build --target thumbv7em-none-eabihf --features 52811) # nrf52811-hal doesn't exist yet | ||
| 16 | (cd embassy-nrf; cargo build --target thumbv7em-none-eabihf --features 52832) | ||
| 17 | (cd embassy-nrf; cargo build --target thumbv7em-none-eabihf --features 52833) | ||
| 18 | (cd embassy-nrf; cargo build --target thumbv7em-none-eabihf --features 52840) | ||
| 19 | |||
| 20 | (cd embassy-nrf; cargo build --target thumbv7em-none-eabihf --features 52840,defmt,embassy/defmt,anyfmt/defmt) | ||
