scrcpy icon indicating copy to clipboard operation
scrcpy copied to clipboard

Add GitHub actions for scrcpy server

Open qmfrederik opened this issue 2 years ago • 2 comments

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.

qmfrederik avatar Feb 05 '23 14:02 qmfrederik

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

qmfrederik avatar Feb 05 '23 14:02 qmfrederik

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

yume-chan avatar Feb 06 '23 15:02 yume-chan