aboutsummaryrefslogtreecommitdiffhomepage
path: root/.fmsbw
diff options
context:
space:
mode:
Diffstat (limited to '.fmsbw')
-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