aboutsummaryrefslogtreecommitdiff
path: root/ci.sh
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2021-03-02 21:14:58 +0100
committerDario Nieuwenhuis <[email protected]>2021-03-02 21:15:12 +0100
commitd4f2c6cf00b481f5d346bc3a1cd820883c8add23 (patch)
treebfe21da055e7d4000e199cd3f630c2045a6d4944 /ci.sh
parent7991b05e4cce4f52873f0bb9620ef6d37a46e2e9 (diff)
Remove cargo namespaced-features
Diffstat (limited to 'ci.sh')
-rwxr-xr-xci.sh30
1 files changed, 30 insertions, 0 deletions
diff --git a/ci.sh b/ci.sh
new file mode 100755
index 000000000..d556fb313
--- /dev/null
+++ b/ci.sh
@@ -0,0 +1,30 @@
1#!/bin/bash
2
3set -euxo pipefail
4
5# embassy std
6(cd embassy-std-examples; cargo build)
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
26# embassy-stm32f4
27
28(cd embassy-stm32f4-examples; cargo build --target thumbv7em-none-eabi --bins)
29(cd embassy-stm32f4; cargo build --target thumbv7em-none-eabi --features stm32f405)
30(cd embassy-stm32f4; cargo build --target thumbv7em-none-eabi --features stm32f405,defmt)