-
-
Notifications
You must be signed in to change notification settings - Fork 88
Continuous Integration
GitHub Actions are used to build the project after every push to the main branch.
The configration can be found in .github/workflows.
Unity build is based on game-ci/unity-builder and game-ci/unity-test-runner respectively. They provide both, GitHub Actions and Docker images to test and build Unity projects. Many thanks to them! See also the GameCI website.
The build results (aka. artifacts) are uploaded to GitHub and available for download.
Only the main branch is built to create executables for all target platforms. Pull Requests run the tests, but do not create an executable every time.
- TODO: new versions of game-ci should fetch the Unity license as needed based on Unity account credentials
Each Unity license is bound to a specific hardware configuration and Unity version.
Thus, when upgrading the Unity version, then a new license has to be activated and stored as UNITY_LICENSE variable for GitHub Actions .
Manual Unity license activation is done in two steps:
- Get license request (.alf file)
- Use the
Acquire Unity License RequestGitHub Action. It uploads the .alf file as build artifact.
- Use the
- Get activated license response (.ulf file)
- Visit Unity License Activation Page, upload the .alf file from previous step, click through the activation, download the .ulf file
The contents of the .ulf file is the value for the UNITY_LICENSE GitHub Actions environment variable.
Still having questions or looking for general help with UltraStar games? Please see ❔Common FAQ or go to 💬UltraStar Play Discord. There is also a 👋🏻central help desk for UltraStar, Vocaluxe, and Performous Communities on Discord.