Skip to content

Commit

Permalink
ci: Add alpm backend to CI (debian)
Browse files Browse the repository at this point in the history
For building and installing purposes, build dependencies of
pacman-package-manager (which includes 'libalpm' package) provided by
debian are sufficient. So, we now build and test 'alpm' backend job
directly in debian ci after 'apt' backend job completes.

Part of: PackageKit#691
  • Loading branch information
sidt4 committed Aug 24, 2024
1 parent 4bc0269 commit 77809ba
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 @@ -34,3 +34,8 @@ jobs:
run: podman run -t -v `pwd`:/build packagekit-${{ matrix.distro }}
./tests/ci/build-and-test.sh -Dpackaging_backend=zypp
if: ${{ matrix.distro == 'debian' }}

- name: Build & Test [ALPM]
run: podman run -t -v `pwd`:/build packagekit-${{ matrix.distro }}
./tests/ci/build-and-test.sh -Dpackaging_backend=alpm
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 @@ -16,6 +16,9 @@ RUN apt-get install -yq meson appstream
# install dependencies for 'zypp' backend
RUN apt-get install -yq libzypp-dev

# install dependencies for 'alpm' backend
RUN apt-get build-dep -yq pacman-package-manager

# finish
RUN mkdir /build
WORKDIR /build

0 comments on commit 77809ba

Please sign in to comment.