@@ -225,35 +225,49 @@ jobs:
225225 needs : [ TestLinux, TestWindows ]
226226# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
227227 runs-on : ubuntu-latest
228- strategy :
229- max-parallel : 4
230- matrix :
231- PYTHON : [ "cp37-cp37m", "cp38-cp38", "cp39-cp39" , "cp310-cp310" ]
232- MANYLINUX :
233- - { VERSION: '2010', ARCH: 'x86_64' }
234- - { VERSION: '2014', ARCH: 'i686' }
228+ # strategy:
229+ # max-parallel: 4
230+ # matrix:
231+ # PYTHON: [ "cp37-cp37m", "cp38-cp38", "cp39-cp39" , "cp310-cp310" ]
232+ # MANYLINUX:
233+ # - { VERSION: '2010', ARCH: 'x86_64' }
234+ # - { VERSION: '2014', ARCH: 'i686' }
235235# - { VERSION: '2014', ARCH: 'aarch64' }
236- name : " Release Python ${{ matrix.PYTHON }} for manylinux${{ matrix.MANYLINUX.VERSION }}_${{ matrix.MANYLINUX.ARCH }}"
237- container :
238- image : " quay.io/pypa/manylinux${{ matrix.MANYLINUX.VERSION }}_${{ matrix.MANYLINUX.ARCH }}"
239- env :
240- PYTHONDONTWRITEBYTECODE : 1
236+ # name: "Release Python ${{ matrix.PYTHON }} for manylinux${{ matrix.MANYLINUX.VERSION }}_${{ matrix.MANYLINUX.ARCH }}"
237+ # container:
238+ # image: "quay.io/pypa/manylinux${{ matrix.MANYLINUX.VERSION }}_${{ matrix.MANYLINUX.ARCH }}"
239+ # env:
240+ # PYTHONDONTWRITEBYTECODE: 1
241241 steps :
242242 - uses : actions/checkout@v2
243- - name : " Install base requirements"
244- run : |
245- /opt/python/${{ matrix.PYTHON }}/bin/python -m pip install -U pip wheel setuptools auditwheel
246- /opt/python/${{ matrix.PYTHON }}/bin/pip install --upgrade -r build_requirements.txt
247- - name : Build package
248- run : /opt/python/${{ matrix.PYTHON }}/bin/python setup.py bdist_wheel clean
249- - name : Bundle external shared libraries into the wheels
250- run : |
251- for whl in dist/*.whl; do
252- echo "Repairing $whl..."
253- auditwheel repair "$whl" -w dist/
254- done
255- - name : Cleanup OS specific wheels
256- run : rm -fv dist/*-linux_*.whl
243+ - name : Build Python manylinux2010-x86_64 wheels
244+ uses : penguinolog/python-wheels-manylinux-build@18.10.2021-manylinux2010_x86_64
245+ with :
246+ python-versions : ' cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310'
247+ build-requirements : ' cython'
248+ build-executable : ' python'
249+ build-command : ' setup.py bdist_wheel clean'
250+ - name : Build Python manylinux2014-x86_64 wheels
251+ uses : penguinolog/python-wheels-manylinux-build@18.10.2021-manylinux2014_x86_64
252+ with :
253+ python-versions : ' cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310'
254+ build-requirements : ' cython'
255+ build-executable : ' python'
256+ build-command : ' setup.py bdist_wheel clean'
257+ - name : Build Python manylinux2010-i686 wheels
258+ uses : penguinolog/python-wheels-manylinux-build@18.10.2021-manylinux2010_i686
259+ with :
260+ python-versions : ' cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310'
261+ build-requirements : ' cython'
262+ build-executable : ' python'
263+ build-command : ' setup.py bdist_wheel clean'
264+ - name : Build Python manylinux2010-x86_64 wheels
265+ uses : penguinolog/python-wheels-manylinux-build@18.10.2021-manylinux2014_i686
266+ with :
267+ python-versions : ' cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310'
268+ build-requirements : ' cython'
269+ build-executable : ' python'
270+ build-command : ' setup.py bdist_wheel clean'
257271# - name: Install deploy dependencies
258272# run: pip install --upgrade twine
259273# - name: Deploy
0 commit comments