diff options
Diffstat (limited to '.github')
| -rwxr-xr-x | .github/ci/build-nightly.sh | 3 | ||||
| -rwxr-xr-x | .github/ci/build-xtensa.sh | 11 | ||||
| -rwxr-xr-x | .github/ci/build.sh | 3 |
3 files changed, 10 insertions, 7 deletions
diff --git a/.github/ci/build-nightly.sh b/.github/ci/build-nightly.sh index 95cb4100c..2d7c4db3f 100755 --- a/.github/ci/build-nightly.sh +++ b/.github/ci/build-nightly.sh | |||
| @@ -7,6 +7,7 @@ set -euo pipefail | |||
| 7 | export RUSTUP_HOME=/ci/cache/rustup | 7 | export RUSTUP_HOME=/ci/cache/rustup |
| 8 | export CARGO_HOME=/ci/cache/cargo | 8 | export CARGO_HOME=/ci/cache/cargo |
| 9 | export CARGO_TARGET_DIR=/ci/cache/target | 9 | export CARGO_TARGET_DIR=/ci/cache/target |
| 10 | export PATH=$CARGO_HOME/bin:$PATH | ||
| 10 | mv rust-toolchain-nightly.toml rust-toolchain.toml | 11 | mv rust-toolchain-nightly.toml rust-toolchain.toml |
| 11 | 12 | ||
| 12 | # needed for "dumb HTTP" transport support | 13 | # needed for "dumb HTTP" transport support |
| @@ -22,6 +23,8 @@ fi | |||
| 22 | hashtime restore /ci/cache/filetime.json || true | 23 | hashtime restore /ci/cache/filetime.json || true |
| 23 | hashtime save /ci/cache/filetime.json | 24 | hashtime save /ci/cache/filetime.json |
| 24 | 25 | ||
| 26 | cargo install --git https://github.com/embassy-rs/cargo-embassy-devtool --locked --rev 280829ad163f1444999468a57d28fb7c412babbe | ||
| 27 | |||
| 25 | ./ci-nightly.sh | 28 | ./ci-nightly.sh |
| 26 | 29 | ||
| 27 | # Save lockfiles | 30 | # Save lockfiles |
diff --git a/.github/ci/build-xtensa.sh b/.github/ci/build-xtensa.sh index 103575bc9..b6626639d 100755 --- a/.github/ci/build-xtensa.sh +++ b/.github/ci/build-xtensa.sh | |||
| @@ -7,13 +7,14 @@ set -euo pipefail | |||
| 7 | export RUSTUP_HOME=/ci/cache/rustup | 7 | export RUSTUP_HOME=/ci/cache/rustup |
| 8 | export CARGO_HOME=/ci/cache/cargo | 8 | export CARGO_HOME=/ci/cache/cargo |
| 9 | export CARGO_TARGET_DIR=/ci/cache/target | 9 | export CARGO_TARGET_DIR=/ci/cache/target |
| 10 | export PATH=$CARGO_HOME/bin:$PATH | ||
| 10 | 11 | ||
| 11 | # needed for "dumb HTTP" transport support | 12 | # needed for "dumb HTTP" transport support |
| 12 | # used when pointing stm32-metapac to a CI-built one. | 13 | # used when pointing stm32-metapac to a CI-built one. |
| 13 | export CARGO_NET_GIT_FETCH_WITH_CLI=true | 14 | export CARGO_NET_GIT_FETCH_WITH_CLI=true |
| 14 | 15 | ||
| 15 | cargo install espup | 16 | cargo install espup --locked |
| 16 | /ci/cache/cargo/bin/espup install --toolchain-version 1.84.0.0 | 17 | espup install --toolchain-version 1.88.0.0 |
| 17 | 18 | ||
| 18 | # Restore lockfiles | 19 | # Restore lockfiles |
| 19 | if [ -f /ci/cache/lockfiles.tar ]; then | 20 | if [ -f /ci/cache/lockfiles.tar ]; then |
| @@ -24,11 +25,7 @@ fi | |||
| 24 | hashtime restore /ci/cache/filetime.json || true | 25 | hashtime restore /ci/cache/filetime.json || true |
| 25 | hashtime save /ci/cache/filetime.json | 26 | hashtime save /ci/cache/filetime.json |
| 26 | 27 | ||
| 27 | mkdir .cargo | 28 | cargo install --git https://github.com/embassy-rs/cargo-embassy-devtool --locked --rev 280829ad163f1444999468a57d28fb7c412babbe |
| 28 | cat > .cargo/config.toml<< EOF | ||
| 29 | [unstable] | ||
| 30 | build-std = ["alloc", "core"] | ||
| 31 | EOF | ||
| 32 | 29 | ||
| 33 | ./ci-xtensa.sh | 30 | ./ci-xtensa.sh |
| 34 | 31 | ||
diff --git a/.github/ci/build.sh b/.github/ci/build.sh index 68a7c0c34..59bcefed6 100755 --- a/.github/ci/build.sh +++ b/.github/ci/build.sh | |||
| @@ -7,6 +7,7 @@ set -euo pipefail | |||
| 7 | export RUSTUP_HOME=/ci/cache/rustup | 7 | export RUSTUP_HOME=/ci/cache/rustup |
| 8 | export CARGO_HOME=/ci/cache/cargo | 8 | export CARGO_HOME=/ci/cache/cargo |
| 9 | export CARGO_TARGET_DIR=/ci/cache/target | 9 | export CARGO_TARGET_DIR=/ci/cache/target |
| 10 | export PATH=$CARGO_HOME/bin:$PATH | ||
| 10 | if [ -f /ci/secrets/teleprobe-token.txt ]; then | 11 | if [ -f /ci/secrets/teleprobe-token.txt ]; then |
| 11 | echo Got teleprobe token! | 12 | echo Got teleprobe token! |
| 12 | export TELEPROBE_HOST=https://teleprobe.embassy.dev | 13 | export TELEPROBE_HOST=https://teleprobe.embassy.dev |
| @@ -27,6 +28,8 @@ fi | |||
| 27 | hashtime restore /ci/cache/filetime.json || true | 28 | hashtime restore /ci/cache/filetime.json || true |
| 28 | hashtime save /ci/cache/filetime.json | 29 | hashtime save /ci/cache/filetime.json |
| 29 | 30 | ||
| 31 | cargo install --git https://github.com/embassy-rs/cargo-embassy-devtool --locked --rev 280829ad163f1444999468a57d28fb7c412babbe | ||
| 32 | |||
| 30 | ./ci.sh | 33 | ./ci.sh |
| 31 | 34 | ||
| 32 | # Save lockfiles | 35 | # Save lockfiles |
