embassy/ci.sh

14 lines
337 B
Bash
Raw Normal View History

2021-02-03 05:09:37 +01:00
#!/bin/bash
set -euxo pipefail
2021-02-03 05:15:13 +01:00
# build for std
(cd embassy-net; cargo build --features log)
2021-02-03 05:09:37 +01:00
2021-02-03 05:15:13 +01:00
# build for embedded
(cd embassy-net; cargo build --target thumbv7em-none-eabi --features log)
2021-03-02 21:20:00 +01:00
(cd embassy-net; cargo build --target thumbv7em-none-eabi --features defmt,smoltcp/defmt)
2021-02-03 05:09:37 +01:00
2021-02-03 05:15:13 +01:00
# build examples
(cd embassy-net-examples; cargo build)