Skip to content

Commit

Permalink
Fix MacOS build
Browse files Browse the repository at this point in the history
Add a better workaround for actions/setup-python#577
  • Loading branch information
koolkdev authored Feb 9, 2024
1 parent 3e4ffdc commit 8304c6f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@ jobs:
- name: Set llvm (MacOS)
run: |
brew update
# Temporary fix, see https://github.com/orgs/Homebrew/discussions/3895
brew install --overwrite python@3.12
# Temporary fix, see https://github.com/actions/setup-python/issues/577
rm /usr/local/bin/2to3 || true
rm /usr/local/bin/idle3 || true
rm /usr/local/bin/pydoc3 || true
rm /usr/local/bin/python3 || true
rm /usr/local/bin/python3-config || true
brew install llvm
echo "CC=/usr/local/opt/llvm/bin/clang" >> $GITHUB_ENV
echo "CXX=/usr/local/opt/llvm/bin/clang++" >> $GITHUB_ENV
Expand Down

0 comments on commit 8304c6f

Please sign in to comment.