CI: Update macOS build script to support alternative build configs

Also adds a tweak to the brew update which _might_ fix Azure CI.
This commit is contained in:
PatTheMav
2020-10-23 23:36:07 -07:00
committed by Jim
parent 4a53958c87
commit c16517ca83
2 changed files with 35 additions and 11 deletions
+9 -1
View File
@@ -53,7 +53,15 @@ jobs:
- name: 'Install prerequisites (Homebrew)'
shell: bash
run: |
brew update --preinstall
if [ -d /usr/local/opt/openssl@1.0.2t ]; then
brew uninstall openssl@1.0.2t
brew untap local/openssl
fi
if [ -d /usr/local/opt/python@2.7.17 ]; then
brew uninstall python@2.7.17
brew untap local/python2
fi
brew bundle --file ./CI/scripts/macos/Brewfile
- name: 'Restore Chromium Embedded Framework from cache'
id: cef-cache