Skip to content

Commit

Permalink
packit: add actions for RPM tests
Browse files Browse the repository at this point in the history
- build rpm
- install rpm
- execute setup

Signed-off-by: Douglas Schilling Landgraf <[email protected]>
  • Loading branch information
dougsland committed Oct 27, 2024
1 parent 5b6b21d commit 66580a2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,17 @@ srpm_build_deps:
- make

actions:
post-upstream-clone:
- bash -c 'git config --global --add safe.directory $(pwd)'

fix-spec-file:
- bash .packit.sh

create-archive:
- bash -c 'git config --global --add safe.directory $(pwd)'
- bash -c 'sudo make rpm'
- bash -c 'sudo dnf install rpmbuild/RPMS/noarch/qm*'

jobs:
- job: copr_build
trigger: pull_request
Expand Down

0 comments on commit 66580a2

Please sign in to comment.