Skip to content

Commit 52007e1

Browse files
committed
[TRY] running aarch64-pc-windows-msvc runs on the new windows-11-arm runners
1 parent 7155115 commit 52007e1

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
- tuple: i686-pc-windows-msvc
117117
os: windows-2025
118118
- tuple: aarch64-pc-windows-msvc
119-
os: windows-2025
119+
os: windows-11-arm
120120
- tuple: x86_64-pc-windows-gnu
121121
os: windows-2025
122122
# - tuple: i686-pc-windows-gnu
@@ -199,24 +199,30 @@ jobs:
199199
tuple: aarch64-apple-ios-macabi
200200
os: macos-15
201201
norun: true # https://github.com/rust-lang/stdarch/issues/1206
202-
- target:
203-
tuple: aarch64-pc-windows-msvc
204-
os: windows-2025
205-
norun: true
206202

207203
steps:
208204
- uses: actions/checkout@v4
209205
- name: Install Rust
210206
run: |
211207
rustup update nightly --no-self-update
212208
rustup default nightly
209+
shell: bash
210+
if: matrix.target.os != 'windows-11-arm'
211+
- name: Install Rust for `windows-11-arm` runners
212+
run: |
213+
curl https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly
214+
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
215+
shell: bash
216+
if: matrix.target.os == 'windows-11-arm'
217+
213218
- run: rustup target add ${{ matrix.target.tuple }}
219+
shell: bash
214220
if: matrix.build_std == ''
215221
- run: |
216222
rustup component add rust-src
217223
echo "CARGO_UNSTABLE_BUILD_STD=std" >> $GITHUB_ENV
224+
shell: bash
218225
if: matrix.build_std != ''
219-
- run: cargo generate-lockfile
220226
221227
# Configure some env vars based on matrix configuration
222228
- run: echo "PROFILE=--profile=${{matrix.profile}}" >> $GITHUB_ENV

0 commit comments

Comments
 (0)