Skip to content

Commit 01bf3f8

Browse files
committed
fixup! .github/workflows/ci.yml: test Windows on ARM.
1 parent 3e980be commit 01bf3f8

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/ci.yml

+13-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
strategy:
1919
matrix:
20-
os: [ ubuntu-latest, ubuntu-24.04-arm, windows-latest, macos-latest ]
20+
os: [ ubuntu-latest, ubuntu-24.04-arm, windows-latest, windows-11-arm, macos-latest ]
2121

2222
steps:
2323
- uses: actions/checkout@v4
@@ -44,9 +44,21 @@ jobs:
4444
echo ---
4545
set
4646
47+
- name: Install Rust
48+
- shell: bash
49+
if: ${{ runner.os == 'Windows' }} && ${{ runner.arch == "ARM64" }}
50+
run: |
51+
if ! which cargo > /dev/null 2>&1; then
52+
curl -sSf -o rustup-init.exe https://static.rust-lang.org/rustup/dist/aarch64-pc-windows-msvc/rustup-init.exe
53+
./rustup-init.exe --profile minimal --no-modify-path -y
54+
fi
55+
4756
- name: Rust
4857
shell: bash
4958
run: |
59+
if ! which cargo > /dev/null 2>&1; then
60+
export PATH=$HOME/.cargo/bin:$PATH
61+
fi
5062
rustc --version --verbose
5163
export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
5264
cd bindings/rust
@@ -178,7 +190,6 @@ jobs:
178190

179191
cargo-test-windows-on-arm:
180192
runs-on: windows-11-arm
181-
needs: rust-n-go
182193

183194
steps:
184195
- uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)