aboutsummaryrefslogtreecommitdiff
path: root/.github/ci/build-xtensa.sh
diff options
context:
space:
mode:
Diffstat (limited to '.github/ci/build-xtensa.sh')
-rwxr-xr-x.github/ci/build-xtensa.sh11
1 files changed, 4 insertions, 7 deletions
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
7export RUSTUP_HOME=/ci/cache/rustup 7export RUSTUP_HOME=/ci/cache/rustup
8export CARGO_HOME=/ci/cache/cargo 8export CARGO_HOME=/ci/cache/cargo
9export CARGO_TARGET_DIR=/ci/cache/target 9export CARGO_TARGET_DIR=/ci/cache/target
10export 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.
13export CARGO_NET_GIT_FETCH_WITH_CLI=true 14export CARGO_NET_GIT_FETCH_WITH_CLI=true
14 15
15cargo install espup 16cargo install espup --locked
16/ci/cache/cargo/bin/espup install --toolchain-version 1.84.0.0 17espup install --toolchain-version 1.88.0.0
17 18
18# Restore lockfiles 19# Restore lockfiles
19if [ -f /ci/cache/lockfiles.tar ]; then 20if [ -f /ci/cache/lockfiles.tar ]; then
@@ -24,11 +25,7 @@ fi
24hashtime restore /ci/cache/filetime.json || true 25hashtime restore /ci/cache/filetime.json || true
25hashtime save /ci/cache/filetime.json 26hashtime save /ci/cache/filetime.json
26 27
27mkdir .cargo 28cargo install --git https://github.com/embassy-rs/cargo-embassy-devtool --locked --rev 280829ad163f1444999468a57d28fb7c412babbe
28cat > .cargo/config.toml<< EOF
29[unstable]
30build-std = ["alloc", "core"]
31EOF
32 29
33./ci-xtensa.sh 30./ci-xtensa.sh
34 31