aboutsummaryrefslogtreecommitdiff
path: root/.github/ci
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2023-11-29 17:23:48 +0100
committerDario Nieuwenhuis <[email protected]>2023-11-29 17:26:33 +0100
commitc6989dfbca51787146f50270c671af9db434f577 (patch)
tree5974a8ec41c108d5208e4f68027b918d424a2046 /.github/ci
parent384bad7bfaa1f2415baf2cd3b69ebf36dc0a02d7 (diff)
Remove nightly and unstable-traits features in preparation for 1.75.
Diffstat (limited to '.github/ci')
-rwxr-xr-x.github/ci/build-stable.sh2
-rwxr-xr-x.github/ci/test.sh26
2 files changed, 8 insertions, 20 deletions
diff --git a/.github/ci/build-stable.sh b/.github/ci/build-stable.sh
index ffaebeb35..9160a2be2 100755
--- a/.github/ci/build-stable.sh
+++ b/.github/ci/build-stable.sh
@@ -21,7 +21,7 @@ fi
21hashtime restore /ci/cache/filetime.json || true 21hashtime restore /ci/cache/filetime.json || true
22hashtime save /ci/cache/filetime.json 22hashtime save /ci/cache/filetime.json
23 23
24sed -i 's/channel.*/channel = "stable"/g' rust-toolchain.toml 24sed -i 's/channel.*/channel = "beta"/g' rust-toolchain.toml
25 25
26./ci_stable.sh 26./ci_stable.sh
27 27
diff --git a/.github/ci/test.sh b/.github/ci/test.sh
index dfc2b08ce..1ee760d31 100755
--- a/.github/ci/test.sh
+++ b/.github/ci/test.sh
@@ -4,17 +4,6 @@
4 4
5set -euo pipefail 5set -euo pipefail
6 6
7export RUSTUP_HOME=/ci/cache/rustup
8export CARGO_HOME=/ci/cache/cargo
9export CARGO_TARGET_DIR=/ci/cache/target
10
11# needed for "dumb HTTP" transport support
12# used when pointing stm32-metapac to a CI-built one.
13export CARGO_NET_GIT_FETCH_WITH_CLI=true
14
15hashtime restore /ci/cache/filetime.json || true
16hashtime save /ci/cache/filetime.json
17
18MIRIFLAGS=-Zmiri-ignore-leaks cargo miri test --manifest-path ./embassy-executor/Cargo.toml 7MIRIFLAGS=-Zmiri-ignore-leaks cargo miri test --manifest-path ./embassy-executor/Cargo.toml
19MIRIFLAGS=-Zmiri-ignore-leaks cargo miri test --manifest-path ./embassy-executor/Cargo.toml --features nightly 8MIRIFLAGS=-Zmiri-ignore-leaks cargo miri test --manifest-path ./embassy-executor/Cargo.toml --features nightly
20 9
@@ -24,16 +13,15 @@ cargo test --manifest-path ./embassy-hal-internal/Cargo.toml
24cargo test --manifest-path ./embassy-time/Cargo.toml --features generic-queue 13cargo test --manifest-path ./embassy-time/Cargo.toml --features generic-queue
25 14
26cargo test --manifest-path ./embassy-boot/boot/Cargo.toml 15cargo test --manifest-path ./embassy-boot/boot/Cargo.toml
27cargo test --manifest-path ./embassy-boot/boot/Cargo.toml --features nightly 16cargo test --manifest-path ./embassy-boot/boot/Cargo.toml --features ed25519-dalek
28cargo test --manifest-path ./embassy-boot/boot/Cargo.toml --features nightly,ed25519-dalek 17cargo test --manifest-path ./embassy-boot/boot/Cargo.toml --features ed25519-salty
29cargo test --manifest-path ./embassy-boot/boot/Cargo.toml --features nightly,ed25519-salty
30 18
31cargo test --manifest-path ./embassy-nrf/Cargo.toml --no-default-features --features nightly,nrf52840,time-driver-rtc1,gpiote 19cargo test --manifest-path ./embassy-nrf/Cargo.toml --no-default-features --features nrf52840,time-driver-rtc1,gpiote
32 20
33cargo test --manifest-path ./embassy-rp/Cargo.toml --no-default-features --features nightly,time-driver 21cargo test --manifest-path ./embassy-rp/Cargo.toml --no-default-features --features time-driver
34 22
35cargo test --manifest-path ./embassy-stm32/Cargo.toml --no-default-features --features nightly,stm32f429vg,exti,time-driver-any,exti 23cargo test --manifest-path ./embassy-stm32/Cargo.toml --no-default-features --features stm32f429vg,exti,time-driver-any,exti
36cargo test --manifest-path ./embassy-stm32/Cargo.toml --no-default-features --features nightly,stm32f732ze,exti,time-driver-any,exti 24cargo test --manifest-path ./embassy-stm32/Cargo.toml --no-default-features --features stm32f732ze,exti,time-driver-any,exti
37cargo test --manifest-path ./embassy-stm32/Cargo.toml --no-default-features --features nightly,stm32f769ni,exti,time-driver-any,exti 25cargo test --manifest-path ./embassy-stm32/Cargo.toml --no-default-features --features stm32f769ni,exti,time-driver-any,exti
38 26
39cargo test --manifest-path ./embassy-net-adin1110/Cargo.toml 27cargo test --manifest-path ./embassy-net-adin1110/Cargo.toml