Skip to content

Commit

Permalink
Only run on PR. Split up macos build by python version
Browse files Browse the repository at this point in the history
  • Loading branch information
austinschneider committed Jun 3, 2024
1 parent dd6ed07 commit 9db0637
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Build

on: [push, pull_request]
on: [pull_request]

jobs:
build_wheels_macos:
Expand All @@ -10,6 +10,7 @@ jobs:
matrix:
# macos-13 is an intel runner, macos-14 is apple silicon
os: [macos-13, macos-14]
py: [cp38, cp39, cp311, cp312]

steps:
- uses: actions/checkout@v4
Expand All @@ -25,7 +26,8 @@ jobs:
env:
# configure cibuildwheel to build native archs ('auto'), and some
# emulated ones
CIBW_ARCHS_LINUX: auto aarch64 ppc64le s390x
CIBW_BUILD: ${{ matrix.py }}-*
CIBW_ARCHS_LINUX: auto

- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 9db0637

Please sign in to comment.