Skip to content

Instantly share code, notes, and snippets.

@Nesh108
Last active April 22, 2020 07:38
Show Gist options
  • Save Nesh108/cd157ac02279578e3f153d17248de837 to your computer and use it in GitHub Desktop.
Save Nesh108/cd157ac02279578e3f153d17248de837 to your computer and use it in GitHub Desktop.
Unity3D-CI: Running Automated Builds via Script - Simple
#!/usr/bin/env bash
set -ex
LICENSE_PATH="<PATH_TO_YOUR_LICENSE_FILE>"
export UNITY_VERSION="2019.3.9f1"
export BUILD_NAME="<YOUR_PROJECT_NAME>"
export UNITY_LICENSE_CONTENT="$(cat $LICENSE_PATH)"
export UNITY_USERNAME="<YOUR_UNITY_USERNAME>"
export UNITY_PASSWORD="<YOUR_UNITY_PASSWORD>"
export IMAGE_NAME="gableroux/unity3d:$UNITY_VERSION"
BUILD_TARGET=StandaloneWindows64 ./ci/build.sh
BUILD_TARGET=StandaloneOSX ./ci/build.sh
BUILD_TARGET=StandaloneLinux64 ./ci/build.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment