forked from pytroll/aggdraw
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding back support for arm64 macOS builds.
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.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
|
@@ -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: | ||
|