mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-20 04:44:05 +00:00
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:
28
.github/scripts/Linux/docker_appimage_tests.sh
vendored
28
.github/scripts/Linux/docker_appimage_tests.sh
vendored
@@ -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
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user