trzy / Supermodel

Official repository of the Sega Model 3 arcade emulator.
https://supermodel3.com
264 stars 37 forks source link

Provide Pre-Compiled Linux Binary as Tarball #52

Open WingofaGriffin opened 1 year ago

WingofaGriffin commented 1 year ago

While I completely agree that compiling it yourself is a key part of the linux experience, providing a pre-compiled tarball of the binary I believe would be useful for a matter of reasons, including hash comparison and ease of distribution.

This is something that could be pretty easily automated, using a VM, cloud service, or GitHub actions for example.

trzy commented 1 year ago

Moving builds for all systems over to GitHub Actions would be great. But every time I look at the documentation my eyes glaze over. Someone is going to have to show me how to do it :)

WingofaGriffin commented 1 year ago

A lot of the work has already been done with templates. Seeing that you are using MSYS2, someone already made a template to use here: https://github.com/marketplace/actions/setup-msys2

MSYS2 Even has their own docs on it: https://www.msys2.org/docs/ci/

Then it should be as simple as using actions to build for Windows, Linux, and MacOS using their different VMs. Some examples I found that do it a bit more explanatory to the docs:

WingofaGriffin commented 1 year ago

Drafted a PR for this here: https://github.com/trzy/Supermodel/issues/52#issuecomment-1356402511

Linux (Ubuntu) seems to work, but having issues with Windows with the readme build instructions.

legluondunet commented 1 year ago

AppImage format will be a better package format for Linux users : no missing dependencies whatever Linux distribution you use.