Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build and publish aarch64 wheels #101

Merged
merged 6 commits into from
May 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ jobs:
with:
ref: ${{ github.event.inputs.branch }}
submodules: true

- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v3
with:
platforms: all

- name: Install Python
uses: actions/setup-python@v5
with:
Expand All @@ -37,11 +44,13 @@ jobs:
env:
CIBW_SKIP: "cp36-*" # skip 3.6
CIBW_ARCHS_MACOS: "x86_64 universal2 arm64"
CIBW_ARCHS_LINUX: "auto aarch64"
- uses: actions/upload-artifact@v4
with:
name: python-package-distributions-macos
name: python-package-distributions-${{ matrix.os }}
path: ./wheelhouse/*.whl


source-distribution:
name: Build source distribution
runs-on: ubuntu-latest
Expand All @@ -56,7 +65,10 @@ jobs:
with:
python-version: "3.x"
- name: Build source distribution
run: python setup.py sdist
run: |
# FIXME: setuptools was removed starting with Python 3.12
pip install --upgrade --force setuptools
python setup.py sdist
- name: Store the source distribution
uses: actions/upload-artifact@v4
with:
Expand Down
Loading