-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
workflow(macos): update workflow (merge brew step and fix
brew link
…
… errors) Signed-off-by: Rui Chen <[email protected]>
- Loading branch information
1 parent
f59a7c1
commit 7450c50
Showing
1 changed file
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,11 +14,22 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- run: brew update | ||
- name: Install dependencies via Homebrew | ||
run: | | ||
brew update | ||
- run: | | ||
# fix `brew link [email protected]` issue | ||
rm -rf /usr/local/bin/2to3-3.12 | ||
rm -f /usr/local/bin/2to3 | ||
rm -f /usr/local/bin/idle3 | ||
rm -f /usr/local/bin/pydoc3 | ||
rm -f /usr/local/bin/python3 | ||
rm -f /usr/local/bin/python3-config | ||
rm -f /usr/local/bin/2to3-3.12 | ||
rm -f /usr/local/bin/idle3.12 | ||
rm -f /usr/local/bin/pydoc3.12 | ||
rm -f /usr/local/bin/python3.12 | ||
rm -f /usr/local/bin/python3.12-config | ||
brew install webp gdk-pixbuf meson ninja pkg-config | ||
|