Skip to content

Commit aa3051d

Browse files
committed
CI Linux AppImage Docker: try also latest Ubuntu
1 parent 59069b8 commit aa3051d

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

.github/scripts/Linux/docker_appimage_tests.sh

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,18 @@
33
mkdir aitest-context # empty build context
44
./UltraGrid-"$VERSION"-x86_64.AppImage --appimage-extract
55

6-
for n in archlinux ubuntu; do
7-
docker build -f .github/scripts/Linux/utils/Dockerfile.$n\
8-
-t aitest-$n aitest-context
6+
for n in archlinux ubuntu:22.04 ubuntu:latest; do
7+
dockerfile=.github/scripts/Linux/utils/Dockerfile.$n
8+
if expr $n : ".*:"; then
9+
image_name=$(echo $n | cut -d: -f 1)
10+
image_version=$(echo $n | cut -d: -f 2)
11+
n_dockerfile=$(mktemp)
12+
cat .github/scripts/Linux/utils/Dockerfile."$image_name" |
13+
sed "s/DOCKER_IMAGE_VERSION/$image_version/"\
14+
> "$n_dockerfile"
15+
dockerfile=$n_dockerfile
16+
fi
17+
docker build -f "$dockerfile" -t aitest-$n aitest-context
918
docker run --rm -v "$PWD"/squashfs-root/:/AppImage aitest-$n sh -ce '
1019
/AppImage/AppRun -v
1120
/AppImage/AppRun --tool uv-qt -h
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# inspired by https://github.com/aferrero2707/appimage-testsuite
22
# installing libraries included in https://raw.githubusercontent.com/probonopd/AppImages/master/excludelist
3-
FROM ubuntu:22.04
3+
FROM ubuntu:DOCKER_IMAGE_VERSION
44
RUN apt-get update
55
RUN apt-get install -y libasound2 libegl1-mesa libfontconfig1 libgl1-mesa-glx \
66
libgmp10 libharfbuzz0b libopengl0 libp11-kit0 libx11-6 xvfb

0 commit comments

Comments
 (0)