aboutsummaryrefslogtreecommitdiff
path: root/.github/scripts/install_deps.sh
diff options
context:
space:
mode:
Diffstat (limited to '.github/scripts/install_deps.sh')
-rwxr-xr-x.github/scripts/install_deps.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/scripts/install_deps.sh b/.github/scripts/install_deps.sh
new file mode 100755
index 0000000000..4727b5d08d
--- /dev/null
+++ b/.github/scripts/install_deps.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+os=$(uname -s)
+if [[ $os == Linux ]]; then
+ sudo apt-get update
+ sudo apt-get install -y autoconf automake build-essential cmake curl gettext libtool-bin locales-all ninja-build pkg-config unzip "$@"
+elif [[ $os == Darwin ]]; then
+ brew update --quiet
+ brew install automake ninja "$@"
+fi