|
9 | 9 | # CIBW_BEFORE_BUILD: pip install cython
|
10 | 10 | CIBW_TEST_REQUIRES: pytest
|
11 | 11 | CIBW_TEST_COMMAND: pytest --pyargs pywt
|
| 12 | + CIBW_ENVIRONMENT: PIP_PREFER_BINARY=1 |
12 | 13 |
|
13 | 14 |
|
14 | 15 | jobs:
|
15 | 16 | build_linux_37_and_above_wheels:
|
16 |
| - name: Build python ${{ matrix.cibw_python }} wheels on ${{ matrix.os }} |
| 17 | + name: Build python ${{ matrix.cibw_python }} ${{ matrix.cibw_arch }} wheels on ${{ matrix.os }} |
17 | 18 | runs-on: ${{ matrix.os }}
|
18 | 19 | strategy:
|
19 | 20 | fail-fast: false
|
20 | 21 | matrix:
|
21 | 22 | os: [ubuntu-18.04]
|
22 |
| - cibw_python: [ "cp37-*", "cp38-*" ] |
23 |
| - cibw_manylinux: [ manylinux1 ] |
| 23 | + cibw_python: [ "cp38-*", "cp39-*" ] |
| 24 | + cibw_manylinux: [ manylinux2014 ] |
| 25 | + cibw_arch: [ "x86_64", "i686" ] |
24 | 26 | 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" |
25 | 32 | - os: ubuntu-18.04
|
26 |
| - cibw_python: "cp39-*" |
| 33 | + cibw_python: "cp37-*" |
27 | 34 | cibw_manylinux: manylinux2010
|
| 35 | + cibw_arch: "i686" |
| 36 | + # no i686 NumPy 1.21.x wheel for Python 3.10 |
28 | 37 | - os: ubuntu-18.04
|
29 | 38 | cibw_python: "cp310-*"
|
30 | 39 | cibw_manylinux: manylinux2014
|
| 40 | + cibw_arch: "x86_64" |
31 | 41 | steps:
|
32 | 42 | - uses: actions/checkout@v2
|
33 | 43 | with:
|
|
44 | 54 | python -m cibuildwheel --output-dir dist
|
45 | 55 | env:
|
46 | 56 | CIBW_BUILD: ${{ matrix.cibw_python }}
|
47 |
| - CIBW_ARCHS_LINUX: x86_64 i686 |
| 57 | + CIBW_ARCHS_LINUX: ${{ matrix.cibw_arch }} |
| 58 | + CIBW_SKIP: "*-musllinux_*" |
48 | 59 | CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.cibw_manylinux }}
|
49 |
| - CIBW_MANYLINUX_I686_IMAGE: ${{ matrix.cibw_manylinux }} |
| 60 | + CIBW_MANYLINUX_I686_IMAGE: "manylinux2010" |
50 | 61 | - uses: actions/upload-artifact@v2
|
51 | 62 | with:
|
52 | 63 | name: wheels
|
|
59 | 70 | fail-fast: false
|
60 | 71 | matrix:
|
61 | 72 | os: [ubuntu-18.04]
|
62 |
| - cibw_python: [ "cp38-*" , "cp39-*", "cp310-*"] |
| 73 | + cibw_python: [ "cp37-*" , "cp38-*" , "cp39-*", "cp310-*"] |
63 | 74 | cibw_manylinux: [ manylinux2014 ]
|
64 | 75 | steps:
|
65 | 76 | - uses: actions/checkout@v2
|
|
84 | 95 | CIBW_ARCHS_LINUX: aarch64
|
85 | 96 | CIBW_SKIP: "*-musllinux_*"
|
86 | 97 | CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.cibw_manylinux }}
|
87 |
| - CIBW_MANYLINUX_I686_IMAGE: ${{ matrix.cibw_manylinux }} |
88 | 98 | - uses: actions/upload-artifact@v2
|
89 | 99 | with:
|
90 | 100 | name: wheels
|
|
0 commit comments