Skip to content

Commit cb8a1b1

Browse files
authored
reduce build count
1 parent e9869d9 commit cb8a1b1

File tree

1 file changed

+9
-27
lines changed

1 file changed

+9
-27
lines changed

.github/workflows/releasebuild.yml

Lines changed: 9 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -54,36 +54,21 @@ jobs:
5454
path: dist/*.tar.gz
5555

5656
build_wheels_windows:
57-
name: Build wheel on windows-latest/${{matrix.arch}}/${{matrix.python_tag}}
57+
name: Build wheel on windows-latest/${{matrix.arch}}
5858
needs: [build_sdist]
5959
runs-on: windows-latest
6060
strategy:
6161
fail-fast: false
6262
matrix:
6363
arch: [auto32, auto64, ARM64]
64-
python_tag: ["cp38-*", "cp39-*", "cp310-*", "cp311-*", "cp312-*", "pp38-*", "pp39-*"]
65-
exclude:
66-
# PyPy only supports x86_64 on Windows
67-
- arch: auto32
68-
python_tag: "pp38-*"
69-
- arch: auto32
70-
python_tag: "pp39-*"
71-
72-
# ARM64 only supported only supported on cpython >= 3.9
73-
- arch: ARM64
74-
python_tag: "pp38-*"
75-
- arch: ARM64
76-
python_tag: "pp39-*"
77-
- arch: ARM64
78-
python_tag: "cp38-*"
7964
env:
80-
CIBW_BUILD: ${{matrix.python_tag}}
8165
CIBW_ARCHS: ${{matrix.arch}}
8266
CIBW_TEST_SKIP: "*-win32"
8367
#CIBW_TEST_REQUIRES: pytest hypothesis pandas
8468
CIBW_TEST_REQUIRES: pytest hypothesis
8569
CIBW_TEST_COMMAND: pytest {package}/tests
8670
CIBW_BUILD_VERBOSITY: 3
71+
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.8"
8772

8873
steps:
8974
- uses: actions/download-artifact@v4
@@ -109,28 +94,21 @@ jobs:
10994
path: ./wheelhouse/*.whl
11095

11196
build_wheels_macos:
112-
name: Build wheel on ${{ matrix.os }}/native/${{matrix.python_tag}}
97+
name: Build wheel on ${{ matrix.os }}/native
11398
needs: [build_sdist]
11499
runs-on: ${{ matrix.os }}
115100
strategy:
116101
fail-fast: false
117102
matrix:
118103
os: [macos-13, macos-14]
119-
python_tag: ["cp38-*", "cp39-*", "cp310-*", "cp311-*", "cp312-*", "pp38-*", "pp39-*"]
120-
exclude:
121-
# PyPy not supported on MacOS Arm
122-
- os: macos-14
123-
python_tag: "pp38-*"
124-
- os: macos-14
125-
python_tag: "pp39-*"
126104
env:
127-
CIBW_BUILD: ${{matrix.python_tag}}
128105
CIBW_ARCHS: native
129106
CIBW_TEST_SKIP: "pp*-macosx_*"
130107
#CIBW_TEST_REQUIRES: pytest hypothesis pandas
131108
CIBW_TEST_REQUIRES: pytest hypothesis
132109
CIBW_TEST_COMMAND: pytest {package}/tests
133110
CIBW_BUILD_VERBOSITY: 3
111+
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.8"
134112

135113
steps:
136114
- uses: actions/download-artifact@v4
@@ -163,17 +141,21 @@ jobs:
163141
fail-fast: false
164142
matrix:
165143
arch: [auto, aarch64, ppc64le, s390x]
166-
python_tag: ["cp38-*", "cp39-*", "cp310-*", "cp311-*", "cp312-*", "pp38-*", "pp39-*"]
144+
python_tag: ["cp38-*", "cp39-*", "cp310-*", "cp311-*", "cp312-*", "pp38-*", "pp39-*", "pp310-*"]
167145
exclude:
168146
# PyPy builds not available for these platforms
169147
- arch: ppc64le
170148
python_tag: "pp38-*"
171149
- arch: ppc64le
172150
python_tag: "pp39-*"
151+
- arch: ppc64le
152+
python_tag: "pp310-*"
173153
- arch: s390x
174154
python_tag: "pp38-*"
175155
- arch: s390x
176156
python_tag: "pp39-*"
157+
- arch: s390x
158+
python_tag: "pp310-*"
177159
env:
178160
CIBW_ARCHS_LINUX: ${{matrix.arch}}
179161
CIBW_BUILD: ${{matrix.python_tag}}

0 commit comments

Comments
 (0)