Skip to content

Commit fb6c1ce

Browse files
committed
bump manylinux version on linux x86_64
i686 stays on manylinux2010 to match numpy1.17.3
1 parent 510d015 commit fb6c1ce

1 file changed

Lines changed: 14 additions & 6 deletions

File tree

.github/workflows/wheel_tests_and_release.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,24 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
os: [ubuntu-18.04]
23-
cibw_python: [ "cp37-*", "cp38-*" ]
24-
cibw_manylinux: [ manylinux1 ]
23+
cibw_python: [ "cp38-*", "cp39-*" ]
24+
cibw_manylinux: [ manylinux2014 ]
25+
cibw_arch: [ "x86_64", "i686" ]
2526
include:
27+
# manylinux2010 for Python 3.7 cases
28+
- os: ubuntu-18.04
29+
cibw_python: "cp37-*"
30+
cibw_manylinux: manylinux2010
31+
cibw_arch: "x86_64"
2632
- os: ubuntu-18.04
27-
cibw_python: "cp39-*"
33+
cibw_python: "cp37-*"
2834
cibw_manylinux: manylinux2010
35+
cibw_arch: "i686"
36+
# no i686 NumPy 1.21.x wheel for Python 3.10
2937
- os: ubuntu-18.04
3038
cibw_python: "cp310-*"
3139
cibw_manylinux: manylinux2014
40+
cibw_arch: "x86_64"
3241
steps:
3342
- uses: actions/checkout@v2
3443
with:
@@ -45,9 +54,9 @@ jobs:
4554
python -m cibuildwheel --output-dir dist
4655
env:
4756
CIBW_BUILD: ${{ matrix.cibw_python }}
48-
CIBW_ARCHS_LINUX: x86_64 i686
57+
CIBW_ARCHS_LINUX: ${{ matrix.cibw_arch }}
4958
CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.cibw_manylinux }}
50-
CIBW_MANYLINUX_I686_IMAGE: ${{ matrix.cibw_manylinux }}
59+
CIBW_MANYLINUX_I686_IMAGE: "manylinux2010"
5160
- uses: actions/upload-artifact@v2
5261
with:
5362
name: wheels
@@ -85,7 +94,6 @@ jobs:
8594
CIBW_ARCHS_LINUX: aarch64
8695
CIBW_SKIP: "*-musllinux_*"
8796
CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.cibw_manylinux }}
88-
CIBW_MANYLINUX_I686_IMAGE: ${{ matrix.cibw_manylinux }}
8997
- uses: actions/upload-artifact@v2
9098
with:
9199
name: wheels

0 commit comments

Comments
 (0)