Skip to content

Commit d06790b

Browse files
committed
[TRY] Use windows-11-arm for the aarch64-pc-windows-msvc target
1 parent 201d2a1 commit d06790b

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/main.yml

+10-5
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
- tuple: i686-pc-windows-msvc
115115
os: windows-2025
116116
- tuple: aarch64-pc-windows-msvc
117-
os: windows-2025
117+
os: windows-11-arm
118118
- tuple: x86_64-pc-windows-gnu
119119
os: windows-2025
120120
# - tuple: i686-pc-windows-gnu
@@ -192,10 +192,6 @@ jobs:
192192
tuple: aarch64-apple-ios-macabi
193193
os: macos-15
194194
norun: true # https://github.com/rust-lang/stdarch/issues/1206
195-
- target:
196-
tuple: aarch64-pc-windows-msvc
197-
os: windows-2025
198-
norun: true
199195

200196
steps:
201197
- uses: actions/checkout@v4
@@ -204,7 +200,16 @@ jobs:
204200
run: |
205201
rustup update nightly --no-self-update
206202
rustup default nightly
203+
if: matrix.target.os != 'windows-11-arm'
204+
- name: Install Rust for `windows-11-arm` runners
205+
run: |
206+
curl https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly
207+
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
208+
shell: bash
209+
if: matrix.target.os == 'windows-11-arm'
210+
207211
- run: rustup target add ${{ matrix.target.tuple }}
212+
shell: bash
208213
if: matrix.build_std == ''
209214
- run: |
210215
rustup component add rust-src

0 commit comments

Comments
 (0)