Skip to content

Commit 8dcd648

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

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/main.yml

+8-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,6 +200,13 @@ 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+
if: matrix.target.os == 'windows-11-arm'
209+
207210
- run: rustup target add ${{ matrix.target.tuple }}
208211
if: matrix.build_std == ''
209212
- run: |

0 commit comments

Comments
 (0)