Skip to content

Commit 15165ca

Browse files
authored
Add Arm64 Windows CI jobs (#15790)
The `aarch64-pc-windows-msvc` target is on the path to being promoted to Tier 1: <rust-lang/rfcs#3817> Adding Arm64 Windows runners will catch any potential issues in Cargo before changes are merged in, instead of waiting for the Cargo submodule to be updated.
2 parents 4434ed8 + 0aaa4cb commit 15165ca

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,14 @@ jobs:
155155
os: windows-latest
156156
rust: nightly-msvc
157157
other: i686-pc-windows-msvc
158+
- name: Windows aarch64 MSVC stable
159+
os: windows-11-arm
160+
rust: stable-msvc
161+
other: i686-pc-windows-msvc
162+
- name: Windows aarch64 MSVC nightly
163+
os: windows-11-arm
164+
rust: nightly-msvc
165+
other: i686-pc-windows-msvc
158166
- name: Windows x86_64 gnu nightly # runs out of space while trying to link the test suite
159167
os: windows-latest
160168
rust: nightly-gnu
@@ -183,6 +191,10 @@ jobs:
183191
shell: pwsh
184192
run: Add-Content $env:GITHUB_PATH "C:\Program Files (x86)\Windows Kits\10\Debuggers\x64"
185193
if: matrix.os == 'windows-latest'
194+
- name: Add Windows debuggers bin to PATH
195+
shell: pwsh
196+
run: Add-Content $env:GITHUB_PATH "C:\Program Files (x86)\Windows Kits\10\Debuggers\arm64"
197+
if: matrix.os == 'windows-11-arm'
186198
- name: Configure extra test environment
187199
run: echo CARGO_CONTAINER_TESTS=1 >> $GITHUB_ENV
188200
if: matrix.os == 'ubuntu-latest'

0 commit comments

Comments
 (0)