alexkay / spek

Acoustic spectrum analyser
http://spek.cc
GNU General Public License v3.0
2.5k stars 255 forks source link

GitHub Action to automatically generate a ZIP with the files+MSI every push #268

Open sylikc opened 1 year ago

sylikc commented 1 year ago

Alexander, as requested in #241, I've come up with a GitHub workflow that will automatically build the MSI/ZIP for Windows.

It looks like I still needed to make the patch to the autogen.sh similar to #189 . See line 84 in the workflow file.

Let me know what you think. I can patch the version information to your preference if you want unofficial releases to show different version numbers in the about box, similar to what I do on JPEGView

Linux stage

Windows stage

alexkay commented 1 year ago

@sylikc, this looks great, thank you so much! Give me a few days to review.

Barough commented 1 year ago

GitHub Action Builds at each commit/push,,,,,, ain't that a bit overkill. Shouldn't this build option be set off manually.

sylikc commented 1 year ago

it can be set that way. But I think only the repository owner can kick off the build, which makes it only semi-automated.

The build time is actually pretty quick though, because MXE is already cached, the average build time is about 6min.

The first build of MXE takes 2h, but that's only done once, and cached for 30d. It also means that if the builds aren't initiated often enough, the rebuild of MXE might have to happen.

sylikc commented 9 months ago

@sylikc, this looks great, thank you so much! Give me a few days to review.

@alexkay do you want to merge this in so that Spek gets built with your changes?