Created
September 25, 2020 23:04
-
-
Save ifnull/1167fe162d3dc0c5e7936922f9c4e837 to your computer and use it in GitHub Desktop.
Continuous Integration for Unity with CircleCI - Sample File
This file contains 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
docker run --rm \\ | |
--workdir "/root/project/.circleci/" \\ | |
--volume "$(pwd):/root/project" \\ | |
gableroux/unity3d:$UNITY_VERSION \\ | |
bash -c 'find -name "Unity*.ulf" -exec cp {} unity3d.x.ulf \\;' | |
docker run --rm \\ | |
--env UNITY_CIPHER \\ | |
--workdir "/root/project/.circleci/" \\ | |
--volume "$(pwd):/root/project" \\ | |
gableroux/unity3d:$UNITY_VERSION \\ | |
bash -c 'openssl aes-256-cbc -md sha512 -pbkdf2 -e -in ./unity3d.x.ulf -out ./unity3d.x.ulf-enc -k $UNITY_CIPHER;' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment