From 2e5c46d4c3851568f90de0ffc6b32a996d2ae9ab Mon Sep 17 00:00:00 2001 From: Tom Vander Aa Date: Mon, 10 Jun 2024 13:28:29 +0200 Subject: [PATCH] ci: put openblas-path in matrix --- .github/workflows/wheels.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index bcff99c3..abec8d28 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -15,10 +15,13 @@ jobs: include: - os: ubuntu-latest macos-target: unused + openblas-path: unused - os: macos-13 macos-target: 13.0 + openblas-path: /usr/local/opt/openblas - os: macos-14 macos-target: 14.0 + openblas-path: /opt/homebrew/opt/openblas steps: - uses: actions/checkout@v4 @@ -32,7 +35,9 @@ jobs: - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse env: - CIBW_ENVIRONMENT: MACOSX_DEPLOYMENT_TARGET=${{ matrix.macos-target }} + CIBW_ENVIRONMENT: | + MACOSX_DEPLOYMENT_TARGET=${{ matrix.macos-target }} + CMAKE_PREFIX_PATH=${{ matrix.openblas-path }} - uses: actions/upload-artifact@v4 with: