GitHub Actions for testing and building Unity projects.
Contributions are welcomed!
Here's a complete mental model of how to build, test and deploy your Unity app.
- Checkout your repository
- Configure
request activation file
job. - Activate your license and
add
the environment variable
UNITY_LICENSE
.- Optionally verify your license using
Activate licence
job.
- Optionally verify your license using
- Configure your test jobs.
- Create builds for your desired targets.
- Optionally, return your license (applicable to pro licenses only)
- Deploy your application.
Detailed instructions can be found in each action below.
Description | Done | Status |
---|---|---|
Checkout project | ✔ | Native support |
Description | Done | Status |
---|---|---|
Request activation file | ✔ | |
Activate license | ✔ | |
Return license | ✔ |
Description | Done | Status |
---|---|---|
Test edit mode | ✔ | |
Test play mode | ✔ | |
Test all in one | ✔ |
Description | Done | Status |
---|---|---|
Build for WebGL | ✔ | |
Build for Windows | ✔ | |
Build for Linux | ✔ | |
Build for MacOS | ✔ | |
Build for Android | ❌ | In progress |
Build for iOS | ✔ | |
Build for Windows store | ❌ | In progress |
Build for PS4 | ❌ | In progress |
Build for XboxOne | ❌ | In progress |
Build for tvOS | ❌ | In progress |
Build for Switch | ❌ | In progress |
A full example implementation can be found in main.yml
of this repo.
Huge thanks to GabLeRoux for his docker image and gitlab-ci example.