aboutsummaryrefslogtreecommitdiff
path: root/test-build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test-build.sh')
-rwxr-xr-xtest-build.sh25
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
3set -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