ezquake-source icon indicating copy to clipboard operation
ezquake-source copied to clipboard

GitHub Actions support?

Open dsvensson opened this issue 2 years ago • 2 comments

Curious if you'd be interested in adding GitHub Actions CI which would make it easier for collaborators to have CI up and running.

I've added a basic workflow to my repo for producing Linux and Windows builds with features waiting to be merged upstream. If there's interest it would be trivial to extend it to support the rest of the stuff the Azure pipeline does.

Sample: https://github.com/qw-ctf/ezquake-source/actions/runs/2177183719

dsvensson avatar Apr 18 '22 13:04 dsvensson

I think we can close this, right? There is a basic pipeline now active, doing the Windows build with msbuild, just like on your example. We dropped Linux builds, as that almost never works on "your" distro. What might come in the future is an appimage build...

tcsabina avatar Oct 07 '22 06:10 tcsabina

It doesn't cost anything to build for Linux as well. If someone is developing on Wintendo that may cause Linux build to fail. Also, would be great to use GitHub Actions artifacts if the build is not running in this repository's main branch (fork), or is a PR. It doesn't cost anything, and lowers the threshold for trying out non-mainlined changes.

dsvensson avatar Oct 07 '22 06:10 dsvensson

I added macOS arm builds to my downstream GA conf, perhaps repurpose this issue for that.

I've only tested launching single player start map, but seems to work. Someone who enjoys macOS should give it a go.

https://github.com/qw-ctf/ezquake-source/blob/d3f0c54d31eae91071e9574c1b35cbd0f2811559/.github/workflows/main.yml#L92-L137

dsvensson avatar Oct 18 '22 06:10 dsvensson