Skip to content

Commit

Permalink
Build MacOS ARM64 binaries with GHA (#29)
Browse files Browse the repository at this point in the history
* add macos-aarch64 job

* try to trigger GHA

* remove push trigger

* merge mac arm64 job definition

* shorten some strings
  • Loading branch information
gau-nernst authored Feb 28, 2023
1 parent b311a66 commit 76d0261
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
target: [x86_64, aarch64]
steps:
- uses: ilammy/setup-nasm@v1
- uses: actions/checkout@v3
Expand All @@ -56,12 +57,13 @@ jobs:
with:
profile: minimal
toolchain: stable
target: ${{ matrix.target }}-apple-darwin
override: true
- uses: messense/maturin-action@v1
with:
maturin-version: latest
command: build
args: --release --out dist -i python${{ matrix.python-version }}
args: --target ${{ matrix.target }}-apple-darwin --release --out dist -i python${{ matrix.python-version }}
- name: Upload wheels
uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit 76d0261

Please sign in to comment.