From d4f2c6cf00b481f5d346bc3a1cd820883c8add23 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Tue, 2 Mar 2021 21:14:58 +0100 Subject: Remove cargo namespaced-features --- ci.sh | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 ci.sh (limited to 'ci.sh') diff --git a/ci.sh b/ci.sh new file mode 100755 index 000000000..d556fb313 --- /dev/null +++ b/ci.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -euxo pipefail + +# embassy std +(cd embassy-std-examples; cargo build) + +# embassy embedded +(cd embassy; cargo build --target thumbv7em-none-eabi) +(cd embassy; cargo build --target thumbv7em-none-eabi --features log) +(cd embassy; cargo build --target thumbv7em-none-eabi --features defmt) + +# embassy-nrf + +(cd embassy-nrf-examples; cargo build --target thumbv7em-none-eabi --bins) + +(cd embassy-nrf; cargo build --target thumbv7em-none-eabi --features 52810) +#(cd embassy-nrf; cargo build --target thumbv7em-none-eabi --features 52811) # nrf52811-hal doesn't exist yet +(cd embassy-nrf; cargo build --target thumbv7em-none-eabi --features 52832) +(cd embassy-nrf; cargo build --target thumbv7em-none-eabi --features 52833) +(cd embassy-nrf; cargo build --target thumbv7em-none-eabi --features 52840) + +(cd embassy-nrf; cargo build --target thumbv7em-none-eabi --features 52840,log) +(cd embassy-nrf; cargo build --target thumbv7em-none-eabi --features 52840,defmt) + +# embassy-stm32f4 + +(cd embassy-stm32f4-examples; cargo build --target thumbv7em-none-eabi --bins) +(cd embassy-stm32f4; cargo build --target thumbv7em-none-eabi --features stm32f405) +(cd embassy-stm32f4; cargo build --target thumbv7em-none-eabi --features stm32f405,defmt) -- cgit