CI/AppImage: Make anylinux appimage

Uses go-appimage to make an appimage with bundled glibc, which increases the compatibility of the appimage to any linux distribution.
pull/11243/head
Samuel 4 months ago committed by GitHub
parent dbaa636683
commit f350e4f967
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -203,8 +203,17 @@ jobs:
--appdir "$APP.AppDir" -d contrib/Helix.desktop \
-i contrib/helix.png --output appimage
mv "$APP-$VERSION-$ARCH.AppImage" \
"$APP-$VERSION-$ARCH.AppImage.zsync" dist
# anylinux appimage
APPIMAGETOOL=$(wget -q https://api.github.com/repos/probonopd/go-appimage/releases -O - \
| sed 's/[()",{} ]/\n/g' | grep -oi 'https.*continuous.*tool.*86_64.*mage$')
wget -q "$APPIMAGETOOL" -O ./appimagetool
chmod +x ./appimagetool
"$APP-$VERSION-$ARCH.AppImage" --appimage-extract
./appimagetool -s deploy squashfs-root/usr/share/applications/Helix.desktop
ARCH=x86_64 VERSION="$VERSION-anylinux" ./appimagetool -s squashfs-root
mv *anylinux*AppImage dist
mv "$APP"-*-"$ARCH.AppImage".AppImage \
"$APP"-*-"$ARCH.AppImage".AppImage.zsync dist
- name: Build archive
shell: bash

Loading…
Cancel
Save