]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Try to fix some CI config issues on macOS (#2261)
authorTim Kientzle <kientzle@acm.org>
Sat, 6 Jul 2024 07:46:21 +0000 (00:46 -0700)
committerGitHub <noreply@github.com>
Sat, 6 Jul 2024 07:46:21 +0000 (09:46 +0200)
macOS CI is reporting some warnings about unavailable versions of some
utilities. I'll take a stab at fixing those...

build/ci/github_actions/macos.sh

index 6941bf8738c93c882b4b41121af940af7701270a..b42ca0529702c36bc77e6527998a049160296520 100755 (executable)
@@ -1,15 +1,13 @@
 #!/bin/sh
 if [ "$1" = "prepare" ]
 then
-       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
-       brew upgrade > /dev/null
        set -x -e
-       for pkg in \
+       #Uncommenting these adds a full minute to the CI time
+       #brew update > /dev/null
+       #brew upgrade > /dev/null
+
+       # This does an upgrade if the package is already installed
+       brew install \
                autoconf \
                automake \
                libtool \
@@ -20,7 +18,4 @@ then
                zstd \
                libxml2 \
                openssl
-       do
-               brew list $pkg > /dev/null && brew upgrade $pkg || brew install $pkg
-       done
 fi