Skip to content

ci(github): update AppImage build tools #1695

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 17 additions & 16 deletions .github/workflows/appimage/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
FROM ubuntu:jammy
FROM ubuntu:noble

# Force older pipx to use global location.
ENV PIPX_HOME=/opt/pipx PIPX_BIN_DIR=/usr/local/bin PIPX_MAN_DIR=/usr/local/share/man

RUN apt-get update -q -y \
# Install appimage-builder and appimagetool dependencies.
# Install appimage-builder and appimagetool dependencies.
&& DEBIAN_FRONTEND="noninteractive" apt-get install -q -y --no-install-recommends \
appstream curl desktop-file-utils fakeroot file git gnupg patchelf squashfs-tools zsync \
python3-pip python3-setuptools python3-wheel \
&& \
appstream curl desktop-file-utils fakeroot file git gnupg patchelf pipx squashfs-tools zsync \
# Install appimagetool, it has to be extracted because FUSE doesn't work in containers without extra fiddling.
cd /tmp && \
curl -sLO https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage && \
chmod +x appimagetool-x86_64.AppImage && \
./appimagetool-x86_64.AppImage --appimage-extract && \
mv squashfs-root/ /opt/appimagetool.AppDir && \
ln -s /opt/appimagetool.AppDir/AppRun /usr/local/bin/appimagetool && \
rm appimagetool-x86_64.AppImage && \
cd - && \
&& cd /tmp \
&& curl -sLO https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage \
&& chmod +x appimagetool-x86_64.AppImage \
&& ./appimagetool-x86_64.AppImage --appimage-extract \
&& mv squashfs-root/ /opt/appimagetool.AppDir \
&& ln -s /opt/appimagetool.AppDir/AppRun /usr/local/bin/appimagetool \
&& rm appimagetool-x86_64.AppImage \
&& cd - \
# Install appimage-builder.
pip3 install git+https://github.com/AppImageCrafters/appimage-builder.git@669213cb730e007d5b316ed19b39691fbdcd41c4 && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
&& pipx install git+https://github.com/AppImageCrafters/appimage-builder.git@bf6123ee43715e52d2a73639f9acb1251e8af640 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

# Set entrypoint.
COPY entrypoint.sh /entrypoint.sh
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ jobs:

build-appimage:
name: AppImage
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- name: Checkout
Expand All @@ -194,7 +194,7 @@ jobs:
apt_dependencies: >-
build-essential
cmake extra-cmake-modules
libappindicator-dev
libappindicator3-dev
libarchive-dev
libqt5x11extras5-dev
libsqlite3-dev
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:

build-appimage:
name: AppImage
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- name: Checkout
Expand All @@ -109,7 +109,7 @@ jobs:
apt_dependencies: >-
build-essential
cmake extra-cmake-modules
libappindicator-dev
libappindicator3-dev
libarchive-dev
libqt5x11extras5-dev
libsqlite3-dev
Expand Down
9 changes: 5 additions & 4 deletions pkg/appimage/appimage-amd64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ AppDir:
apt:
arch: amd64
sources:
- sourceline: deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse
- sourceline: deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ noble main restricted universe multiverse
key_url: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920d1991bc93c
- sourceline: deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse
- sourceline: deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
- sourceline: deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ noble-updates main restricted universe multiverse
- sourceline: deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ noble-backports main restricted universe multiverse
include:
# Required Qt packages.
- libqt5concurrent5
Expand Down Expand Up @@ -73,5 +73,6 @@ AppDir:

AppImage:
arch: x86_64
update-information: gh-releases-zsync|zealdocs|zeal|latest|zeal-*x86_64.AppImage.zsync
comp: xz
sign-key: None
update-information: gh-releases-zsync|zealdocs|zeal|latest|zeal-*x86_64.AppImage.zsync