diff --git a/.github/scripts/linux-setup.sh b/.github/scripts/linux-setup.sh new file mode 100755 index 00000000..f5da2497 --- /dev/null +++ b/.github/scripts/linux-setup.sh @@ -0,0 +1,81 @@ +# This script downloads all necessary dependencies to run the CI on Linux. +# It can also be run locally, as long as you have the following dependencies: +# - python 3.1x +# - java +# - C & C++ compiler (aliased to cc and cpp commands respectively) +# - wget +# - tar +# +# The script takes the following positional command line parameters: +# 1. Path to this script directory from the current working directory +# 2. Path to the desired dependencies directory +# 3. Boolean true/false; whether to initialize a python virtual env + +main() { + # Validate command line parameters + if [ $# -ne 3 ]; then + echo "Usage: $0