From dae0e50fa274afc8aab9f6addbc9aa05147b4d25 Mon Sep 17 00:00:00 2001 From: Tomo Sasaki Date: Mon, 1 Sep 2025 02:24:50 -0400 Subject: [PATCH] Fix macOS cmake installation conflict in CI Handle existing cmake installation from different tap by uninstalling before reinstalling from homebrew/core --- .github/workflows/build.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 78f90ce7..b5237db4 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -33,7 +33,9 @@ jobs: if: runner.os == 'macOS' run: | # Basic dependencies - brew install eigen cmake + brew install eigen || true + brew uninstall --ignore-dependencies cmake || true + brew install cmake # Dependencies for matplotplusplus brew install gnuplot