From 7d1fc6f6617ded5819606b87e3e54ff419d035f2 Mon Sep 17 00:00:00 2001 From: Philip Cook Date: Mon, 12 Aug 2024 08:41:02 -0400 Subject: [PATCH] WIP: Try unset cmake search path to avoid homebrew --- .github/workflows/wheels.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 315590a8..0e19d159 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -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) @@ -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 @@ -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 @@ -223,4 +225,4 @@ jobs: password: ${{ secrets.PYPI_API_TOKEN }} verify_metadata: false skip_existing: true - verbose: true + verbose: true \ No newline at end of file