diff options
Diffstat (limited to 'ci.sh')
| -rwxr-xr-x | ci.sh | 16 |
1 files changed, 16 insertions, 0 deletions
| @@ -0,0 +1,16 @@ | |||
| 1 | #!/bin/bash | ||
| 2 | |||
| 3 | set -euxo pipefail | ||
| 4 | |||
| 5 | # build for std | ||
| 6 | (cd embassy-net; cargo build --no-default-features --features log,medium-ethernet,tcp) | ||
| 7 | (cd embassy-net; cargo build --no-default-features --features log,medium-ethernet,tcp,dhcpv4) | ||
| 8 | (cd embassy-net; cargo build --no-default-features --features log,medium-ip,tcp) | ||
| 9 | (cd embassy-net; cargo build --no-default-features --features log,medium-ethernet,medium-ip,tcp,dhcpv4) | ||
| 10 | |||
| 11 | # build for embedded | ||
| 12 | (cd embassy-net; cargo build --target thumbv7em-none-eabi --no-default-features --features log,medium-ethernet,medium-ip,tcp,dhcpv4) | ||
| 13 | (cd embassy-net; cargo build --target thumbv7em-none-eabi --no-default-features --features defmt,smoltcp/defmt,medium-ethernet,medium-ip,tcp,dhcpv4) | ||
| 14 | |||
| 15 | # build examples | ||
| 16 | (cd embassy-net-examples; cargo build) | ||
