Skip to content

Commit

Permalink
github/workflows: unlink macOS pkg-config if installed
Browse files Browse the repository at this point in the history
This works around an issue with recent Github CI runners.
  • Loading branch information
jeeb committed Nov 21, 2024
1 parent 3cc2bbf commit 069000d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,10 @@ jobs:
find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete -print
brew unlink python && brew link --overwrite python
- name: Unlink pkg-config if the CI runner happens to have it already installed
run: |
brew ls --versions pkg-config && brew unlink pkg-config || :
- name: Change Xcode version
if: ${{ matrix.xcode != '' }}
run: |
Expand Down

0 comments on commit 069000d

Please sign in to comment.