forked from cockpit-project/cockpit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
packit.yaml
23 lines (23 loc) · 935 Bytes
/
packit.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
specfile_path: cockpit.spec
actions:
post-upstream-clone:
# 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'
create-archive:
# this is being triggered immediately on a pull_request event; wait for
# build-dist.yml to generate the dist tarball
- tools/webpack-jumpstart --wait
- ./autogen.sh --disable-polkit --disable-ssh --disable-pcp --with-systemdunitdir=/invalid CPPFLAGS=-Itools/mock-build-env PKG_CONFIG_PATH=tools/mock-build-env
- make XZ_OPT=-0 dist
- sh -c 'echo cockpit-*.tar.xz'
jobs:
- job: tests
trigger: pull_request
metadata:
targets:
- fedora-33
- fedora-34
- fedora-rawhide
- centos-stream-8-x86_64