ci: swap bullseye for bookworm

The former has been EOL for a bit now and somewhat recently has been
(re)moved from the repos -> our CI was failing.

Swap for bookworm, which gives us the "try a slightly older distro"
coverage, while still being green in CI.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/395
Signed-off-by: Lucas De Marchi <demarchi@kernel.org>
This commit is contained in:
Emil Velikov 2025-10-26 12:27:48 +00:00 committed by Lucas De Marchi
parent 695fd084a7
commit a403590f6e
2 changed files with 1 additions and 14 deletions

View File

@ -6,15 +6,6 @@
export DEBIAN_FRONTEND=noninteractive
export TZ=Etc/UTC
. /etc/os-release
backports_pkgs=()
if [[ "$VERSION_CODENAME" == "bullseye" ]]; then
echo "deb http://deb.debian.org/debian bullseye-backports main" >> /etc/apt/sources.list
backports_pkgs=("meson" "ninja-build")
fi
apt-get update
apt-get install --yes \
bash \
@ -31,7 +22,3 @@ apt-get install --yes \
scdoc \
zlib1g-dev \
zstd
if (( ${#backports_pkgs[@]} )); then
apt-get install --yes -t "${VERSION_CODENAME}"-backports "${backports_pkgs[@]}"
fi

View File

@ -34,7 +34,7 @@ jobs:
meson_setup: '-Db_sanitize=none'
only_bits: '64'
- container: 'archlinux:multilib-devel'
- container: 'debian:bullseye-slim'
- container: 'debian:bookworm-slim'
meson_setup: '-Dzstd=disabled -Dxz=disabled -Dzlib=disabled'
only_compiler: 'gcc'
- container: 'debian:unstable'