diff options
| author | Dario Nieuwenhuis <[email protected]> | 2021-02-03 05:09:37 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2021-02-03 05:09:37 +0100 |
| commit | cb5931d583d283dda3a1b5ed2014c086bb8f98ae (patch) | |
| tree | 19a669238e0d562bf74616fe38485388ec40b02a /test-build.sh | |
:rainbow:
Diffstat (limited to 'test-build.sh')
| -rwxr-xr-x | test-build.sh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/test-build.sh b/test-build.sh new file mode 100755 index 000000000..f67cc5b2b --- /dev/null +++ b/test-build.sh | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | #!/bin/bash | ||
| 2 | |||
| 3 | set -euxo pipefail | ||
| 4 | |||
| 5 | # embassy std | ||
| 6 | (cd embassy; cargo build --features log,std) | ||
| 7 | |||
| 8 | # embassy embedded | ||
| 9 | (cd embassy; cargo build --target thumbv7em-none-eabi) | ||
| 10 | (cd embassy; cargo build --target thumbv7em-none-eabi --features log) | ||
| 11 | (cd embassy; cargo build --target thumbv7em-none-eabi --features defmt) | ||
| 12 | |||
| 13 | # embassy-nrf | ||
| 14 | |||
| 15 | (cd embassy-nrf-examples; cargo build --target thumbv7em-none-eabi --bins) | ||
| 16 | |||
| 17 | (cd embassy-nrf; cargo build --target thumbv7em-none-eabi --features 52810) | ||
| 18 | #(cd embassy-nrf; cargo build --target thumbv7em-none-eabi --features 52811) # nrf52811-hal doesn't exist yet | ||
| 19 | (cd embassy-nrf; cargo build --target thumbv7em-none-eabi --features 52832) | ||
| 20 | (cd embassy-nrf; cargo build --target thumbv7em-none-eabi --features 52833) | ||
| 21 | (cd embassy-nrf; cargo build --target thumbv7em-none-eabi --features 52840) | ||
| 22 | |||
| 23 | (cd embassy-nrf; cargo build --target thumbv7em-none-eabi --features 52840,log) | ||
| 24 | (cd embassy-nrf; cargo build --target thumbv7em-none-eabi --features 52840,defmt) | ||
| 25 | |||
