mirror of
https://github.com/game-ci/unity-actions.git
synced 2026-01-29 04:39:07 +08:00
0f6ea2cda849bb14890ea20de01d7e98da838d90
Unity Actions
Github actions for testing and building Unity projects. 🦄
Contributions are welcomed!
Workflow steps
Here's a complete mental model of how to build, test and deploy your Unity app.
- Checkout your repository
- Configure
request activation filejob. - Activate your license and
add
the environment variable
UNITY_LICENSE.- Optionally verify your license using
Activate licencejob.
- Optionally verify your license using
- Configure your test jobs.
- Create builds for your desired targets.
- Deploy your application.
Detailed instructions can be found in each action below.
Jobs
| Description | Done | Status |
|---|---|---|
| Checkout project | ✔ | Native support |
| Request activation file | ✔ | |
| Activate license | ✔ | Not yet separated |
| Test all in one | ✔ | Not yet separated |
| Test edit mode only | ✔ | Not yet separated |
| Test play mode only | ✔ | Not yet separated |
| Build for WebGL | ❌ | In progress |
| Build for Windows | ❌ | In progress |
| Build for Linux | ❌ | In progress |
| Build for MacOS | ❌ | In progress |
| Build for Android | ❌ | In progress |
| Build for iOS | ❌ | In progress |
| Complete workflow | ✔ |
An example implementation can be found in main.yml from this repo.
Credits
Huge thanks to gableroux for his docker image and gitlab-ci example.
Languages
Mathematica
53.9%
C#
46.1%