embassy/test-build.sh
Dario Nieuwenhuis 10cd5bddc9 Add CI
2021-02-03 05:15:13 +01:00

14 lines
323 B
Bash
Executable File

#!/bin/bash
set -euxo pipefail
# build for std
(cd embassy-net; cargo build --features log)
# build for embedded
(cd embassy-net; cargo build --target thumbv7em-none-eabi --features log)
(cd embassy-net; cargo build --target thumbv7em-none-eabi --features defmt)
# build examples
(cd embassy-net-examples; cargo build)