|
38 | 38 | arch: aarch64 |
39 | 39 | - os: windows-2025 |
40 | 40 | arch: x86_64 |
| 41 | + - os: windows-11-arm |
| 42 | + arch: arm64 |
41 | 43 | - os: macos-15 |
42 | 44 | arch: arm64 |
43 | 45 | runs-on: ${{ matrix.os }} |
|
46 | 48 | - name: Setup MSVC |
47 | 49 | if: startsWith(matrix.os, 'windows') |
48 | 50 | uses: ilammy/msvc-dev-cmd@v1.13.0 # to use cl |
| 51 | + with: |
| 52 | + arch: ${{ matrix.arch == 'arm64' && 'arm64' || 'x64' }} |
49 | 53 | - name: Build C++ |
50 | 54 | run: bash .github/scripts/build-cpu.sh |
51 | 55 | env: |
@@ -188,20 +192,27 @@ jobs: |
188 | 192 | - build-xpu |
189 | 193 | strategy: |
190 | 194 | matrix: |
191 | | - os: [ubuntu-22.04, ubuntu-22.04-arm, windows-2025, macos-15] |
| 195 | + os: [ubuntu-22.04, ubuntu-22.04-arm, windows-2025, windows-11-arm, macos-15] |
192 | 196 | include: |
193 | 197 | - os: ubuntu-22.04 |
194 | 198 | arch: x86_64 |
| 199 | + python-version: "3.10" |
195 | 200 | - os: ubuntu-22.04-arm |
196 | 201 | arch: aarch64 |
| 202 | + python-version: "3.10" |
197 | 203 | - os: windows-2025 |
198 | 204 | arch: x86_64 |
| 205 | + python-version: "3.10" |
| 206 | + - os: windows-11-arm |
| 207 | + arch: arm64 |
| 208 | + # Python for Windows ARM64 is only available from 3.12+ |
| 209 | + python-version: "3.12" |
199 | 210 | - os: macos-15 |
200 | 211 | arch: arm64 |
| 212 | + python-version: "3.10" |
201 | 213 | # The specific Python version is irrelevant in this context as we are only packaging non-C extension |
202 | 214 | # code. This ensures compatibility across Python versions, as compatibility is |
203 | 215 | # dictated by the packaged code itself, not the Python version used for packaging. |
204 | | - python-version: ["3.10"] |
205 | 216 | runs-on: ${{ matrix.os }} |
206 | 217 | steps: |
207 | 218 | - uses: actions/checkout@v4 |
@@ -327,6 +338,8 @@ jobs: |
327 | 338 | echo "### Linux (aarch64)" >> body.md |
328 | 339 | elif [[ "$fname" == *"win_amd64"* ]]; then |
329 | 340 | echo "### Windows (x86_64)" >> body.md |
| 341 | + elif [[ "$fname" == *"win_arm64"* ]]; then |
| 342 | + echo "### Windows (arm64)" >> body.md |
330 | 343 | elif [[ "$fname" == *"macosx"* ]]; then |
331 | 344 | echo "### macOS 14+ (arm64)" >> body.md |
332 | 345 | else |
|
0 commit comments