diff options
| author | Dario Nieuwenhuis <[email protected]> | 2021-02-03 04:30:20 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2021-02-03 04:30:20 +0100 |
| commit | c8a79c151ac0a4bd5a10ba47e0b487bb26110347 (patch) | |
| tree | a50a21ed716c9fa8011639b128d4b849522cd757 | |
| parent | 4192e526298eb02c32727c765ae6d7ad4f933e2b (diff) | |
Test embassy-std builds in CI
| -rw-r--r-- | Cargo.toml | 5 | ||||
| -rwxr-xr-x | test-build.sh | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml index 3e036b610..eab6402aa 100644 --- a/Cargo.toml +++ b/Cargo.toml | |||
| @@ -9,8 +9,11 @@ members = [ | |||
| 9 | "embassy-macros", | 9 | "embassy-macros", |
| 10 | ] | 10 | ] |
| 11 | 11 | ||
| 12 | # embassy-std enables std-only features. Since Cargo resolves all features | ||
| 13 | # for all crates in the workspace together, including it would result in | ||
| 14 | # incompatible features enabled in embassy. | ||
| 12 | exclude = [ | 15 | exclude = [ |
| 13 | "third_party" | 16 | "embassy-std" |
| 14 | ] | 17 | ] |
| 15 | 18 | ||
| 16 | [profile.dev] | 19 | [profile.dev] |
diff --git a/test-build.sh b/test-build.sh index 92945457b..8af5f843c 100755 --- a/test-build.sh +++ b/test-build.sh | |||
| @@ -3,7 +3,8 @@ | |||
| 3 | set -euxo pipefail | 3 | set -euxo pipefail |
| 4 | 4 | ||
| 5 | # embassy std | 5 | # embassy std |
| 6 | #(cd embassy; cargo build --features log,std) | 6 | (cd embassy; cargo build --features log,std) |
| 7 | (cd embassy-std; cargo build) | ||
| 7 | 8 | ||
| 8 | # embassy embedded | 9 | # embassy embedded |
| 9 | (cd embassy; cargo build --target thumbv7em-none-eabi) | 10 | (cd embassy; cargo build --target thumbv7em-none-eabi) |
