Skip to content

Commit

Permalink
Fix MacOS build (#23)
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 390cc51 commit c38f232
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,12 @@ jobs:
- name: Install requirements (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
brew install macfuse
echo "LDFLAGS=-L/usr/local/opt/llvm/lib" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion wfslib

0 comments on commit c38f232

Please sign in to comment.