Skip to content

Commit

Permalink
WIP: cross compile for MacOS targets
Browse files Browse the repository at this point in the history
  • Loading branch information
kylc committed Dec 17, 2023
1 parent 2ad3d87 commit a559baa
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ jobs:
include:
- os: ubuntu-latest
target: x86_64
- os: macos-latest
target: x86_64

steps:
- name: checkout
Expand All @@ -31,8 +29,22 @@ jobs:
- name: build wheel
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist
target: aarch64-apple-darwin
args: --zig --release --out dist
manylinux: auto
sccache: true
- name: build wheel (2)
uses: PyO3/maturin-action@v1
with:
target: x86_64-apple-darwin
args: --zig --release --out dist
manylinux: auto
sccache: true
- name: build wheel (3)
uses: PyO3/maturin-action@v1
with:
target: x86_64-unknown-linux-gnu
args: --zig --release --out dist
manylinux: auto
sccache: true
- name: delocate wheel (macOS)
Expand Down

0 comments on commit a559baa

Please sign in to comment.