tdlight-java-natives/scripts/continuous-integration/github-workflows/install-dependencies.sh
Andrea Cavalli 4d25daccc3 Bugfixes
2021-09-15 12:12:02 +02:00

31 lines
816 B
Bash
Executable File

#!/bin/bash -e
set -e
if [[ "$OPERATING_SYSTEM_NAME" == "linux" ]]; then
echo "==Linux===="
sudo apt-get update
sudo apt-get install -y make gperf \
ccache python3 python3-pip php-cli \
build-essential gcc-multilib g++-multilib
elif [[ "$OPERATING_SYSTEM_NAME" == "osx" ]]; then
echo "==OSX======"
export PYTHON=36
brew install swig;
brew install gperf openssl coreutils
elif [[ "$OPERATING_SYSTEM_NAME" == "windows" ]]; then
echo "==Windows=="
#choco install visualstudio2019buildtools --version=16.10.4.0 --allow-downgrade --package-parameters "--passive"
#choco install visualstudio2019-workload-vctools
choco install base64
choco install gperf
choco install strawberryperl
else
echo "Unrecognized os: $OPERATING_SYSTEM_NAME"
exit 1
fi
cd ./scripts/core/
./install-dependencies.sh
cd ../../