Skip to content

Commit 4f43fe8

Browse files
committed
ci: always ensure the latest brew version in installed
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) ```
1 parent d4e0f26 commit 4f43fe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/macos.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
- name: Install dependencies
2929
run: |
30-
brew upgrade
30+
brew update
3131
brew install boost boost-python3 help2man
3232
3333
- name: Build and check

0 commit comments

Comments
 (0)