aboutsummaryrefslogtreecommitdiffhomepage
path: root/.fmsbw/50-ubuntu22-appimage
diff options
context:
space:
mode:
authorRobin Haberkorn <rhaberkorn@fmsbw.de>2025-09-27 02:25:57 +0200
committerRobin Haberkorn <rhaberkorn@fmsbw.de>2025-09-27 02:25:57 +0200
commit36ac6cef3c949d7b9e0dc3cac770cba911c4b241 (patch)
tree49c1af7dabdce865f494ea0e290897d831aedbc2 /.fmsbw/50-ubuntu22-appimage
parent8159f5930df5cc8bde25c69e064a203dcbfdd6bf (diff)
downloadsciteco-36ac6cef3c949d7b9e0dc3cac770cba911c4b241.tar.gz
50-ubuntu22-appimage: build AppImages as part of the new fmsbw.de-based CI
This uses an extracted pkg2appimage, since it would be tricky to get fuse to work in the Podman containers.
Diffstat (limited to '.fmsbw/50-ubuntu22-appimage')
-rwxr-xr-x.fmsbw/50-ubuntu22-appimage26
1 files changed, 26 insertions, 0 deletions
diff --git a/.fmsbw/50-ubuntu22-appimage b/.fmsbw/50-ubuntu22-appimage
new file mode 100755
index 0000000..ade1100
--- /dev/null
+++ b/.fmsbw/50-ubuntu22-appimage
@@ -0,0 +1,26 @@
+#!/bin/sh
+set -ex
+
+# FIXME: AppImages can theoretically also be built on OBS.
+# Unfortunately it only works with packages from openSUSE 15.6.
+# Also, it's not trivial to build multiple AppImages on OBS.
+# FIXME: This still relies on the Debian repositories provided
+# via OBS. But there is no guarantee it is ready by the time
+# we run this CI job.
+# We should be fine, though unless committing at 6:00 in the morning.
+
+#apt-get update -o APT::Cache-Start=100000000
+#apt-get install -o APT::Cache-Start=100000000 -y fuse libfuse2 imagemagick wget file binutils libglib2.0-bin
+#mkdir -p ~/pkg2appimage
+#cd ~/pkg2appimage
+#wget -O pkg2appimage.AppImage https://github.com/AppImageCommunity/pkg2appimage/releases/download/continuous/pkg2appimage-1eceb30-x86_64.AppImage
+#chmod +x pkg2appimage.AppImage
+# FIXME: We could get automatic mounting to work with fusefs in the host and by exposesing /dev/fuse.
+#./pkg2appimage.AppImage --appimage-extract
+
+cd AppImage
+~/pkg2appimage/squashfs-root/AppRun curses.yml
+mv out/*.AppImage /opt/htdocs/downloads/nightly/sciteco-curses_nightly_x86_64.AppImage
+~/pkg2appimage/squashfs-root/AppRun gtk.yml
+mv out/*.AppImage /opt/htdocs/downloads/nightly/sciteco-gtk_nightly_x86_64.AppImage
+chmod a+x /opt/htdocs/downloads/nightly/*.AppImage