Skip to content

Commit d101d45

Browse files
committed
try M1 via universal2 builds
1 parent b1f077e commit d101d45

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/wheels.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,12 @@ jobs:
5050
- name: Install Python dependencies
5151
run: pip install maturin
5252
- name: Build wheels
53+
if: matrix.os != 'macos-latest'
5354
run: maturin build --release --strip
55+
- name: Build wheels universal2
56+
if: matrix.os == 'macos-latest'
57+
# OSX: universal2 binaries, also for M1
58+
run: maturin build --release --strip --universal2
5459
- name: Run unit tests on Unix
5560
if: matrix.os != 'windows-latest'
5661
# TODO: can we install the wheel built above instead?

0 commit comments

Comments
 (0)