Skip to content

Fix version

Fix version #77

Workflow file for this run

name: Build wheel on arm
on: [push]
env:
CIBW_BUILD_VERBOSITY: 1
CIBW_ARCHS: "auto64"
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: "pytest --pyargs scrypt"
jobs:
build_aarch64_wheels:
name: Build wheels manylinux_aarch64
runs-on: ubuntu-latest
strategy:
matrix:
python: [39, 310, 311, 312, 313]
include:
- os: ubuntu-latest
arch: aarch64
platform_id: manylinux_aarch64
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Install cibuildwheel
run: python -m pip install cibuildwheel
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_ARCHS_LINUX: ${{matrix.arch}}
CIBW_BUILD: cp${{ matrix.python }}-${{ matrix.platform_id }}
- uses: actions/upload-artifact@v4
with:
name: artifact-${{ matrix.python }}
path: wheelhouse/*.whl
upload_pypi:
name: Upload to PyPI (prod)
needs: [build_aarch64_wheels]
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
runs-on: ubuntu-latest
strategy:
matrix:
python: [39, 310, 311, 312, 313]
steps:
- uses: actions/download-artifact@v4
with:
name: artifact-${{ matrix.python }}
path: dist
- uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}