build: another try to handle python unlink/link due to homebrew

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram
2023-12-18 12:11:01 +01:00
committed by Ron Evans
parent de3f0af829
commit ceeb233ff6
+1 -4
View File
@@ -122,14 +122,11 @@ jobs:
steps:
- name: Set up Homebrew
uses: Homebrew/actions/setup-homebrew@master
with:
cask: false # remove this if you need `brew install --cask`
test-bot: false # remove this if you need `brew test-bot`
- name: Fix Python symlinks
run: |
# Github runners have broken symlinks, so relink
# see: https://github.com/actions/setup-python/issues/577
brew unlink python@3.11
brew list -1 | grep python | while read formula; do brew unlink $formula; brew link --overwrite $formula; done
- name: Install LLVM
run: |
brew install llvm@${{ matrix.version }}