Fix macos build (#5703)

* Update deps.sh

GitHub's virtual environment provides 7zip and llvm by default, so brew may fail to install them as another version is already installed

* Use || true to ignore brew installation errors
This commit is contained in:
Vitor K 2021-02-07 05:40:10 -03:00 committed by GitHub
parent 6b2e7b77cc
commit 2e3834f880
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,5 +3,5 @@
brew update brew update
brew unlink python@2 || true brew unlink python@2 || true
rm '/usr/local/bin/2to3' || true rm '/usr/local/bin/2to3' || true
brew install qt5 sdl2 p7zip ccache ffmpeg llvm ninja brew install qt5 sdl2 p7zip ccache ffmpeg llvm ninja || true
pip3 install macpack pip3 install macpack