Test embassy-std builds in CI

This commit is contained in:
Dario Nieuwenhuis 2021-02-03 04:30:20 +01:00
parent 4192e52629
commit c8a79c151a
2 changed files with 6 additions and 2 deletions

View File

@ -9,8 +9,11 @@ members = [
"embassy-macros", "embassy-macros",
] ]
# embassy-std enables std-only features. Since Cargo resolves all features
# for all crates in the workspace together, including it would result in
# incompatible features enabled in embassy.
exclude = [ exclude = [
"third_party" "embassy-std"
] ]
[profile.dev] [profile.dev]

View File

@ -3,7 +3,8 @@
set -euxo pipefail set -euxo pipefail
# embassy std # embassy std
#(cd embassy; cargo build --features log,std) (cd embassy; cargo build --features log,std)
(cd embassy-std; cargo build)
# embassy embedded # embassy embedded
(cd embassy; cargo build --target thumbv7em-none-eabi) (cd embassy; cargo build --target thumbv7em-none-eabi)