Skip to content

Commit

Permalink
Use GHA M1 runners for macOS builds (#117)
Browse files Browse the repository at this point in the history
* Use GHA M1 runners for macOS builds

* Add a workflow step to install ninja on macOS before cibuildwheel
  • Loading branch information
nightlark authored Jan 31, 2024
1 parent c27011b commit d7bd8e3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,12 @@ jobs:
build: ""
artifact_suffix: "windows_x86"
use_qemu: false
- os: macos-11
arch: "x86_64 universal2 arm64"
- os: macos-14
arch: "arm64 universal2 x86_64"
build: ""
artifact_suffix: "macos"
use_qemu: false


steps:
- uses: actions/checkout@v4
with:
Expand All @@ -95,6 +94,10 @@ jobs:
mingw-w64-${{matrix.mingw_env}}-toolchain
if: runner.os == 'Windows'

- name: Install ninja (macOS)
run: which ninja || brew install ninja
if: runner.os == 'macOS'

- name: Build wheels
uses: pypa/cibuildwheel@v2.16.5
env:
Expand Down

0 comments on commit d7bd8e3

Please sign in to comment.