momentarylapse / tsunami

A simple but powerful audio editor
GNU General Public License v3.0
76 stars 4 forks source link

Setup Travis CI for build AppImage (portable binary package for Linux) #2

Closed ghost closed 11 months ago

ghost commented 4 years ago

Lets setup Travis CI for auto-build AppImage (portable package for Linux) for each commit:

  1. [ ] Create ../blob/master/.travis.yml
  2. https://github.com/appimage/AppImageKit 1.1. https://github.com/probonopd/linuxdeployqt 1.2 https://github.com/linuxdeploy
  3. https://github.com/probonopd/uploadtool
  4. [ ] Enable Travis CI pushing to GitHub releases for this repo.

For example, take a look on LeoCAD .travis.yml implementation:

And here is how resulted builds would look like:

For any support:

ghost commented 2 years ago

Are there any prebuilt binary for Linux already avaialble, @momentarylapse?

momentarylapse commented 2 years ago

Short answer: no.

Long answer: maybe in a month. I am currently finishing the port from gtk3 to gtk4. Besides that, the main problem is, that I am using a custom (and not very smart/portable) build system. Since I want to update that system for ticket #5 anyways, I can try making it more compatible with the CI system. Hard to predict how long that might take, since I am also dealing with some things in real life.

ghost commented 2 years ago

the main problem is, that I am using a custom (and not very smart/portable) build system

If so, providing AppImage is exactly the best solution for such project.

luzpaz commented 12 months ago

Would love there to be progress on this.

momentarylapse commented 12 months ago

just a quick "I'm working on it" update

First, I've decided against travis. It costs money. I've tried the free account but ran out, before I even got it working.

My current hope is for the github internal "workflow" system. I think I got the CI generally working, but still have to figure out how to build AppImages.

Since it is too frustrating to do the experiments in the CI, I've been playing around with the command line tools and tutorials. This is very draining. In the end, only managed to produce broken images so far (ironically even the official AppImage of the appimage-builder was broken).

I'll try again, but had enough for today.

momentarylapse commented 12 months ago

ok, I could not let it rest... I managed to create an AppImage: https://github.com/momentarylapse/tsunami/releases/tag/v0.7.114

It works on my machine™. As far as I can tell, it uses files from within the image and not from my system. Although I'm not 100% sure. I'll try to find a setup for testing. But I'd be more than happy, if someone could also try this.

momentarylapse commented 11 months ago

I've tried it now on multiple machines and a vanilla Ubuntu 22.04 image. The only problem I could find is that 2 or 3 (system) icons in the header bar can be missing. Maybe I have to copy those into the AppImage as well. But everything else seems to work well, including all the self-made icons.