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

ci: Build wheel for linux aarch64 #743

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
7 changes: 5 additions & 2 deletions .github/workflows/releases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -454,12 +454,15 @@ jobs:
exclude:
- os: windows
arch: aarch64
- os: ubuntu
arch: aarch64
- os: macos
arch: x86
steps:
- uses: actions/checkout@v4
- name: Set CFLAGS for aarch64 on Ubuntu
if: matrix.os == 'ubuntu' && matrix.arch == 'aarch64'
# Workaround issue cross-compiling to aarch64 https://github.com/bobzilladev/ring-poc
run: |
echo "CFLAGS_aarch64_unknown_linux_gnu=-D__ARM_ARCH=8" >> $GITHUB_ENV
- name: Build sdist
if: matrix.os == 'ubuntu' && matrix.arch == 'x64'
uses: PyO3/maturin-action@v1
Expand Down