Skip to content

Commit

Permalink
Try to fix macOS wheel build (#41)
Browse files Browse the repository at this point in the history
* 🔧 Add glm to path

* ⬇️ Downgrade macos runner

macos-latest is arm, so not sure if x86 wheels can be built on that:

https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories

* 🚧 Temporarily disable tag and upload

* Revert "🚧 Temporarily disable tag and upload"

This reverts commit 9f53fa1.
  • Loading branch information
pypae authored Aug 26, 2024
1 parent fb4a0b0 commit 49ffad7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest, macos-13]

steps:
- uses: actions/checkout@v2
Expand All @@ -24,7 +24,7 @@ jobs:
# https://github.com/mapbox/rio-color/blob/0ab59ad8e2db99ad1d0c8bd8c2e4cf8d0c3114cf/appveyor.yml#L3
CIBW_SKIP: "cp2* cp35* pp* *-win32 *-manylinux_i686"
CIBW_ARCHS_MACOS: x86_64 arm64
CIBW_BEFORE_BUILD_MACOS: brew install glm
CIBW_BEFORE_BUILD_MACOS: brew install glm && export CPLUS_INCLUDE_PATH=$(brew --prefix glm)/include:$CPLUS_INCLUDE_PATH
CIBW_BEFORE_ALL_LINUX: curl -sL https://github.com/g-truc/glm/releases/download/0.9.9.8/glm-0.9.9.8.zip > glm.zip && unzip -q glm.zip && cp -r glm/glm/ /usr/include/

- uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 49ffad7

Please sign in to comment.