Build all five G15 packages and add native Gitea push CI
Debian 13 packages / build (push) Failing after 1m20s

This commit is contained in:
Mikhail Yevchenko committed 2026-09-07 16:23:19 +03:00
1 parent 085e5b488f
commit ef5d81fd20
9 files changed
+85 -30

No files matched your search

+6 -4
View File
@@ -6,7 +6,9 @@ export LC_ALL=C
out=$(realpath "${1:?artifact directory required}")
cd "$out"
sha256sum -c SHA256SUMS
packages=(libg15-1 libg15-dev libg15render1 libg15render-dev g15daemon libg15daemon-client1t64 libg15daemon-client-dev g15macro)
packages=(libg15-1 libg15-dev libg15render1 libg15render-dev g15daemon libg15daemon-client1t64 libg15daemon-client-dev g15macro g15stats)
[[ $(find . -maxdepth 1 -name '*.dsc' | wc -l) == 5 ]]
[[ $(wc -l < SUBMODULES) == 5 ]]
distro=()
for package in "${packages[@]}"; do
files=("${package}"_*.deb)
@@ -17,8 +19,8 @@ for package in "${packages[@]}"; do
dpkg --compare-versions "$(dpkg-deb -f "${files[0]}" Version)" gt "$candidate"
distro+=("$package=$candidate")
else
[[ $package == g15macro ]] || exit 1
echo 'g15macro has no trixie candidate; fresh installation only.'
[[ $package == g15macro || $package == g15stats ]] || exit 1
echo "$package has no trixie candidate; fresh installation only."
fi
done
lintian --fail-on error ./*.changes
@@ -43,7 +45,7 @@ smoke() {
files=("${package}"_*.deb)
[[ $(dpkg-query -W -f='${Version}' "$package") == "$(dpkg-deb -f "${files[0]}" Version)" ]]
done
for binary in /usr/sbin/g15daemon /usr/bin/g15macro; do
for binary in /usr/sbin/g15daemon /usr/bin/g15macro /usr/bin/g15stats; do
ldd "$binary" > "$scratch/ldd"
cat "$scratch/ldd"
if grep -q 'not found' "$scratch/ldd"; then exit 1; fi