Skip to content

Commit

Permalink
ci: Add zypp backend to CI (debian)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sidt4 committed Aug 24, 2024
1 parent 7db3238 commit 07f4b4f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
3 changes: 3 additions & 0 deletions tests/ci/Dockerfile-debian
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 07f4b4f

Please sign in to comment.