From 07f4b4f1e5b6b8a5480ce9bb4360c9666c523244 Mon Sep 17 00:00:00 2001 From: sid Date: Sat, 24 Aug 2024 10:55:32 +0100 Subject: [PATCH] ci: Add zypp backend to CI (debian) For building and installing purposes, 'libzypp' / 'libzypp-dev' packages provided by debian are sufficient. So, we not build and test 'zypp' backend directly in Debian CI after 'apt' backend test. --- .github/workflows/build-test.yml | 1 + tests/ci/Dockerfile-debian | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index d41840857..b0a8367c6 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -28,4 +28,5 @@ jobs: - name: Build & Test [APT] run: podman run -t -v `pwd`:/build packagekit-${{ matrix.distro }} ./tests/ci/build-and-test.sh -Dpackaging_backend=apt + ./tests/ci/build-and-test.sh -Dpackaging_backend=zypp if: ${{ matrix.distro == 'debian' }} diff --git a/tests/ci/Dockerfile-debian b/tests/ci/Dockerfile-debian index 623ecbe4f..badf8573a 100644 --- a/tests/ci/Dockerfile-debian +++ b/tests/ci/Dockerfile-debian @@ -13,6 +13,9 @@ RUN apt-get install -yq build-essential RUN apt-get build-dep -yq packagekit RUN apt-get install -yq meson appstream +# install PackageKit dependencies for zypp backend +RUN apt-get install -yq libzypp-dev + # finish RUN mkdir /build WORKDIR /build