From d572a5f410969c216155ee747b18c835d9ae3c92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20M=C3=A4rdian?= Date: Thu, 12 Dec 2024 09:27:46 +0100 Subject: [PATCH] build-dep --- .github/workflows/rpmbuild.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/rpmbuild.yml b/.github/workflows/rpmbuild.yml index 41754b7cc..3cab8b34a 100644 --- a/.github/workflows/rpmbuild.yml +++ b/.github/workflows/rpmbuild.yml @@ -24,17 +24,18 @@ jobs: container: image: ${{ matrix.container }} steps: - - name: Install git - run: dnf -y install git + - name: Install Build-Dependencies + run: | + dnf -y install git + dnf config-manager --set-enabled crb || true # Meson/CMocka on EL9 + dnf config-manager --set-enabled nfv || true # OVS on EL10 + dnf -y install epel-release || true + dnf -y install dnf-plugins-core rpmdevtools # for 'dnf builddep' - uses: actions/checkout@v2 - name: Build & Test run: | cat /etc/os-release - dnf -y install dnf-plugins-core rpmdevtools # for 'dnf builddep' - dnf -y install epel-release || true - dnf config-manager --set-enabled crb || true # Meson/CMocka on EL9 - dnf config-manager --set-enabled nfv || true # OVS on EL10 - dnf -y builddep rpm/netplan.spec adduser test chown -R test:test . + dnf -y builddep rpm/netplan.spec su test -c 'rpmbuild -bi -D "debug_package %{nil}" --build-in-place rpm/netplan.spec'