Skip to content

Commit

Permalink
build only aarch64-apple-darwin target instead of universal2 wheel to…
Browse files Browse the repository at this point in the history
… reduce wheel size (#2566)
  • Loading branch information
ritchie46 committed Feb 6, 2022
1 parent 6f08d15 commit 13e5062
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/create-py-mac-universal2-release.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create macOs universal2 python release
name: Create macOs universal2/aarch64-apple-darwin python release

on:
push:
Expand Down Expand Up @@ -43,4 +43,9 @@ jobs:
with:
maturin-version: 0.12.1
command: publish
args: -m py-polars/Cargo.toml --no-sdist --universal2 -o wheels -i python -u ritchie46
args: -m py-polars/Cargo.toml --target aarch64-apple-darwin --no-sdist -o wheels -i python -u ritchie46
# uncomment to build a universal2 wheel
# we don't run it because it is twice as big and not needed because we build
# for both architectures separately
# args: -m py-polars/Cargo.toml --no-sdist --universal2 -o wheels -i python -u ritchie46

0 comments on commit 13e5062

Please sign in to comment.