mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-20 12:40:05 +00:00
26 lines
980 B
Bash
Executable File
26 lines
980 B
Bash
Executable File
#!/bin/sh -eu
|
|
|
|
mkdir aitest-context # empty build context
|
|
./UltraGrid-"$VERSION"-x86_64.AppImage --appimage-extract
|
|
|
|
for n in archlinux ubuntu:22.04 ubuntu:latest; do
|
|
dockerfile=.github/scripts/Linux/utils/Dockerfile.$n
|
|
if expr $n : ".*:"; then
|
|
image_name=$(echo $n | cut -d: -f 1)
|
|
image_version=$(echo $n | cut -d: -f 2)
|
|
n_dockerfile=$(mktemp)
|
|
cat .github/scripts/Linux/utils/Dockerfile."$image_name" |
|
|
sed "s/DOCKER_IMAGE_VERSION/$image_version/"\
|
|
> "$n_dockerfile"
|
|
dockerfile=$n_dockerfile
|
|
fi
|
|
docker build -f "$dockerfile" -t aitest-$n aitest-context
|
|
docker run --rm -v "$PWD"/squashfs-root/:/AppImage aitest-$n sh -ce '
|
|
/AppImage/AppRun -v
|
|
/AppImage/AppRun --tool uv-qt -h
|
|
xvfb-run /AppImage/AppRun --tool uv-qt & { sleep 10; kill $!; }
|
|
/AppImage/AppRun --list-modules
|
|
/AppImage/AppRun --capabilities
|
|
'
|
|
done
|