Skip to content

Commit ba4c639

Browse files
committed
Update matrix
1 parent 3affe43 commit ba4c639

File tree

1 file changed

+11
-17
lines changed

1 file changed

+11
-17
lines changed

.github/workflows/builds.yml

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build wheels & sdist
1+
name: Build Packages
22
on:
33
workflow_call:
44
workflow_dispatch:
@@ -9,8 +9,8 @@ concurrency:
99

1010
jobs:
1111
wheels:
12-
name: Build Wheels - ${{ matrix.os }} - ${{ matrix.python-version[0] }}
13-
runs-on: ${{ matrix.runs-on }}
12+
name: Build Wheels - ${{ matrix.os[0] }} - ${{ matrix.python-version[0] }}
13+
runs-on: ${{ matrix.platform[1] }}
1414
strategy:
1515
fail-fast: false
1616
matrix:
@@ -19,19 +19,13 @@ jobs:
1919
- ["CPython 3.11", "cp311"]
2020
- ["CPython 3.12", "cp312"]
2121
- ["CPython 3.13", "cp313"]
22-
include:
23-
- os: Linux-x64
24-
runs-on: ubuntu-latest
25-
- os: Linux-arm64
26-
runs-on: ubuntu-24.04-arm
27-
- os: Windows-x64
28-
runs-on: windows-latest
29-
- os: Windows-arm64
30-
runs-on: windows-11-arm
31-
- os: macOS-x64
32-
runs-on: macos-13
33-
- os: macOS-arm64
34-
runs-on: macos-latest
22+
platform:
23+
- ["Linux-x64", "ubuntu-latest"]
24+
- ["Linux-arm64", "ubuntu-24.04-arm"]
25+
- ["Windows-x64", "windows-latest"]
26+
- ["Windows-arm64", "windows-11-arm"]
27+
- ["macOS-x64", "macos-13"] # Final macOS Intel platform
28+
- ["macOS-arm64", "macos-latest"]
3529

3630
steps:
3731
- name: Checkout source
@@ -46,7 +40,7 @@ jobs:
4640

4741
- uses: actions/upload-artifact@v4
4842
with:
49-
name: wheels-${{ matrix.python-version[0] }}-${{ matrix.os }}
43+
name: wheels-${{ matrix.python-version[0] }}-${{ matrix.os[0] }}
5044
path: ./wheelhouse/*.whl
5145

5246
sdist:

0 commit comments

Comments
 (0)