This PR uses https://github.com/webbertakken/unity-actions to run the test suite for PRs and pushes. It will be able to do builds as well in future, once IL2CPP is supported by the action code and docker images.
It needs UNITY_LICENSE setting in the repo secrets. As explained in https://github.com/marketplace/actions/unity-request-activation-file, the "Acquire activation file" action creates an ulf file to use to get a license, which should be put into the secret. Then the main test build should work. That action can then be disabled.
There may be an easier way to do this that doesn't need that activation action, but I'm new to Unity so I'm mainly just following instructions :)
As always when developing CI stuff, there are some dead end commits here. I'd squash on merge if I were you.
This PR uses https://github.com/webbertakken/unity-actions to run the test suite for PRs and pushes. It will be able to do builds as well in future, once IL2CPP is supported by the action code and docker images.
It needs
UNITY_LICENSE
setting in the repo secrets. As explained in https://github.com/marketplace/actions/unity-request-activation-file, the "Acquire activation file" action creates anulf
file to use to get a license, which should be put into the secret. Then the main test build should work. That action can then be disabled.There may be an easier way to do this that doesn't need that activation action, but I'm new to Unity so I'm mainly just following instructions :)
As always when developing CI stuff, there are some dead end commits here. I'd squash on merge if I were you.