|
19 | 19 |
|
20 | 20 | jobs: |
21 | 21 | manylinux: |
22 | | - name: ${{ matrix.TARGET }}/wheel_creation |
| 22 | + name: ${{ matrix.TARGET }}/${{ matrix.wheel-version }}_wheel_creation |
23 | 23 | runs-on: ${{ matrix.os }} |
24 | 24 | strategy: |
25 | 25 | fail-fast: false |
26 | 26 | matrix: |
| 27 | + wheel-version: ['cp37-cp37m', 'cp38-cp38', 'cp39-cp39', 'cp310-cp310', 'cp311-cp311'] |
27 | 28 | os: [ubuntu-latest] |
28 | 29 | include: |
29 | 30 | - os: ubuntu-latest |
30 | 31 | TARGET: manylinux |
31 | | - python-version: [3.7] |
| 32 | + python-version: [3.8] |
32 | 33 | steps: |
33 | 34 | - uses: actions/checkout@v3 |
34 | 35 | - name: Set up Python ${{ matrix.python-version }} |
|
43 | 44 | - name: Build manylinux Python wheels |
44 | 45 | uses: RalfG/python-wheels-manylinux-build@a1e012c58ed3960f81b7ed2759a037fb0ad28e2d |
45 | 46 | with: |
46 | | - python-versions: 'cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311' |
| 47 | + python-versions: ${{ matrix.wheel-version }} |
47 | 48 | build-requirements: 'cython pybind11' |
48 | 49 | package-path: '' |
49 | 50 | pip-wheel-args: '' |
|
61 | 62 | name: manylinux-wheels |
62 | 63 | path: dist |
63 | 64 |
|
64 | | - manylinuxaarch64: |
65 | | - if: ${{ false }} |
66 | | - name: ${{ matrix.TARGET }}/wheel_creation |
67 | | - runs-on: ${{ matrix.os }} |
68 | | - strategy: |
69 | | - fail-fast: false |
70 | | - matrix: |
71 | | - os: [ubuntu-latest] |
72 | | - include: |
73 | | - - os: ubuntu-latest |
74 | | - TARGET: manylinuxaarch64 |
75 | | - python-version: [3.7] |
76 | | - steps: |
77 | | - - uses: actions/checkout@v3 |
78 | | - - name: Set up Python ${{ matrix.python-version }} |
79 | | - uses: actions/setup-python@v3 |
80 | | - with: |
81 | | - python-version: ${{ matrix.python-version }} |
82 | | - - uses: docker/setup-qemu-action@v1 |
83 | | - name: Set up QEMU |
84 | | - - name: Install dependencies |
85 | | - run: | |
86 | | - python -m pip install --upgrade pip |
87 | | - pip install twine wheel setuptools pybind11 |
88 | | - - name: Build manylinux Python wheels |
89 | | - uses: RalfG/python-wheels-manylinux-build@v0.4.0-manylinux2014_aarch64 |
90 | | - with: |
91 | | - python-versions: 'cp37-cp37m cp38-cp38 cp39-cp39' |
92 | | - build-requirements: 'cython' |
93 | | - package-path: '' |
94 | | - pip-wheel-args: '' |
95 | | - # When locally testing, --no-deps flag is necessary (PyUtilib dependency will trigger an error otherwise) |
96 | | - - name: Consolidate wheels |
97 | | - run: | |
98 | | - sudo test -d dist || mkdir -v dist |
99 | | - sudo find . -name \*.whl | grep -v /dist/ | xargs -n1 -i mv -v "{}" dist/ |
100 | | - - name: Delete linux wheels |
101 | | - run: | |
102 | | - sudo rm -rfv dist/*-linux_aarch64.whl |
103 | | - - name: Upload artifact |
104 | | - uses: actions/upload-artifact@v3 |
105 | | - with: |
106 | | - name: manylinux-aarch64-wheels |
107 | | - path: dist |
108 | | - |
109 | 65 | generictarball: |
110 | 66 | name: ${{ matrix.TARGET }} |
111 | 67 | runs-on: ${{ matrix.os }} |
|
116 | 72 | include: |
117 | 73 | - os: ubuntu-latest |
118 | 74 | TARGET: generic_tarball |
119 | | - python-version: [3.7] |
| 75 | + python-version: [3.8] |
120 | 76 | steps: |
121 | 77 | - uses: actions/checkout@v3 |
122 | 78 | - name: Set up Python ${{ matrix.python-version }} |
|
0 commit comments