Skip to content

Commit e693ca0

Browse files
committed
GH/.../docker_appimage_tests.sh: quote vars
+ split long lines + move --appimage-extract to the begining all changes are mostly a refactor
1 parent 709276a commit e693ca0

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed
Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
#!/bin/sh -eu
22

33
mkdir aitest-context # empty build context
4-
docker build -f .github/scripts/Linux/utils/Dockerfile.ubuntu -t aitest-ubuntu aitest-context
5-
docker build -f .github/scripts/Linux/utils/Dockerfile.arch -t aitest-arch aitest-context
6-
./UltraGrid-$VERSION-x86_64.AppImage --appimage-extract
7-
docker run --rm -v $PWD/squashfs-root/:/AppImage aitest-ubuntu /AppImage/AppRun -v
8-
docker run --rm -v $PWD/squashfs-root/:/AppImage aitest-ubuntu /AppImage/AppRun --tool uv-qt -h
9-
docker run --rm -v $PWD/squashfs-root/:/AppImage aitest-ubuntu sh -c 'xvfb-run /AppImage/AppRun --tool uv-qt & { sleep 10; kill $!; }'
10-
docker run --rm -v $PWD/squashfs-root/:/AppImage aitest-ubuntu /AppImage/AppRun --list-modules
11-
docker run --rm -v $PWD/squashfs-root:/AppImage aitest-arch /AppImage/AppRun --capabilities
4+
./UltraGrid-"$VERSION"-x86_64.AppImage --appimage-extract
5+
6+
docker build -f .github/scripts/Linux/utils/Dockerfile.ubuntu\
7+
-t aitest-ubuntu aitest-context
8+
docker build -f .github/scripts/Linux/utils/Dockerfile.arch\
9+
-t aitest-arch aitest-context
10+
docker run --rm -v "$PWD"/squashfs-root/:/AppImage aitest-ubuntu\
11+
/AppImage/AppRun -v
12+
docker run --rm -v "$PWD"/squashfs-root/:/AppImage aitest-ubuntu\
13+
/AppImage/AppRun --tool uv-qt -h
14+
docker run --rm -v "$PWD"/squashfs-root/:/AppImage aitest-ubuntu\
15+
sh -c 'xvfb-run /AppImage/AppRun --tool uv-qt & { sleep 10; kill $!; }'
16+
docker run --rm -v "$PWD"/squashfs-root/:/AppImage aitest-ubuntu\
17+
/AppImage/AppRun --list-modules
18+
docker run --rm -v "$PWD"/squashfs-root:/AppImage aitest-arch\
19+
/AppImage/AppRun --capabilities

0 commit comments

Comments
 (0)