From f8d6a67db0221da6271aec5c329d6f8cbbbf3de9 Mon Sep 17 00:00:00 2001 From: Alexander Fougner Date: Wed, 17 Jul 2024 09:44:08 +0200 Subject: [PATCH] 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 --- .github/workflows/build-packages.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-packages.yml b/.github/workflows/build-packages.yml index 0d134b5e3..1c7364fbe 100644 --- a/.github/workflows/build-packages.yml +++ b/.github/workflows/build-packages.yml @@ -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