]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
CI: fix homebrew errors in MacOS build
authorMartin Matuska <martin@matuska.org>
Mon, 2 Nov 2020 12:57:03 +0000 (13:57 +0100)
committerMartin Matuska <martin@matuska.org>
Mon, 2 Nov 2020 12:57:03 +0000 (13:57 +0100)
build/ci/github_actions/macos.sh

index e51574cb6dfabff9c3ce17752651e1f618bca0d7..ba72b4a7717845fe8607bc040fa9d4a643e2baf4 100755 (executable)
@@ -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