Merge pull request #3100 from PatTheMav/macos-azure-pipelines-fix

CI: Quick fix to cover pre-installed Homebrew dependencies for macOS
This commit is contained in:
Joel Bethke 2020-06-24 18:13:01 -05:00 committed by GitHub
commit 381960a7bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,14 @@ sudo installer -pkg ./Packages.pkg -target /
brew update
#Base OBS Deps and ccache
brew install jack speexdsp ccache mbedtls freetype fdk-aac
for DEPENDENCY in jack speexdsp ccache mbedtls freetype fdk-aac; do
if [ ! -d "$(brew --cellar)/${DEPENDENCY}" ]; then
brew install $DEPENDENCY
else
brew upgrade $DEPENDENCY
fi
done
brew install https://gist.githubusercontent.com/DDRBoxman/9c7a2b08933166f4b61ed9a44b242609/raw/ef4de6c587c6bd7f50210eccd5bd51ff08e6de13/qt.rb
if [ -d "$(brew --cellar)/swig" ]; then
brew unlink swig