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>
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 \
scdoc \
zlib1g-dev \
zstd
-
-if (( ${#backports_pkgs[@]} )); then
- apt-get install --yes -t "${VERSION_CODENAME}"-backports "${backports_pkgs[@]}"
-fi
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'