Skip to content

Instantly share code, notes, and snippets.

@ifnull
Created September 25, 2020 23:04
Show Gist options
  • Save ifnull/1167fe162d3dc0c5e7936922f9c4e837 to your computer and use it in GitHub Desktop.
Save ifnull/1167fe162d3dc0c5e7936922f9c4e837 to your computer and use it in GitHub Desktop.
Continuous Integration for Unity with CircleCI - Sample File
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