Skip to content

Conversation

ddatsko
Copy link
Contributor

@ddatsko ddatsko commented Sep 9, 2025

Fix CI build for MacOS by removing cmake installation from brew

Description

I noticed that recently all the github actions building for MacOS are failing at the moment of .dmg file creation. By deeper inspection I have found that in the Install Dependencies stage we run brew install cmake ... create-dmg. This command fails (see the screenshot from the latest MacOS build action from master attached below) as cmake is already installed from local/pinned tap.
image

Thus create-dmg (as well as some other packages) is not installed leading to cmake trying to install the create-dmg in CreateMacDMG.cmake, which fails. I haven't checked why the CPMAddPackage fails there, but I guess, this is an issue with CMake version 4.4.1.

By removing the cmake from brew install command, rest of the listed packages get installed, and workflow finishes successfully.

Test Steps

Trigger MacOS build github action in master branch

Checklist:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

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