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.

Part of: PackageKit#691
  • Loading branch information
sidt4 committed Aug 24, 2024
1 parent 7db3238 commit 7a69373
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,8 @@ jobs:
run: podman run -t -v `pwd`:/build packagekit-${{ matrix.distro }}
./tests/ci/build-and-test.sh -Dpackaging_backend=apt
if: ${{ matrix.distro == 'debian' }}

- name: Build & Test [Zypp]
run: podman run -t -v `pwd`:/build packagekit-${{ matrix.distro }}
./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 7a69373

Please sign in to comment.