embassy/ci.sh
Dario Nieuwenhuis ed601d439a Add CI.
2023-03-27 03:33:20 +02:00

18 lines
546 B
Bash
Executable file

#!/bin/bash
set -euxo pipefail
# build examples
#==================
(cd examples/rpi-pico-w; WIFI_NETWORK=foo WIFI_PASSWORD=bar cargo build --release)
# build with log/defmt combinations
#=====================================
cargo build --target thumbv6m-none-eabi --features ''
cargo build --target thumbv6m-none-eabi --features 'log'
cargo build --target thumbv6m-none-eabi --features 'defmt'
cargo build --target thumbv6m-none-eabi --features 'log,firmware-logs'
cargo build --target thumbv6m-none-eabi --features 'defmt,firmware-logs'