2023-05-29 19:46:46 +02:00
|
|
|
#!/bin/bash
|
|
|
|
## on push branch~=gh-readonly-queue/main/.*
|
|
|
|
## on pull_request
|
|
|
|
|
|
|
|
set -euo pipefail
|
|
|
|
|
|
|
|
export RUSTUP_HOME=/ci/cache/rustup
|
|
|
|
export CARGO_HOME=/ci/cache/cargo
|
|
|
|
export CARGO_TARGET_DIR=/ci/cache/target
|
|
|
|
|
2023-09-14 18:04:43 +02:00
|
|
|
# needed for "dumb HTTP" transport support
|
|
|
|
# used when pointing stm32-metapac to a CI-built one.
|
|
|
|
export CARGO_NET_GIT_FETCH_WITH_CLI=true
|
|
|
|
|
2023-05-29 19:46:46 +02:00
|
|
|
hashtime restore /ci/cache/filetime.json || true
|
|
|
|
hashtime save /ci/cache/filetime.json
|
|
|
|
|
|
|
|
cargo test --manifest-path ./embassy-sync/Cargo.toml
|
|
|
|
cargo test --manifest-path ./embassy-embedded-hal/Cargo.toml
|
2023-07-28 13:23:22 +02:00
|
|
|
cargo test --manifest-path ./embassy-hal-internal/Cargo.toml
|
2023-05-29 19:46:46 +02:00
|
|
|
cargo test --manifest-path ./embassy-time/Cargo.toml --features generic-queue
|
|
|
|
|
|
|
|
cargo test --manifest-path ./embassy-boot/boot/Cargo.toml
|
|
|
|
cargo test --manifest-path ./embassy-boot/boot/Cargo.toml --features nightly
|
|
|
|
cargo test --manifest-path ./embassy-boot/boot/Cargo.toml --features nightly,ed25519-dalek
|
|
|
|
cargo test --manifest-path ./embassy-boot/boot/Cargo.toml --features nightly,ed25519-salty
|
|
|
|
|
2023-05-29 21:30:28 +02:00
|
|
|
cargo test --manifest-path ./embassy-nrf/Cargo.toml --no-default-features --features nightly,nrf52840,time-driver-rtc1,gpiote
|
|
|
|
|
|
|
|
cargo test --manifest-path ./embassy-rp/Cargo.toml --no-default-features --features nightly,time-driver
|
2023-05-29 19:46:46 +02:00
|
|
|
|
|
|
|
cargo test --manifest-path ./embassy-stm32/Cargo.toml --no-default-features --features nightly,stm32f429vg,exti,time-driver-any,exti
|
|
|
|
cargo test --manifest-path ./embassy-stm32/Cargo.toml --no-default-features --features nightly,stm32f732ze,exti,time-driver-any,exti
|
|
|
|
cargo test --manifest-path ./embassy-stm32/Cargo.toml --no-default-features --features nightly,stm32f769ni,exti,time-driver-any,exti
|
2023-08-20 23:26:22 +02:00
|
|
|
|
|
|
|
cargo test --manifest-path ./embassy-net-adin1110/Cargo.toml
|