Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Packit integration #189

Merged
merged 2 commits into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 0 additions & 46 deletions .github/workflows/package.yml

This file was deleted.

38 changes: 38 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
upstream_package_name: yggdrasil
downstream_package_name: yggdrasil
specfile_path: out/yggdrasil.spec

srpm_build_deps:
- bash-completion
- gawk
- git-core
- golang
- meson
- 'pkgconfig(dbus-1)'
- 'pkgconfig(systemd)'
- rpm-build

actions:
post-upstream-clone:
- mkdir out
- meson setup builddir -Dbuild_srpm=True -Dvendor=True -Dexamples=True
- meson compile srpm -C builddir
- bash -c 'mv builddir/dist/srpm/* out/'
get-current-version:
- awk '/^Version:/ {print $2;}' out/yggdrasil.spec
create-archive:
- bash -c 'echo out/yggdrasil-*.tar.*'
fix-spec-file:
- echo 'nothing to fix'

jobs:
- job: copr_build
trigger: pull_request
additional_repos:
- "copr://@yggdrasil/latest"
targets:
- centos-stream-8
- centos-stream-9
- fedora-all
- rhel-8
- rhel-9
Loading