hydrogen-music / hydrogen

The advanced drum machine for Linux, macOS, and Windows
http://www.hydrogen-music.org
GNU General Public License v2.0
1.03k stars 172 forks source link

AppImage: Create a basic Hydrogen.AppImage in AppVeyor pipeline #1835

Closed theGreatWhiteShark closed 1 year ago

theGreatWhiteShark commented 1 year ago

This patch introduces code to build an AppImage version of Hydrogen using both our build.sh script as well as using the AppVeyor pipeline. Whenever the latter is triggered for an -artifacts branch or a tag a Hydrogen.AppImage will be generated and uploaded.

The main idea of AppImage (as far as I got it) is to build on the oldest possible system to harness forward ABI compatibility of gcc in order to allow running the image on as many systems as possible. (Linux versions using clang or linking against musl will most probably not work). Therefore, I used the Ubuntu 16.04 image of AppVeyor and the code required some changes to support it

I tested the image on a Fedora 38 live system and it most worked. There are still a couple of things to be fixed and more tests on more OSs to be done. But I'll address them in separate PRs.

Fixes #1504