Skip to content

Commit

Permalink
WIP: Try unset cmake search path to avoid homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
cookpa committed Aug 12, 2024
1 parent 3a2ab30 commit 7d1fc6f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ jobs:
python-version: ${{ matrix.python }}

- name: Install cibuildwheel
shell: bash -el {0}
run: python -m pip install cibuildwheel==2.19.2 setuptools toml

- name: Get package name and version (Linux / Mac)
Expand Down Expand Up @@ -164,7 +165,7 @@ jobs:
CIBW_ARCHS_MACOS: ${{ matrix.arch }}

CIBW_ENVIRONMENT_MACOS: |
CMAKE_OSX_ARCHITECTURES=${{ matrix.arch }} CMAKE_PREFIX_PATH=/usr/local
CMAKE_OSX_ARCHITECTURES=${{ matrix.arch }}
CIBW_BEFORE_ALL_MACOS: |
python -m pip install cmake ninja setuptools
Expand All @@ -174,6 +175,7 @@ jobs:

- name: Install and test (Linux / Mac)
if: ${{ ! startsWith(matrix.os, 'windows-') }}
shell: bash -el {0}
run: |
python -m pip install wheelhouse/cp${{ matrix.cibw_python }}-${{matrix.platform_id }}/*.whl
tests/run_tests.sh
Expand Down Expand Up @@ -223,4 +225,4 @@ jobs:
password: ${{ secrets.PYPI_API_TOKEN }}
verify_metadata: false
skip_existing: true
verbose: true
verbose: true

0 comments on commit 7d1fc6f

Please sign in to comment.