embassy/.github/ci/test.sh

30 lines
1.4 KiB
Bash
Raw Normal View History

2023-05-29 17:46:46 +00:00
#!/bin/bash
## on push branch~=gh-readonly-queue/main/.*
## on pull_request
set -euo pipefail
2023-12-14 15:30:45 +00:00
export RUSTUP_HOME=/ci/cache/rustup
export CARGO_HOME=/ci/cache/cargo
export CARGO_TARGET_DIR=/ci/cache/target
2024-04-11 19:47:31 +00:00
cargo test --manifest-path ./embassy-sync/Cargo.toml
cargo test --manifest-path ./embassy-embedded-hal/Cargo.toml
cargo test --manifest-path ./embassy-hal-internal/Cargo.toml
cargo test --manifest-path ./embassy-time/Cargo.toml --features generic-queue,mock-driver
2024-01-11 16:17:36 +00:00
cargo test --manifest-path ./embassy-time-driver/Cargo.toml
2023-05-29 17:46:46 +00:00
2024-01-11 17:55:59 +00:00
cargo test --manifest-path ./embassy-boot/Cargo.toml
cargo test --manifest-path ./embassy-boot/Cargo.toml --features ed25519-dalek
cargo test --manifest-path ./embassy-boot/Cargo.toml --features ed25519-salty
2023-05-29 17:46:46 +00:00
cargo test --manifest-path ./embassy-nrf/Cargo.toml --no-default-features --features nrf52840,time-driver-rtc1,gpiote
2023-05-29 19:30:28 +00:00
cargo test --manifest-path ./embassy-rp/Cargo.toml --no-default-features --features time-driver
2023-05-29 17:46:46 +00:00
cargo test --manifest-path ./embassy-stm32/Cargo.toml --no-default-features --features stm32f429vg,exti,time-driver-any,exti
cargo test --manifest-path ./embassy-stm32/Cargo.toml --no-default-features --features stm32f732ze,exti,time-driver-any,exti
cargo test --manifest-path ./embassy-stm32/Cargo.toml --no-default-features --features stm32f769ni,exti,time-driver-any,exti
cargo test --manifest-path ./embassy-net-adin1110/Cargo.toml