aboutsummaryrefslogtreecommitdiffstats
path: root/build/ci/github_actions/macos.sh
blob: ba72b4a7717845fe8607bc040fa9d4a643e2baf4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/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 \
		autoconf \
		automake \
		libtool \
		pkg-config \
		cmake \
		xz \
		lz4 \
		zstd \
		openssl
	do
		brew list $pkg > /dev/null && brew upgrade $pkg || brew install $pkg
	done
fi