scrcpy
scrcpy copied to clipboard
Add GitHub actions for scrcpy server
This PR adds a GitHub action which:
- Builds the latest version of the scrcpy server, using a Circle CI container
- Publishes that as a build artifact
This can be useful as CI (making sure the server compiles) and for folks that want to build the scrcpy server using CI infrastructure.
The action won't run because it's defined in a PR, but you can see it in action here: https://github.com/qmfrederik/scrcpy/actions/runs/4097118741
I think there should also be a task to run unit tests.
Maybe cache ~/.gradle to speed up subsequent runs. Found gradle has an official GitHub action for that: https://github.com/gradle/gradle-build-action#caching