1 Star 0 Fork 0

JayWang/cockpit

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
packit.yaml 1.06 KB
一键复制 编辑 原始数据 按行查看 历史
specfile_path: cockpit.spec
actions:
post-upstream-clone:
# this is being triggered immediately on a pull_request event; wait for
# build-dist.yml to generate the dist tarball. git rebase needs an
# identity in order to rewrite the committer field.
- git config --global user.name 'nobody'
- git config --global user.email '<>'
- tools/webpack-jumpstart --wait --rebase
# 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:
- ./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
- centos-stream-8-x86_64
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mole1/cockpit.git
[email protected]:mole1/cockpit.git
mole1
cockpit
cockpit
main

搜索帮助