rubenwe / StlVault

3D object viewer and organizer
http://stlvault.com
MIT License
167 stars 26 forks source link

GitHub action for running tests #53

Closed Floppy closed 4 years ago

Floppy commented 4 years ago

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.