ci: fix build for older debian deps

also drop ubuntu 20.04 from build matrix, include 24.04 instead which
is soon to go stable.

Signed-off-by: Alexander Fougner <fougner89@gmail.com>
This commit is contained in:
Alexander Fougner 2024-07-17 09:44:08 +02:00
parent 9020d202a4
commit f8d6a67db0

View File

@ -8,7 +8,7 @@ jobs:
name: bcachefs-tools-deb
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
os: [ubuntu-22.04, ubuntu-24.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
@ -21,6 +21,7 @@ jobs:
sudo apt-get update && sudo apt-get -y --no-install-recommends install \
valgrind \
equivs devscripts
grep -q 22.04 /etc/os-release && sed -i -e 's/ systemd-dev,/ systemd,/g' debian/control
mk-build-deps
sudo apt install ./bcachefs-tools-build-deps_*.deb
- name: Setup Rust