aboutsummaryrefslogtreecommitdiff
path: root/.github/ci/test.sh
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2023-05-29 18:09:05 +0000
committerGitHub <[email protected]>2023-05-29 18:09:05 +0000
commit642eb1400ba5508321d7aed438dc5033a652e2fb (patch)
tree82e888ad5ea0af46fd33188fdf923e3d2ecd0a1a /.github/ci/test.sh
parentcc23129456832ce4d65ce0b8088a011395fca4fb (diff)
parent421ee4dfbfbbdc007265498d4f529687c16d89af (diff)
Merge pull request #1503 from embassy-rs/ci-fixes
ci: add stable build, add tests.
Diffstat (limited to '.github/ci/test.sh')
-rwxr-xr-x.github/ci/test.sh28
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/ci/test.sh b/.github/ci/test.sh
new file mode 100755
index 000000000..a7140cfd9
--- /dev/null
+++ b/.github/ci/test.sh
@@ -0,0 +1,28 @@
1#!/bin/bash
2## on push branch~=gh-readonly-queue/main/.*
3## on pull_request
4
5set -euo pipefail
6
7export RUSTUP_HOME=/ci/cache/rustup
8export CARGO_HOME=/ci/cache/cargo
9export CARGO_TARGET_DIR=/ci/cache/target
10
11hashtime restore /ci/cache/filetime.json || true
12hashtime save /ci/cache/filetime.json
13
14cargo test --manifest-path ./embassy-sync/Cargo.toml
15cargo test --manifest-path ./embassy-embedded-hal/Cargo.toml
16cargo test --manifest-path ./embassy-hal-common/Cargo.toml
17cargo test --manifest-path ./embassy-time/Cargo.toml --features generic-queue
18
19cargo test --manifest-path ./embassy-boot/boot/Cargo.toml
20cargo test --manifest-path ./embassy-boot/boot/Cargo.toml --features nightly
21cargo test --manifest-path ./embassy-boot/boot/Cargo.toml --features nightly,ed25519-dalek
22cargo test --manifest-path ./embassy-boot/boot/Cargo.toml --features nightly,ed25519-salty
23
24#cargo test --manifest-path ./embassy-nrf/Cargo.toml --no-default-features --features nightly,nrf52840,time-driver-rtc1 ## broken doctests
25
26cargo test --manifest-path ./embassy-stm32/Cargo.toml --no-default-features --features nightly,stm32f429vg,exti,time-driver-any,exti
27cargo test --manifest-path ./embassy-stm32/Cargo.toml --no-default-features --features nightly,stm32f732ze,exti,time-driver-any,exti
28cargo test --manifest-path ./embassy-stm32/Cargo.toml --no-default-features --features nightly,stm32f769ni,exti,time-driver-any,exti