Skip to content

Commit 4dab1d5

Browse files
neutrinocerosrgommers
authored andcommitted
CI: expand matrix arrays, drop suffix on Python 3.14 variants, and replace deprecated macos-intel image
1 parent 2fe7bf8 commit 4dab1d5

File tree

1 file changed

+37
-12
lines changed

1 file changed

+37
-12
lines changed

.github/workflows/ci.yml

Lines changed: 37 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,14 @@ jobs:
77
runs-on: ${{ matrix.os }}
88
strategy:
99
matrix:
10-
python-version: ["3.10", "3.14-dev"]
10+
python-version:
11+
- "3.10"
12+
- "3.14"
1113
os:
12-
# Note that macos-13 is x86-64 (deprecated already),
13-
# and macos-latest is arm64.
14-
[ubuntu-22.04, ubuntu-24.04-arm, macos-13, macos-latest]
14+
- ubuntu-22.04
15+
- ubuntu-24.04-arm
16+
- macos-15-intel
17+
- macos-latest
1518
steps:
1619
- uses: actions/checkout@v4
1720
- uses: ./.github/bottleneck-action
@@ -20,9 +23,16 @@ jobs:
2023
runs-on: ${{ matrix.os }}
2124
strategy:
2225
matrix:
23-
python-version: ["3.10", "3.14-dev", "3.14t-dev"]
24-
architecture: [x86, x64]
25-
os: [windows-latest, windows-2022]
26+
python-version:
27+
- "3.10"
28+
- "3.14"
29+
- "3.14t"
30+
architecture:
31+
- x86
32+
- x64
33+
os:
34+
- windows-latest
35+
- windows-2022
2636
include:
2737
- os: windows-11-arm
2838
architecture: arm64
@@ -41,7 +51,14 @@ jobs:
4151
runs-on: ubuntu-latest
4252
strategy:
4353
matrix:
44-
python-version: ["3.10", "3.11", "3.12", "3.13", "3.13t", "3.14-dev", "3.14t-dev"]
54+
python-version:
55+
- "3.10"
56+
- "3.11"
57+
- "3.12"
58+
- "3.13"
59+
- "3.13t"
60+
- "3.14"
61+
- "3.14t"
4562
steps:
4663
- uses: actions/checkout@v4
4764
- uses: ./.github/bottleneck-action
@@ -50,14 +67,18 @@ jobs:
5067
# This job is here is the "Required" one for merging PRs, and
5168
# it only runs after all the `test-*` jobs above have run. Hence
5269
# it serves as a check that CI actually ran before a PR gets merged.
53-
needs: [test-linux-macos, test-windows]
70+
needs:
71+
- test-linux-macos
72+
- test-windows
5473
runs-on: ubuntu-latest
5574
steps:
5675
- name: Placeholder for CI checks in PRs
5776
run: echo "Done"
5877

5978
build_wheels:
60-
needs: [test-linux-macos, test-windows]
79+
needs:
80+
- test-linux-macos
81+
- test-windows
6182
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
6283
runs-on: ${{ matrix.os }}
6384
strategy:
@@ -87,7 +108,9 @@ jobs:
87108
path: ./wheelhouse/*.whl
88109

89110
build_sdist:
90-
needs: [test-linux-macos, test-windows]
111+
needs:
112+
- test-linux-macos
113+
- test-windows
91114
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
92115
runs-on: ubuntu-latest
93116
steps:
@@ -103,7 +126,9 @@ jobs:
103126
path: dist/*.tar.gz
104127

105128
release:
106-
needs: [build_wheels, build_sdist]
129+
needs:
130+
- build_wheels
131+
- build_sdist
107132
if: github.event_name == 'push'
108133
runs-on: ubuntu-latest
109134
steps:

0 commit comments

Comments
 (0)