Skip to content

Commit 646bc09

Browse files
authored
[libcxx] Run tests on Windows/arm64 too (#161906)
Github Actions has got free runners with Windows on ARM64 these days, which can be used for running CI, just as well as the other existing cases. This qualifies this configuration as a supported target platform, thus add it to the docs in the listing of supported platforms.
1 parent bc39a8f commit 646bc09

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/libcxx-build-and-test.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,6 @@ jobs:
236236
**/crash_diagnostics/*
237237
238238
windows:
239-
runs-on: windows-2022
240239
needs: [ stage2 ]
241240
strategy:
242241
fail-fast: false
@@ -251,6 +250,8 @@ jobs:
251250
- { config: mingw-static, mingw: true }
252251
- { config: mingw-dll-i686, mingw: true }
253252
- { config: mingw-incomplete-sysroot, mingw: true }
253+
- { config: mingw-static, mingw: true, runner: windows-11-arm }
254+
runs-on: ${{ matrix.runner != '' && matrix.runner || 'windows-2022' }}
254255
steps:
255256
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
256257
- name: Install dependencies
@@ -263,7 +264,7 @@ jobs:
263264
- name: Install llvm-mingw
264265
if: ${{ matrix.mingw == true }}
265266
run: |
266-
curl -LO https://github.com/mstorsjo/llvm-mingw/releases/download/20250709/llvm-mingw-20250709-ucrt-x86_64.zip
267+
curl -LO https://github.com/mstorsjo/llvm-mingw/releases/download/20250709/llvm-mingw-20250709-ucrt-${{ matrix.runner == 'windows-11-arm' && 'aarch64' || 'x86_64' }}.zip
267268
powershell Expand-Archive llvm-mingw*.zip -DestinationPath .
268269
del llvm-mingw*.zip
269270
mv llvm-mingw* c:\llvm-mingw

libcxx/docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ macOS 10.13+ i386, x86_64, arm64
147147
FreeBSD 12+ i386, x86_64, arm
148148
Linux i386, x86_64, arm, arm64 Only glibc-2.24 and later and no other libc is officially supported
149149
Android 5.0+ i386, x86_64, arm, arm64
150-
Windows i386, x86_64 Both MSVC and MinGW style environments, ABI in MSVC environments is :doc:`unstable <DesignDocs/ABIVersioning>`
150+
Windows i386, x86_64, arm64 Both MSVC and MinGW style environments, ABI in MSVC environments is :doc:`unstable <DesignDocs/ABIVersioning>`
151151
AIX 7.2TL5+ powerpc, powerpc64
152152
Embedded (picolibc) arm
153153
===================== ========================= ============================

0 commit comments

Comments
 (0)