Skip to content

Commit

Permalink
Adding back support for arm64 macOS builds.
Browse files Browse the repository at this point in the history
By running the build task on an arm64 runner we get wheels that include the dependency libraries (libfreetype, and libpng).
  • Loading branch information
Alex Ciobanu committed Feb 28, 2024
1 parent 1fa60ed commit 961982b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ jobs:
- os: windows-2019
cibw_archs: "AMD64 ARM64"
- os: macos-11
cibw_archs: "x86_64" # arm64" # No freetype on non-native platforms
cibw_archs: "x86_64"
- os: macos-14 # The macos-14 runner is arm64, while up until macos-13 the runners are x86_64.
cibw_archs: "arm64"
- os: "ubuntu-20.04"
cibw_archs: "aarch64"
- os: "ubuntu-20.04"
Expand All @@ -54,6 +56,13 @@ jobs:
with:
platforms: all

# See discussion here: https://github.com/actions/runner-images/issues/9256
- name: Maker sure pipx is installed for the arm64 macOS runners.
if: runner.os == 'macOS' && runner.arch == 'ARM64'
run: |
brew install pipx
pipx ensurepath
- name: Build wheels
uses: pypa/[email protected]
env:
Expand Down

0 comments on commit 961982b

Please sign in to comment.