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 \ --appdir "$APP.AppDir" -d contrib/Helix.desktop \
-i contrib/helix.png --output appimage -i contrib/helix.png --output appimage
mv "$APP-$VERSION-$ARCH.AppImage" \ # anylinux appimage
"$APP-$VERSION-$ARCH.AppImage.zsync" dist 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 - name: Build archive
shell: bash shell: bash

Loading…
Cancel
Save