Skip to content

Commit

Permalink
ci: always ensure the latest brew version in installed
Browse files Browse the repository at this point in the history
Hopefully fixes the following error happening in the macOS Ci
intermittently:
```
-- Found Boost: /usr/local/lib/cmake/Boost-1.83.0/BoostConfig.cmake (found version "1.83.0") found components: filesystem program_options regex system json nowide
-- Found Python3: /usr/local/Frameworks/Python.framework/Versions/3.12/bin/python3.12 (found version "3.12.0") found components: Development Interpreter Development.Module Development.Embed
CMake Error at /usr/local/lib/cmake/Boost-1.83.0/BoostConfig.cmake:141 (find_package):
  Found package configuration file:
-- Configuring incomplete, errors occurred!

    /usr/local/lib/cmake/boost_python-1.83.0/boost_python-config.cmake

  but it set boost_python_FOUND to FALSE so package "boost_python" is
  considered to be NOT FOUND.  Reason given by package:

  No suitable build variant has been found.

  The following variants have been tried and rejected:

  * libboost_python311-mt.dylib (3.11, Boost_PYTHON_VERSION=3.12)

  * libboost_python311-mt.a (3.11, Boost_PYTHON_VERSION=3.12)

  * libboost_python311.dylib (3.11, Boost_PYTHON_VERSION=3.12)

  * libboost_python311.a (3.11, Boost_PYTHON_VERSION=3.12)

Call Stack (most recent call first):
  /usr/local/lib/cmake/Boost-1.83.0/BoostConfig.cmake:262 (boost_find_component)
  /usr/local/Cellar/cmake/3.27.7/share/cmake/Modules/FindBoost.cmake:594 (find_package)
  src/CMakeLists.txt:104 (find_package)
  src/CMakeLists.txt:137 (build_pycsdiff)
```
  • Loading branch information
lzaoral committed Dec 13, 2023
1 parent d4e0f26 commit dec5985
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:

- name: Install dependencies
run: |
brew update
brew upgrade
brew install boost boost-python3 help2man
Expand Down

0 comments on commit dec5985

Please sign in to comment.