1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
|
# The list of projects to include in the build
# files, both the primary project and any other
# needed projects that are build dependencies
projects:
- libvirt
- https://gitlab.com/libvirt/libvirt-go-module/-/raw/master/ci/lcitool/projects/libvirt-go-module.yml
# Whether to generate dockerfiles by default for hosts
# where it is appropriate. Enabled by default.
#containers:
# enabled: true
# Whether to generate cirrus CI vars files by
# default for hosts where it is appropriate. Enabled
# by default
#cirrus:
# enabled: true
# Whether to generate GitLab CI rules. Enabled by
# default
gitlab:
# The Gitlab top level namespace, must be set
namespace: libvirt
# The GitLab repo within the namespace, must be set
project: libvirt-go-module
# enabled: true
#
# # Whether to build containers image by default where
# # dockerfiles are present.
# containers: true
#
# # Whether to run app builds by default where
# # containers or cirrus-run are present
# builds: true
#
# # Common jobs to enable
# # check-dco is enabled by default, all others are
# # disabled.
# jobs:
# check-dco: true
# cargo-fmt: false
# go-fmt: false
# clang-format: false
# black: false
# flake8: false
#
# templates:
# native-build: .native_build_job
# cross-build: .cross_build_job
# Targets to generate CI rules for
#
# The key is a target OS name, while the value is one of
# - a scalar, whose value is a single arch to emit a job for
# - a dict, representing the target's jobs
#
# In the case of a dict for a target, the following keys
# are permitted
#
# - "enabled": bool, to temporarily skip a target
# - "jobs"
#
# Value is
#
# - a list, whose elements are job dicts
#
# The job dict contains
#
# - "arch": an architecture name
# - "enabled": bool, to temporarily skip a target
# - "allow-failure": bool, to ignore job failures
# - "builds": bool, used to skip build job
# - "template": override name of the build template
# - "variables": env variables to set for builds
#
# Architecture names are
#
# - "x86_64" for building natively
# - "aarch64", "armv6l", "armv7l", "i686", "mips",
# "mips64el", "mipsel", "mips64", "ppc64le", "s390x"
# for cross compiling for a Linux distro
# - "mingw32"/"mingw64" cross compiling for Windows
#
# - "projects" - overrides top level projects list
#
targets:
alpine-318: x86_64
alpine-319: x86_64
alpine-edge:
jobs:
- arch: x86_64
allow-failure: true
centos-stream-8: x86_64
centos-stream-9: x86_64
debian-12:
jobs:
- arch: x86_64
- arch: aarch64
- arch: armv6l
- arch: armv7l
- arch: i686
artifacts:
expire_in: 2 days
paths:
- build
- scratch
- arch: mips
- arch: mips64el
- arch: mipsel
allow-failure: true
- arch: ppc64le
- arch: s390x
debian-sid:
jobs:
- arch: x86_64
- arch: aarch64
- arch: armv6l
- arch: armv7l
- arch: i686
builds: false
allow-failure: true
- arch: mips64el
- arch: mipsel
- arch: ppc64le
- arch: s390x
fedora-38: x86_64
fedora-39: x86_64
fedora-rawhide:
jobs:
- arch: x86_64
- arch: x86_64
suffix: clang
variables:
CC: clang
- arch: mingw32
- arch: mingw64
freebsd-13: x86_64
freebsd-14: x86_64
freebsd-current: x86_64
macos-13: aarch64
macos-14: aarch64
opensuse-leap-15:
jobs:
- arch: x86_64
ubuntu-2004:
jobs:
- arch: x86_64
ubuntu-2204:
jobs:
- arch: x86_64
enabled: true
allow-failure: true
variables:
foo: bar2
|