Created
September 25, 2020 23:01
-
-
Save ifnull/2d430f07c3336fcf71ae21f8068cce85 to your computer and use it in GitHub Desktop.
Continuous Integration for Unity with CircleCI - Sample File
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
mkdir /.circleci/; | |
docker run -it --rm \\ | |
--env UNITY_USERNAME \\ | |
--env UNITY_PASSWORD \\ | |
--env "TEST_PLATFORM=linux" \\ | |
--workdir "/root/project/.circleci/" \\ | |
--volume "$(pwd):/root/project" \\ | |
gableroux/unity3d:$UNITY_VERSION \\ | |
bash -c '/opt/Unity/Editor/Unity -quit -nographics -logFile /tmp/unity-createManualActivationFile.log -batchmode -createManualActivationFile -username "$UNITY_USERNAME" -password "$UNITY_PASSWORD"; find -name "Unity*" -exec mv {} unity3d.alf \\;' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment