Skip to content

Commit

Permalink
build-dep
Browse files Browse the repository at this point in the history
  • Loading branch information
slyon committed Dec 12, 2024
1 parent 11d3ce8 commit d572a5f
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/rpmbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit d572a5f

Please sign in to comment.