diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-12-14 16:30:45 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2023-12-14 16:30:45 +0100 |
| commit | e579095a9075c8a3efdb956877b533f47ef1ec42 (patch) | |
| tree | 3c91ef0ddae3ad4ea7fe59240dcfb2c2907261ad /.github | |
| parent | 7b9b22d7f83b44d509be31ab51fa4385d73512f6 (diff) | |
ci: fix test job not caching anything.
Diffstat (limited to '.github')
| -rwxr-xr-x | .github/ci/build-stable.sh | 2 | ||||
| -rwxr-xr-x | .github/ci/build.sh | 2 | ||||
| -rwxr-xr-x | .github/ci/crlf.sh | 2 | ||||
| -rwxr-xr-x | .github/ci/test.sh | 4 |
4 files changed, 7 insertions, 3 deletions
diff --git a/.github/ci/build-stable.sh b/.github/ci/build-stable.sh index 9160a2be2..e0bd77867 100755 --- a/.github/ci/build-stable.sh +++ b/.github/ci/build-stable.sh | |||
| @@ -27,4 +27,4 @@ sed -i 's/channel.*/channel = "beta"/g' rust-toolchain.toml | |||
| 27 | 27 | ||
| 28 | # Save lockfiles | 28 | # Save lockfiles |
| 29 | echo Saving lockfiles... | 29 | echo Saving lockfiles... |
| 30 | find . -type f -name Cargo.lock -exec tar -cf /ci/cache/lockfiles.tar '{}' \+ \ No newline at end of file | 30 | find . -type f -name Cargo.lock -exec tar -cf /ci/cache/lockfiles.tar '{}' \+ |
diff --git a/.github/ci/build.sh b/.github/ci/build.sh index e7a6c0d86..77d2b3cab 100755 --- a/.github/ci/build.sh +++ b/.github/ci/build.sh | |||
| @@ -31,4 +31,4 @@ hashtime save /ci/cache/filetime.json | |||
| 31 | 31 | ||
| 32 | # Save lockfiles | 32 | # Save lockfiles |
| 33 | echo Saving lockfiles... | 33 | echo Saving lockfiles... |
| 34 | find . -type f -name Cargo.lock -exec tar -cf /ci/cache/lockfiles.tar '{}' \+ \ No newline at end of file | 34 | find . -type f -name Cargo.lock -exec tar -cf /ci/cache/lockfiles.tar '{}' \+ |
diff --git a/.github/ci/crlf.sh b/.github/ci/crlf.sh index 457510407..69838ce88 100755 --- a/.github/ci/crlf.sh +++ b/.github/ci/crlf.sh | |||
| @@ -14,4 +14,4 @@ else | |||
| 14 | echo -e "ERROR: Found ${NR_FILES} files with CRLF endings." | 14 | echo -e "ERROR: Found ${NR_FILES} files with CRLF endings." |
| 15 | echo "$FILES_WITH_CRLF" | 15 | echo "$FILES_WITH_CRLF" |
| 16 | exit "$NR_FILES" | 16 | exit "$NR_FILES" |
| 17 | fi \ No newline at end of file | 17 | fi |
diff --git a/.github/ci/test.sh b/.github/ci/test.sh index 1ee760d31..0ec65d2a1 100755 --- a/.github/ci/test.sh +++ b/.github/ci/test.sh | |||
| @@ -4,6 +4,10 @@ | |||
| 4 | 4 | ||
| 5 | set -euo pipefail | 5 | set -euo pipefail |
| 6 | 6 | ||
| 7 | export RUSTUP_HOME=/ci/cache/rustup | ||
| 8 | export CARGO_HOME=/ci/cache/cargo | ||
| 9 | export CARGO_TARGET_DIR=/ci/cache/target | ||
| 10 | |||
| 7 | MIRIFLAGS=-Zmiri-ignore-leaks cargo miri test --manifest-path ./embassy-executor/Cargo.toml | 11 | MIRIFLAGS=-Zmiri-ignore-leaks cargo miri test --manifest-path ./embassy-executor/Cargo.toml |
| 8 | MIRIFLAGS=-Zmiri-ignore-leaks cargo miri test --manifest-path ./embassy-executor/Cargo.toml --features nightly | 12 | MIRIFLAGS=-Zmiri-ignore-leaks cargo miri test --manifest-path ./embassy-executor/Cargo.toml --features nightly |
| 9 | 13 | ||
