Skip to content

Commit

Permalink
Adding ARM build.
Browse files Browse the repository at this point in the history
  • Loading branch information
Danny Hermes committed Jul 28, 2023
1 parent 5d4f0bc commit 5e2df29
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,36 @@ on:
- macos-intel-wheels

jobs:
linux-arm:
runs-on: ubuntu-22.04
if: github.ref == 'refs/heads/linux-wheels'

steps:
- uses: actions/checkout@v3

- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_ARCHS: aarch64
CIBW_BEFORE_BUILD: |
python -m pip install cmake nox numpy
nox --session libbezier-release --reuse-existing-virtualenvs
CIBW_BUILD: >-
cp38-*
cp39-*
cp310-*
cp311-*
CIBW_ENVIRONMENT: >-
BEZIER_INSTALL_PREFIX=/project/.nox/.cache/libbezier-release/usr
LD_LIBRARY_PATH=/project/.nox/.cache/libbezier-release/usr/lib
TARGET_NATIVE_ARCH=OFF
CIBW_SKIP: "*musllinux*"

- uses: actions/upload-artifact@v3
with:
name: linux-arm
path: ./wheelhouse/*.whl

linux-intel:
runs-on: ubuntu-22.04
if: github.ref == 'refs/heads/linux-wheels'
Expand Down

0 comments on commit 5e2df29

Please sign in to comment.