Skip to content

Commit

Permalink
HACK: install missing packages
Browse files Browse the repository at this point in the history
  • Loading branch information
martinpitt committed Feb 13, 2024
1 parent 300fab7 commit a9bbf2f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
permissions: {}
container:
image: quay.io/cockpit/tasks:latest
options: --user 1111
options: --user root
strategy:
matrix:
scenario:
Expand All @@ -27,6 +27,9 @@ jobs:
- name: Pacify git's permission check
run: git config --global --add safe.directory /__w/cockpit/cockpit

# HACK:
- run: dnf install -y valgrind dbus-daemon

- name: Clone repository
uses: actions/checkout@v4
with:
Expand All @@ -38,5 +41,4 @@ jobs:
timeout-minutes: 30
# HACK: -gdwarf-4 is for clang: https://bugs.kde.org/show_bug.cgi?id=452758
run: |
./autogen.sh
make -j$(nproc) CC='${{ matrix.scenario.cc }}' ${{ matrix.scenario.make }}'
su -s /bin/bash -u 1111 -m -c "cd /work; ./autogen.sh; make -j$(nproc) CC='${{ matrix.scenario.cc }}' ${{ matrix.scenario.make }} user"

0 comments on commit a9bbf2f

Please sign in to comment.