Last active
April 22, 2020 07:38
-
-
Save Nesh108/cd157ac02279578e3f153d17248de837 to your computer and use it in GitHub Desktop.
Unity3D-CI: Running Automated Builds via Script - Simple
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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