Skip to content

Commit 1b79bdb

Browse files
committed
fix(vm): use rustup directly on macOS, disable sccache
Use rustup instead of mise or Homebrew for Rust to avoid LLVM conflicts. Set RUSTC_WRAPPER='' to disable sccache which is not available on the macOS runner.
1 parent 242e9f4 commit 1b79bdb

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

.github/workflows/release-vm-kernel.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -127,24 +127,16 @@ jobs:
127127
needs: [build-runtime-linux-arm64]
128128
runs-on: macos-latest-xlarge
129129
timeout-minutes: 30
130+
env:
131+
RUSTC_WRAPPER: ""
130132
steps:
131133
- uses: actions/checkout@v4
132134

133-
- name: Install mise and toolchain
134-
run: |
135-
set -euo pipefail
136-
curl https://mise.run | sh
137-
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
138-
echo "$HOME/.local/share/mise/shims" >> "$GITHUB_PATH"
139-
140-
- name: Install tools via mise
141-
env:
142-
MISE_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
135+
- name: Install dependencies
143136
run: |
144137
set -euo pipefail
145-
mise trust
146-
mise install rust
147-
mise reshim
138+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
139+
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
148140
brew install lld dtc xz
149141
150142
- name: Download pre-built kernel.c

0 commit comments

Comments
 (0)