@@ -5,44 +5,36 @@ on: [push, pull_request]
55env :
66 CIBW_ENVIRONMENT_PASS_LINUX : PYTEST_TIMEOUT
77 CIBW_TEST_COMMAND : " cd {project} && pip install --prefer-binary '.[test]' && python -m pytest -v tests"
8- CIBW_SKIP : " cp36-* cp37-* cp38-* pp37 -* pp38-*"
8+ CIBW_SKIP : " cp38-* pp38-*"
99 PYTEST_TIMEOUT : 60
1010
1111jobs :
1212 build_wheel_linux :
13- name : Build wheels on Linux (${{ matrix.wheel_arch }} )
13+ name : Build wheels on Linux (x86_64 )
1414 runs-on : ubuntu-22.04
15- strategy :
16- fail-fast : false
17- matrix :
18- wheel_arch : [x86_64, i686]
19-
2015 steps :
2116 - uses : actions/checkout@v4
2217 with :
2318 submodules : true
2419 fetch-depth : 0
2520
2621 - name : Build wheels (manylinux)
27- uses : pypa/cibuildwheel@v2.23.3
22+ uses : pypa/cibuildwheel@v3.0.0
2823 env :
2924 CIBW_BEFORE_BUILD : " yum install -y flex bison libxml2-devel zlib-devel cairo-devel && pip install -U cmake pip setuptools wheel && python setup.py build_c_core"
30- CIBW_BUILD : " *-manylinux_${{ matrix.wheel_arch }} "
25+ CIBW_BUILD : " *-manylinux_x86_64 "
3126 CIBW_ENABLE : pypy
32- # Skip tests for Python 3.10 onwards because SciPy does not have
33- # 32-bit wheels for Linux.
34- CIBW_TEST_SKIP : " cp310-manylinux_i686 cp311-manylinux_i686 cp312-manylinux_i686 cp313-manylinux_i686"
3527
3628 - name : Build wheels (musllinux)
37- uses : pypa/cibuildwheel@v2.23.3
29+ uses : pypa/cibuildwheel@v3.0.0
3830 env :
3931 CIBW_BEFORE_BUILD : " apk add flex bison libxml2-dev zlib-dev cairo-dev && pip install -U cmake pip setuptools wheel && python setup.py build_c_core"
40- CIBW_BUILD : " *-musllinux_${{ matrix.wheel_arch }} "
32+ CIBW_BUILD : " *-musllinux_x86_64 "
4133 CIBW_TEST_COMMAND : " cd {project} && pip install --prefer-binary '.[test-musl]' && python -m pytest -v tests"
4234
4335 - uses : actions/upload-artifact@v4
4436 with :
45- name : wheels-linux-${{ matrix.wheel_arch }}
37+ name : wheels-linux-x86_64
4638 path : ./wheelhouse/*.whl
4739
4840 build_wheel_linux_aarch64_manylinux :
5547 fetch-depth : 0
5648
5749 - name : Build wheels (manylinux)
58- uses : pypa/cibuildwheel@v2.23.3
50+ uses : pypa/cibuildwheel@v3.0.0
5951 env :
6052 CIBW_BEFORE_BUILD : " yum install -y flex bison libxml2-devel zlib-devel cairo-devel && pip install -U cmake pip setuptools wheel && python setup.py build_c_core"
6153 CIBW_ARCHS_LINUX : aarch64
7769 fetch-depth : 0
7870
7971 - name : Build wheels (musllinux)
80- uses : pypa/cibuildwheel@v2.23.3
72+ uses : pypa/cibuildwheel@v3.0.0
8173 env :
8274 CIBW_BEFORE_BUILD : " apk add flex bison libxml2-dev zlib-dev cairo-dev && pip install -U cmake pip setuptools wheel && python setup.py build_c_core"
8375 CIBW_ARCHS_LINUX : aarch64
@@ -140,7 +132,7 @@ jobs:
140132 cmake --install .
141133
142134 - name : Build wheels
143- uses : pypa/cibuildwheel@v2.23.3
135+ uses : pypa/cibuildwheel@v3.0.0
144136 env :
145137 CIBW_ARCHS_MACOS : " ${{ matrix.wheel_arch }}"
146138 CIBW_BEFORE_BUILD : " pip install -U setuptools && python setup.py build_c_core"
@@ -246,7 +238,7 @@ jobs:
246238 shell : cmd
247239
248240 - name : Build wheels
249- uses : pypa/cibuildwheel@v2.23.3
241+ uses : pypa/cibuildwheel@v3.0.0
250242 env :
251243 CIBW_BEFORE_BUILD : " pip install -U setuptools && python setup.py build_c_core"
252244 CIBW_BUILD : " *-${{ matrix.wheel_arch }}"
0 commit comments