mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-24 23:53:04 +00:00
Add initial PackIt config
Signed-off-by: Davide Cavalca <dcavalca@fedoraproject.org>
This commit is contained in:
parent
fb36e30236
commit
0fe2126011
2 changed files with 44 additions and 0 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -6,3 +6,6 @@ __pycache__
|
|||
*.swp
|
||||
*.orig
|
||||
*.rej
|
||||
m1n1\.spec
|
||||
m1n1-*\.src\.rpm
|
||||
m1n1-*\.tar\.gz
|
||||
|
|
41
.packit.yaml
Normal file
41
.packit.yaml
Normal file
|
@ -0,0 +1,41 @@
|
|||
# See the documentation for more information:
|
||||
# https://packit.dev/docs/configuration/
|
||||
|
||||
specfile_path: m1n1.spec
|
||||
files_to_sync:
|
||||
- m1n1.spec
|
||||
- .packit.yaml
|
||||
|
||||
actions:
|
||||
# Fetch the specfile from Rawhide, drop any patches and disable rpmautospec
|
||||
post-upstream-clone: "bash -c \"curl -s https://src.fedoraproject.org/rpms/m1n1/raw/main/f/m1n1.spec | sed -e '/^Patch: /d' -e '/^%autochangelog$/d' > m1n1.spec\""
|
||||
|
||||
srpm_build_deps:
|
||||
- bash
|
||||
- curl
|
||||
- sed
|
||||
|
||||
jobs:
|
||||
- job: copr_build
|
||||
trigger: commit
|
||||
owner: "@asahi"
|
||||
project: packit-builds
|
||||
targets:
|
||||
- fedora-all-aarch64
|
||||
- fedora-all-armhfp
|
||||
- fedora-all-i386
|
||||
- fedora-all-ppc64le
|
||||
- fedora-all-s390x
|
||||
- fedora-all-x86_64
|
||||
|
||||
- job: copr_build
|
||||
trigger: pull_request
|
||||
owner: "@asahi"
|
||||
project: packit-builds
|
||||
targets:
|
||||
- fedora-all-aarch64
|
||||
- fedora-all-armhfp
|
||||
- fedora-all-i386
|
||||
- fedora-all-ppc64le
|
||||
- fedora-all-s390x
|
||||
- fedora-all-x86_64
|
Loading…
Reference in a new issue