1515 strategy :
1616 matrix :
1717 os : [ubuntu-18.04, windows-latest, macos-latest]
18+ cibw_archs : ["auto"]
19+ include :
20+ - os : ubuntu-18.04
21+ cibw_archs : " aarch64"
1822
1923 steps :
24+ - name : Set up QEMU
25+ if : matrix.cibw_archs == 'aarch64'
26+ uses : docker/setup-qemu-action@v1
27+ with :
28+ platforms : arm64
29+
2030 - uses : actions/checkout@v2
2131 with :
2232 fetch-depth : 0
2838
2939 - name : Install cibuildwheel
3040 run : |
31- python -m pip install cibuildwheel==1.6.3
41+ python -m pip install cibuildwheel==1.9.0
3242
3343 - name : Copy setup.cfg to configure wheel
3444 run : |
@@ -43,17 +53,18 @@ jobs:
4353 CIBW_MANYLINUX_I686_IMAGE : manylinux1
4454 CIBW_BEFORE_BUILD : pip install certifi numpy==1.19.3
4555 MPL_DISABLE_FH4 : " yes"
56+ CIBW_ARCHS : ${{ matrix.cibw_archs }}
4657
4758 - name : Build wheels for CPython
4859 run : |
4960 python -m cibuildwheel --output-dir dist
5061 env :
51- CIBW_BUILD : " cp3?-*"
52- CIBW_SKIP : " cp35-* cp36-* cp39-*"
62+ CIBW_BUILD : " cp37-* cp38-*"
5363 CIBW_MANYLINUX_X86_64_IMAGE : manylinux1
5464 CIBW_MANYLINUX_I686_IMAGE : manylinux1
55- CIBW_BEFORE_BUILD : pip install certifi numpy==1.16
65+ CIBW_BEFORE_BUILD : pip install certifi oldest-supported- numpy
5666 MPL_DISABLE_FH4 : " yes"
67+ CIBW_ARCHS : ${{ matrix.cibw_archs }}
5768
5869 - name : Build wheels for CPython 3.6
5970 run : |
6273 CIBW_BUILD : " cp36-*"
6374 CIBW_MANYLINUX_X86_64_IMAGE : manylinux1
6475 CIBW_MANYLINUX_I686_IMAGE : manylinux1
65- CIBW_BEFORE_BUILD : pip install certifi numpy==1.16
76+ CIBW_BEFORE_BUILD : pip install certifi oldest-supported- numpy
6677 MPL_DISABLE_FH4 : " yes"
78+ CIBW_ARCHS : ${{ matrix.cibw_archs }}
6779 if : >
6880 startsWith(github.ref, 'refs/heads/v3.3') ||
6981 startsWith(github.ref, 'refs/tags/v3.3')
7385 python -m cibuildwheel --output-dir dist
7486 env :
7587 CIBW_BUILD : " pp3?-*"
76- CIBW_BEFORE_BUILD : pip install certifi numpy==1.16
88+ CIBW_BEFORE_BUILD : pip install certifi oldest-supported-numpy
89+ CIBW_ARCHS : ${{ matrix.cibw_archs }}
7790 if : >
7891 runner.os != 'Windows' && (
7992 startsWith(github.ref, 'refs/heads/v3.3') ||
0 commit comments