blob: e9852cf3491c9dcde31b64630c765a02283f2aca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
#!/bin/bash
set -eu
tarballdir="$(cd "$1" && pwd)"
shift
once() {
local release="$1"
local arch="$2"
local grub="$3"
./check-one --tarball-directory "$tarballdir" \
--vmdb base.vmdb \
--debian-release "$release" \
--grub "$grub" --mklabel gpt \
--arch "$arch" \
--maybe-boot
}
twice() {
echo "testing build of: $*"
echo "first"
once "$@"
echo "second"
once "$@"
echo
}
if [ "$#" = 0 ]; then
twice buster amd64 uefi
twice bullseye amd64 uefi
twice bookworm amd64 uefi
twice buster arm64 uefi
twice bullseye arm64 uefi
twice bookworm arm64 uefi
twice buster armhf uefi
twice bullseye armhf uefi
twice bookworm armhf uefi
twice buster i386 uefi
twice bullseye i386 uefi
twice bookworm i386 uefi
# These are broken for now, at least for tests. Please help
# debug and fix.
#twice buster armhf uefi
#twice buster ppc64el ieee1275
else
for release in "$@"; do
once "$release" amd64 uefi
done
fi
echo All test images built successfully.
|