CI Linux AppImage test: run tests for both distros

run the same test cases for both Arch Linux and Ubuntu

+ rename Dockerfile.arch to Dockerfile.archlinux (the former is a bit
misleading - arch==architecture or what?)
This commit is contained in:
Martin Pulec
2025-11-24 10:51:46 +01:00
parent e693ca0b98
commit 53892bbd0a
2 changed files with 21 additions and 15 deletions

View File

@@ -3,17 +3,17 @@
mkdir aitest-context # empty build context
./UltraGrid-"$VERSION"-x86_64.AppImage --appimage-extract
docker build -f .github/scripts/Linux/utils/Dockerfile.ubuntu\
-t aitest-ubuntu aitest-context
docker build -f .github/scripts/Linux/utils/Dockerfile.arch\
-t aitest-arch aitest-context
docker run --rm -v "$PWD"/squashfs-root/:/AppImage aitest-ubuntu\
/AppImage/AppRun -v
docker run --rm -v "$PWD"/squashfs-root/:/AppImage aitest-ubuntu\
/AppImage/AppRun --tool uv-qt -h
docker run --rm -v "$PWD"/squashfs-root/:/AppImage aitest-ubuntu\
sh -c 'xvfb-run /AppImage/AppRun --tool uv-qt & { sleep 10; kill $!; }'
docker run --rm -v "$PWD"/squashfs-root/:/AppImage aitest-ubuntu\
/AppImage/AppRun --list-modules
docker run --rm -v "$PWD"/squashfs-root:/AppImage aitest-arch\
/AppImage/AppRun --capabilities
for n in archlinux ubuntu; do
docker build -f .github/scripts/Linux/utils/Dockerfile.$n\
-t aitest-$n aitest-context
docker run --rm -v "$PWD"/squashfs-root/:/AppImage aitest-$n\
/AppImage/AppRun -v
docker run --rm -v "$PWD"/squashfs-root/:/AppImage aitest-$n\
/AppImage/AppRun --tool uv-qt -h
docker run --rm -v "$PWD"/squashfs-root/:/AppImage aitest-$n\
sh -c 'xvfb-run /AppImage/AppRun --tool uv-qt & { sleep 10; kill $!; }'
docker run --rm -v "$PWD"/squashfs-root/:/AppImage aitest-$n\
/AppImage/AppRun --list-modules
docker run --rm -v "$PWD"/squashfs-root:/AppImage aitest-$n\
/AppImage/AppRun --capabilities
done

View File

@@ -3,4 +3,10 @@ FROM archlinux
RUN pacman --noconfirm -Sy archlinux-keyring
RUN pacman-key --init
RUN pacman-key --populate
RUN pacman --noconfirm -Sy libglvnd libx11 fontconfig freetype2 jack2
RUN pacman --noconfirm -Sy \
fontconfig \
freetype2 \
jack2\
libglvnd \
libx11 \