Skip to content

Commit 532148f

Browse files
committed
Adding Windows ARM tests on CI
1 parent 59253f6 commit 532148f

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/test.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
"26.3": 'macos-15',
3333
}
3434
35-
win_paltforms = ["x64", "Win32"]
35+
win_platforms = ["x64", "Win32"]
3636
win_clang_archs = ["x64", "x86"]
3737
3838
gcc_map = {
@@ -65,10 +65,13 @@ jobs:
6565
for xcode, runon in macos_map.items():
6666
hosts.append({'os': runon, 'version': xcode, 'jobname': f'macOS - Xcode{xcode}'})
6767
68-
#windows
69-
for platform in win_paltforms:
68+
#windows amd
69+
for platform in win_platforms:
7070
hosts.append({'os': 'windows-latest', 'platform': platform, 'module': True, 'nopython': platform == "Win32", 'jobname': f'Windows - {platform}'})
7171
72+
#windows arm
73+
hosts.append({'os': 'windows-11-arm', 'module': True, 'nopython': platform == "arm64", 'jobname': 'Windows - arm64'})
74+
7275
for arch in win_clang_archs:
7376
hosts.append({'os': 'windows-latest', 'arch': arch, 'compiler': 'clang-cl', 'nopython': arch == "x86", 'jobname': f'Windows - clang - {arch}'})
7477
@@ -143,7 +146,7 @@ jobs:
143146
echo "DEVELOPER_DIR=/Applications/Xcode_${{ matrix.version }}.app" >> $GITHUB_ENV
144147
fi
145148
146-
if [[ '${{ matrix.os }}' == windows-* ]]; then
149+
if [[ '${{ matrix.os }}' == windows-latest ]]; then
147150
if [[ '${{ matrix.compiler }}' != '' ]]; then
148151
if [[ '${{ matrix.arch }}' == "x64" ]]; then
149152
VCPREFIX="C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\Llvm\\x64\\bin"

0 commit comments

Comments
 (0)