Skip to content

Commit 18fdaf9

Browse files
committed
Build wheels with matrix strategy
1 parent e4a2837 commit 18fdaf9

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/wheel.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ jobs:
3636
build_sdist:
3737
name: Build source distribution
3838
runs-on: ubuntu-latest
39+
strategy:
40+
matrix:
41+
python-version: ['3.11', '3.12', '3.13']
42+
architecture: ['x64', 'x86']
3943
steps:
4044
- uses: actions/checkout@v4
4145
with:
@@ -44,11 +48,8 @@ jobs:
4448
- uses: actions/setup-python@v5
4549
name: Install Python
4650
with:
47-
python-version: "3.11"
48-
architecture: |
49-
x86
50-
x64
51-
51+
python-version: {{ matrix.python-version }}
52+
architecture: {{ matrix.architecture }}
5253
- name: Build sdist
5354
run: pipx run build --sdist
5455

0 commit comments

Comments
 (0)