mirror of
https://github.com/kmod-project/kmod.git
synced 2026-01-26 15:39:08 +00:00
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:
parent
695fd084a7
commit
a403590f6e
13
.github/actions/setup-os/setup-debian.sh
vendored
13
.github/actions/setup-os/setup-debian.sh
vendored
@ -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
|
||||
|
||||
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -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'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user