Skip to content

Fix macOS cmake installation conflict in GitHub Actions#151

Merged
astomodynamics merged 1 commit intomasterfrom
fix-macos-cmake-workflow
Sep 1, 2025
Merged

Fix macOS cmake installation conflict in GitHub Actions#151
astomodynamics merged 1 commit intomasterfrom
fix-macos-cmake-workflow

Conversation

@astomodynamics
Copy link
Owner

@astomodynamics astomodynamics commented Sep 1, 2025

Summary

  • Fix cmake installation error on macOS in GitHub Actions CI
  • Resolves conflict between different homebrew taps

Problem

The macOS CI was failing with:

Error: cmake was installed from the local/pinned tap
but you are trying to install it from the homebrew/core tap.

Solution

  • Uninstall any existing cmake installation before reinstalling
  • Use --ignore-dependencies flag to avoid removing dependent packages
  • Add || true to ensure workflow continues even if commands fail

Handle existing cmake installation from different tap by uninstalling
before reinstalling from homebrew/core
@gemini-code-assist
Copy link

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

@astomodynamics astomodynamics merged commit e8a622b into master Sep 1, 2025
2 checks passed
@astomodynamics astomodynamics deleted the fix-macos-cmake-workflow branch September 1, 2025 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant