aboutsummaryrefslogtreecommitdiff
path: root/build/ci/github_actions/macos.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build/ci/github_actions/macos.sh')
-rwxr-xr-xbuild/ci/github_actions/macos.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/build/ci/github_actions/macos.sh b/build/ci/github_actions/macos.sh
new file mode 100755
index 000000000000..e51574cb6dfa
--- /dev/null
+++ b/build/ci/github_actions/macos.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+if [ "$1" = "prepare" ]
+then
+ set -x -e
+ brew update > /dev/null
+ for pkg in autoconf automake libtool pkg-config cmake xz lz4 zstd
+ do
+ brew list $pkg > /dev/null && brew upgrade $pkg || brew install $pkg
+ done
+fi