Skip to content

Commit 3e768ba

Browse files
committed
simplify matrix
1 parent 3c5337b commit 3e768ba

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,19 +74,14 @@ jobs:
7474
strategy:
7575
matrix:
7676
os: [ubuntu-latest, macos-latest, windows-latest]
77-
python-version: [
78-
["3.x", "cp38"],
79-
["3.x", "pp311"],
80-
["3.14t", "cp314t"],
81-
]
8277

8378
steps:
8479
- uses: actions/checkout@v5
8580
with:
8681
submodules: recursive
8782
- uses: actions/setup-python@v6
8883
with:
89-
python-version: ${{ matrix.python-version[0] }}
84+
python-version: 3.x
9085
- name: Install cibuildwheel
9186
run: python -m pip install cibuildwheel
9287
# - name: Install Visual C++ for Python 2.7
@@ -101,14 +96,14 @@ jobs:
10196
- name: Build wheels
10297
run: python -m cibuildwheel --output-dir wheelhouse
10398
env:
104-
CIBW_BUILD: ${{ matrix.python-version[1] }}-*
99+
CIBW_BUILD: "cp38-* pp*-* cp314t-*"
105100
CIBW_SKIP: "*musllinux*"
106101
CIBW_ENABLE: pypy
107102
CIBW_ARCHS_LINUX: auto aarch64
108103
CIBW_BEFORE_BUILD_LINUX: yum install -y libffi-devel
109104
- uses: actions/upload-artifact@v4
110105
with:
111-
name: wheels-${{ matrix.os }}-${{ matrix.python-version[0] }}-${{ matrix.python-version[1] }}
106+
name: wheels-${{ matrix.os }}-${{ matrix.wheel-tag }}
112107
path: ./wheelhouse/*.whl
113108

114109
publish:

0 commit comments

Comments
 (0)