Skip to content

Commit

Permalink
Merge pull request #94 from devbanu/maint/1.3
Browse files Browse the repository at this point in the history
Adding back support for arm64 macOS wheels.
  • Loading branch information
djhoese authored Mar 6, 2024
2 parents 1fa60ed + 8bf4e33 commit ca05390
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .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,8 +56,15 @@ jobs:
with:
platforms: all

# See discussion here: https:/actions/runner-images/issues/9256
- name: Make 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].2
uses: pypa/[email protected].5
env:
CIBW_TEST_COMMAND: python {project}/selftest.py
CIBW_BEFORE_BUILD_LINUX: yum install -y freetype-devel
Expand Down

0 comments on commit ca05390

Please sign in to comment.