Skip to content

Commit 2eeac08

Browse files
authored
Merge pull request #203 from miabbott/fix/make-rpm-systemd-macros
ci: use dnf builddep to install make-rpm build dependencies
2 parents 74f42a1 + 05dadc3 commit 2eeac08

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/comment-ci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ jobs:
5959

6060
- name: Build RPMs
6161
run: |
62-
dnf install -y git make rpm-build rust-toolset
62+
dnf install -y git make rpm-build dnf-plugins-core
63+
dnf builddep -y greenboot-rs.spec
6364
make rpm
6465
6566
- name: Verify RPMs were created

.github/workflows/greenboot-ci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ jobs:
5959

6060
- name: Build RPMs
6161
run: |
62-
dnf install -y git make rpm-build rust-toolset
62+
dnf install -y git make rpm-build dnf-plugins-core
63+
dnf builddep -y greenboot-rs.spec
6364
git config --global --add safe.directory /__w/greenboot-rs/greenboot-rs
6465
make rpm
6566

0 commit comments

Comments
 (0)