From 49ffad710548f1bd2839bf49b97a44431d88a382 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20D=C3=BCggelin?= Date: Mon, 26 Aug 2024 17:31:35 +0200 Subject: [PATCH] Try to fix macOS wheel build (#41) * :wrench: Add glm to path * :arrow_down: 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 * :construction: Temporarily disable tag and upload * Revert ":construction: Temporarily disable tag and upload" This reverts commit 9f53fa1f1e19e6eff1d357e5c6e7e001bcaf26a2. --- .github/workflows/build-wheels.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index da00d08..66cc9da 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -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 @@ -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