Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Force-remove pkg-config on macOS runners and install pkgconf #269

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

PatTheMav
Copy link
Member

Description

Fix CI failures due to pre-installed pkg-config Homebrew formula blocking installation of pkgconf, which is aliased to pkg-config since an update to Homebrew which was released after the new macOS runner images were created.

Motivation and Context

Homebrew has effectively deprecated the pkg-config formula and instead aliased pkgconf to that name.

Installing pkg-config via the Brewfile thus leads to Homebrew attempting to install pkgconf instead, which will fail because the (older) pkg-config formula is installed by default on macOS runners.

How Has This Been Tested?

Needs to be tested on CI.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code has been run through clang-format.
  • I have read the contributing document.
  • My code is not on the master branch.
  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

@PatTheMav PatTheMav force-pushed the fix-pkg-config-macos branch 4 times, most recently from 87bee55 to 9759499 Compare November 21, 2024 16:44
.github/workflows/main.yaml Show resolved Hide resolved
.github/workflows/scheduled.yaml Outdated Show resolved Hide resolved
Homebrew has effectively deprecated the pkg-config formula and instead
aliased pkgconf to that name.

Installing pkg-config via the Brewfile thus leads to Homebrew
attempting to install pkgconf instead, which will fail because the
(older) pkg-config formula is installed by default on macOS runners.
@PatTheMav PatTheMav force-pushed the fix-pkg-config-macos branch from 9759499 to 9c1930d Compare December 12, 2024 13:31
@RytoEX
Copy link
Member

RytoEX commented Dec 12, 2024

Seems fine. Is the issue with png-config expected to arise again, or is this mostly preventative at this point?

@PatTheMav
Copy link
Member Author

Seems fine. Is the issue with png-config expected to arise again, or is this mostly preventative at this point?

It depends on what GitHub and Homebrew might do in the future, for now it seems to be fixed by GitHub switching explicitly to pkgconf for now.

Copy link
Member

@RytoEX RytoEX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine.

@RytoEX RytoEX merged commit c7c3fd4 into obsproject:master Dec 17, 2024
17 checks passed
@PatTheMav PatTheMav deleted the fix-pkg-config-macos branch December 17, 2024 22:32
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