use pypa/cibuildwheel to build manylinux2014
@@ -13,15 +13,17 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Build manylinux2014_x86_64 wheels
- uses: RalfG/python-wheels-manylinux-build@v0.4.2-manylinux2014_x86_64
- with:
- python-versions: 'cp310-cp310'
- build-requirements: 'cython'
- continue-on-error: true
+ uses: pypa/cibuildwheel@v2.3.1
+ env:
+ CIBW_BEFORE_BUILD: "pip install wheel cython"
+ CIBW_ARCHS_LINUX: "x86_64"
+ CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
+ CIBW_BUILD: cp310-*
- name: Upload manylinux2014_x86_64 wheels to PyPI
env:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: |
- pip install twine
- twine upload --skip-existing dist/*.manylinux2014_x86_64.whl
+ ls -l ./wheelhouse
+ # pip install twine
+ # twine upload --skip-existing ./wheelhouse/*.manylinux2014_x86_64.whl
