From 95e1a07bb981b5724b2c880b7b72b09c00be285e Mon Sep 17 00:00:00 2001 From: Antoine Lambert Date: Thu, 23 May 2024 11:24:12 +0200 Subject: [PATCH] gha/homebrew: Bump Python to 3.12 --- .github/workflows/macos-homebrew-build.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/macos-homebrew-build.yml b/.github/workflows/macos-homebrew-build.yml index 55e9764667..617c29bfac 100644 --- a/.github/workflows/macos-homebrew-build.yml +++ b/.github/workflows/macos-homebrew-build.yml @@ -10,12 +10,12 @@ jobs: config: - name: Talipot build on macOS 12 (x86_64) os: macos-12 - pyver: "3.11" + pyver: "3.12" homebrew_path: /usr/local - # - name: Talipot build on macOS 14 (arm64) - # os: macos-14 - # pyver: "3.11" - # homebrew_path: /opt/homebrew + - name: Talipot build on macOS 14 (arm64) + os: macos-14 + pyver: "3.12" + homebrew_path: /opt/homebrew steps: - name: Cancel Previous Runs uses: styfle/cancel-workflow-action@0.12.1 @@ -56,6 +56,8 @@ jobs: restore-keys: | ${{ matrix.config.os }}-ccache- save-always: true + - name: Set PYTHONPATH to fix sipbuild import + run: export PYTHONPATH=$(echo ${{ matrix.config.homebrew_path }}/Cellar/sip/*/libexec/lib/python${{ matrix.config.pyver }}/site-packages/) - name: Create build directory run: mkdir build - name: Configure Talipot core build with CMake