forked from cockpit-project/cockpit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackit.yaml
21 lines (21 loc) · 958 Bytes
/
packit.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
specfile_path: cockpit.spec
actions:
create-archive:
# the upstream git spec file has unresolved macros which are normally put
# in at `make dist` time; they are not important for CI
# also, build optional packages for CentOS 8
- sh -c 'sed "s/%{npm-version:.*}/0/; s/build_optional 0/build_optional 1/" tools/cockpit.spec > cockpit.spec'
# this is being triggered immediately on a pull_request event; wait for
# build-dist.yml to generate the dist tarball
- env AUTOGEN_CONFIGURE_ARGS='--disable-polkit --disable-ssh --disable-pcp --disable-doc --with-systemdunitdir=/invalid CPPFLAGS=-Itools/mock-build-env' PKG_CONFIG_PATH=tools/mock-build-env test/make_dist.py --wait
# packit service insists of a single line of output
- sh -c 'ls cockpit-*.tar.xz'
jobs:
- job: tests
trigger: pull_request
metadata:
targets:
- fedora-33
- fedora-34
- fedora-rawhide
- centos-stream-8-x86_64