From 9a5488f08c6def7451871fd4af384c6f51d184cf Mon Sep 17 00:00:00 2001 From: Martin Matuska Date: Mon, 2 Nov 2020 13:57:03 +0100 Subject: CI: fix homebrew errors in MacOS build --- build/ci/github_actions/macos.sh | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'build') diff --git a/build/ci/github_actions/macos.sh b/build/ci/github_actions/macos.sh index e51574cb..ba72b4a7 100755 --- a/build/ci/github_actions/macos.sh +++ b/build/ci/github_actions/macos.sh @@ -1,9 +1,24 @@ #!/bin/sh if [ "$1" = "prepare" ] then - set -x -e + set -x + brew uninstall openssl@1.0.2t > /dev/null + brew uninstall python@2.7.17 > /dev/null + brew untap local/openssl > /dev/null + brew untap local/python2 > /dev/null brew update > /dev/null - for pkg in autoconf automake libtool pkg-config cmake xz lz4 zstd + brew upgrade > /dev/null + set -x -e + for pkg in \ + autoconf \ + automake \ + libtool \ + pkg-config \ + cmake \ + xz \ + lz4 \ + zstd \ + openssl do brew list $pkg > /dev/null && brew upgrade $pkg || brew install $pkg done -- cgit v1.2.1