This PR adds a Github Actions script to automatically compile binaries (Windows and Linux) for new changes to master.
It does the following:
For each new PR to master, it will compile a Linux and Windows binary in the background to confirm no compilation/syntax errors are introduced.
For each new push to master, it will upload the Linux and Windows binaries as a zipped 'Artifact', viewable under the 'Actions' tab. (Users must be logged into github to download Artifacts). Output filenames are timestamped.
Compilation for all cases is performed using cmake to generate the makefile.
Linux uses Ubuntu GCC
Windows uses i686-w64-mingw32-gcc [cross compilation via Ubuntu])
It does not publish binaries to 'Releases'. Historically it looks like that has been done manually (probably after alot of testing to confirm it is stable). Although this can be changed.
This PR adds a Github Actions script to automatically compile binaries (Windows and Linux) for new changes to master.
It does the following:
Compilation for all cases is performed using cmake to generate the makefile.
It does not publish binaries to 'Releases'. Historically it looks like that has been done manually (probably after alot of testing to confirm it is stable). Although this can be changed.
Example output artifacts (These are zip files):
Example outputs/build logs etc can be seen in my fork (Built from current master), https://github.com/Ryzee119/SDLPoPX/actions/runs/219189949
I have not created a build status badge for the readme, but this can be done in a follow up PR.