Skip to content

Commit 0468683

Browse files
committed
ci: add Packit builds
1 parent b912be6 commit 0468683

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.packit.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
srpm_build_deps:
3+
- automake
4+
- git
5+
- make
6+
7+
specfile_path: rpm/dnf-plugin-diff.spec
8+
9+
actions:
10+
create-archive:
11+
- bash -c 'autoreconf -vfi'
12+
- bash -c ./configure
13+
- bash -c 'make dist'
14+
- bash -c 'ls -1t ./*.tar.gz | head -n 1'
15+
get-current-version:
16+
- bash -c "grep AC_INIT configure.ac | cut -d ',' -f 2 | sed 's/.*\[\(.*\)\].*/\1/'"
17+
18+
jobs:
19+
- &copr
20+
job: copr_build
21+
trigger: pull_request
22+
targets:
23+
- fedora-all-x86_64
24+
- epel-all-x86_64
25+
- epel-10.0-x86_64
26+
27+
- <<: *copr
28+
trigger: commit
29+
owner: "praiskup"
30+
project: "dnf-plugin-diff"
31+
branch: main

0 commit comments

Comments
 (0)