Skip to content

CI: move the macOS brew-curl uninstall after CMake configure - #26

Merged
mlin merged 1 commit into
mlin:mainfrom
Wid-L-Hacker:conrad/macos-ci-curl-uninstall
Nov 10, 2026
Merged

mlin merged 1 commit into
mlin:mainfrom
Wid-L-Hacker:conrad/macos-ci-curl-uninstall

Conversation

@mlin

@mlin mlin commented Nov 10, 2026

Copy link
Copy Markdown
Owner

The macOS job uninstalls Homebrew's curl so the tests exercise the older system libcurl, but the uninstall ran in the dependencies step, before configure. The runner's git itself loads Homebrew's libcurl, so with the keg removed the FetchContent clones during configure die in dyld and the job fails before compiling anything.

Move the uninstall into the build step, after configure and before the build: git works while it is needed, and the tests still run against the system libcurl.

The macOS job uninstalls Homebrew's curl so the tests exercise the older system libcurl. The uninstall ran in the dependencies step, before configure -- but the runner's git loads Homebrew's libcurl, so with the keg removed, the FetchContent clones during configure die in dyld and the job fails before compiling anything. Move the uninstall into the build step, after configure and before the build: git works while it is needed, and the tests still run against the system libcurl.
@mlin
mlin merged commit 647d20b into mlin:main Nov 10, 2026
8 of 10 checks passed
@mlin
mlin deleted the conrad/macos-ci-curl-uninstall branch November 10, 2026 04:37
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.

2 participants