mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-14 12:04:29 +00:00
infra: fix macos build crash
This commit is contained in:
parent
862a6662ee
commit
b581cbb123
1 changed files with 18 additions and 0 deletions
18
.github/workflows/build_macos.yml
vendored
18
.github/workflows/build_macos.yml
vendored
|
@ -16,6 +16,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
|
- name: Unbreak Python in Github Actions
|
||||||
|
run: |
|
||||||
|
find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
|
||||||
|
sudo rm -rf /Library/Frameworks/Python.framework/
|
||||||
|
brew install --force python3 && brew unlink python3 && brew unlink python3 && brew link --overwrite python3
|
||||||
|
|
||||||
- name: Install Packages
|
- name: Install Packages
|
||||||
run: |
|
run: |
|
||||||
export HOMEBREW_NO_INSTALL_FROM_API=1
|
export HOMEBREW_NO_INSTALL_FROM_API=1
|
||||||
|
@ -35,6 +41,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
|
- name: Unbreak Python in Github Actions
|
||||||
|
run: |
|
||||||
|
find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
|
||||||
|
sudo rm -rf /Library/Frameworks/Python.framework/
|
||||||
|
brew install --force python3 && brew unlink python3 && brew unlink python3 && brew link --overwrite python3
|
||||||
|
|
||||||
- name: Install Packages
|
- name: Install Packages
|
||||||
run: |
|
run: |
|
||||||
brew update
|
brew update
|
||||||
|
@ -52,6 +64,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
|
- name: Unbreak Python in Github Actions
|
||||||
|
run: |
|
||||||
|
find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
|
||||||
|
sudo rm -rf /Library/Frameworks/Python.framework/
|
||||||
|
brew install --force python3 && brew unlink python3 && brew unlink python3 && brew link --overwrite python3
|
||||||
|
|
||||||
- name: Install Packages
|
- name: Install Packages
|
||||||
run: |
|
run: |
|
||||||
brew update
|
brew update
|
||||||
|
|
Loading…
Add table
Reference in a new issue