blob: ade11006be9f2f8e9101904a802a6692462fd9f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
|