PyPI manylinux2014_aarch64 deployer #75
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PyPI manylinux2014_aarch64 deployer | |
on: | |
push: | |
tags: | |
- 'v*' | |
workflow_dispatch: | |
jobs: | |
# Build and deploy manylinux2014_aarch64 wheels | |
Linux-build: | |
runs-on: ubuntu-24.04-arm | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build manylinux2014_aarch64 wheels | |
uses: pypa/[email protected] | |
env: | |
CIBW_BEFORE_BUILD: "pip install setuptools wheel cython" | |
CIBW_ARCHS_LINUX: "aarch64" | |
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 | |
CIBW_BUILD: cp39-* cp310-* cp311-* cp312-* cp313-* | |
- name: Upload manylinux2014_aarch64 wheels to PyPI | |
env: | |
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }} | |
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} | |
run: | | |
ls -l ./wheelhouse | |
pip install -U packaging twine | |
twine upload --skip-existing ./wheelhouse/*.whl |