[Documentation] How to setup CI Pipeline
Links
Steps to set up Game CI pipeline for a new game.
Create a new game.
- In the project root folder:
git init git remote add origin git@gitlab.com:LPGames/ci-test.git- Get a gitignore file from gitignore.io
- git add and commit and push
cp ../ci .cp ../.gitlab-ci.yml .mkdir Assets/Scripts/Editorcp ../Assets/Scripts/Editor/BuildCommand.cs Assets/Scripts/Editor/- Edit your CI YML
- Buildname
- Unity version
- git add and commit and push
Add CI Variables
- Add CI Variables
-
UNITY_USERNAME- Your unity login username (/email) -
UNITY_PASSWORD- Your unity login password.
-
Generate License
- Run pipeline
- Download
./unity3d.alffile. - Upload the file to license generate
- Download
Unity_*.ulffile
Update CI Variables
- Add CI Variables
-
UNITY_LICENSE- The content of the file we just downloaded
-
- Re-run the pipeline.
Notes:
- WebGL decompression fallback.
Edited by Yan Loetzer