Skip to content

Commit

Permalink
Merge pull request #150 from embassy-rs/ci-check-features
Browse files Browse the repository at this point in the history
Fix build without GATT, fix CI to check it.
  • Loading branch information
lulf authored Oct 25, 2024
2 parents 51d2b95 + 2f51f99 commit 3a9d3c1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
**/target
**/target_ci
Cargo.lock
12 changes: 7 additions & 5 deletions ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,17 @@ if [[ -z "${CARGO_TARGET_DIR}" ]]; then
fi

cargo batch \
--- build --release --manifest-path host/Cargo.toml --no-default-features --features peripheral \
--- build --release --manifest-path host/Cargo.toml --no-default-features --features central \
--- build --release --manifest-path host/Cargo.toml --no-default-features --features central,peripheral \
--- build --release --manifest-path host/Cargo.toml --no-default-features --features central,peripheral,defmt \
--- build --release --manifest-path host/Cargo.toml --no-default-features --features gatt,peripheral \
--- build --release --manifest-path host/Cargo.toml --no-default-features --features gatt,central \
--- build --release --manifest-path host/Cargo.toml --no-default-features --features gatt,peripheral,central,scan \
--- build --release --manifest-path examples/nrf-sdc/Cargo.toml --target thumbv7em-none-eabihf --features nrf52840 \
--- build --release --manifest-path examples/nrf-sdc/Cargo.toml --target thumbv7em-none-eabihf --features nrf52832 \
--- build --release --manifest-path examples/esp32/Cargo.toml --target riscv32imc-unknown-none-elf \
--- build --release --manifest-path examples/serial-hci/Cargo.toml \
--- build --release --manifest-path host/Cargo.toml --features peripheral \
--- build --release --manifest-path host/Cargo.toml --features central \
--- build --release --manifest-path host/Cargo.toml --features gatt,peripheral \
--- build --release --manifest-path host/Cargo.toml --features gatt,central \
--- build --release --manifest-path host/Cargo.toml --features gatt,peripheral,central,scan \
--- build --release --manifest-path examples/rp-pico-w//Cargo.toml --target thumbv6m-none-eabi --features skip-cyw43-firmware
# --- build --release --manifest-path examples/apache-nimble/Cargo.toml --target thumbv7em-none-eabihf

Expand Down
1 change: 1 addition & 0 deletions host/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ pub use packet_pool::Qos as PacketQos;

pub mod advertise;
pub mod connection;
#[cfg(feature = "gatt")]
pub mod gap;
pub mod l2cap;
pub mod scan;
Expand Down

0 comments on commit 3a9d3c1

Please sign in to comment.