jjb: fix unbounded PYTHON variable in print.sh
[lttng-ci.git] / jobs / liburcu.yaml
CommitLineData
e3022ad9
MJ
1# {project}_{version}_{jobtype}
2# liburcu_stable-0.8_build
3#
4# jobtypes:
5# - build
6# - portbuild
7# - cppcheck
8# - coverity
9# - scan-build
10# - pylint
11
12- defaults:
13 name: liburcu
14 description: |
15 liburcu is a LGPLv2.1 userspace RCU (read-copy-update) library. This
16 data synchronization library provides read-side access which scales
17 linearly with the number of cores. It does so by allowing multiples
18 copies of a given data structure to live at the same time, and by
19 monitoring the data structure accesses to detect grace periods after
20 which memory reclamation is possible.
21
22 liburcu-cds provides efficient data structures based on RCU and
23 lock-free algorithms. Those structures include hash tables, queues,
24 stacks, and doubly-linked lists.
25
26 <p>Job is managed by Jenkins Job Builder.</p>
27
28 project-type: freestyle
29
e3022ad9 30 wrappers:
dfc19a66
MJ
31 - ansicolor
32 - timeout:
33 timeout: 90
34 fail: true
35 type: absolute
e3022ad9 36 - timestamps
dfc19a66
MJ
37 - workspace-cleanup:
38 clean-if:
39 - failure: false
e3022ad9
MJ
40
41 scm:
42 - git:
4d27af8f 43 url: https://github.com/{github_user}/{github_name}.git
e3022ad9 44 browser: githubweb
51ca880a 45 browser-url: https://github.com/{github_user}/{github_name}
e3022ad9
MJ
46 branches:
47 - origin/{version}
6d35c326 48 basedir: src/liburcu
0a6e708b 49 skip-tag: true
e3022ad9
MJ
50
51 triggers:
e8078c79
MJ
52 - pollscm:
53 cron: "@hourly"
e3022ad9
MJ
54
55 properties:
69f05d59
MJ
56 - inject:
57 properties-content: |
58 PROJECT_NAME=liburcu
edf72710
MJ
59 - build-discarder:
60 num-to-keep: 2
e3022ad9 61 - github:
51ca880a 62 url: https://github.com/{github_user}/{github_name}
e3022ad9
MJ
63
64
dfc19a66
MJ
65## Anchors
66- liburcu_build_axes_defaults: &liburcu_build_axes_defaults
67 name: 'liburcu_build_axes_defaults'
e3022ad9 68 project-type: matrix
ca8c6144 69 node: 'master' # Applies only to matrix flyweight task
e3022ad9
MJ
70 axes:
71 - axis:
72 type: slave
73 name: arch
b6e61d51 74 values: '{obj:arch}'
e3022ad9
MJ
75 - axis:
76 type: user-defined
77 name: conf
dfc19a66 78 values: '{obj:conf}'
e3022ad9
MJ
79 - axis:
80 type: user-defined
81 name: build
9d0846f3 82 values: '{obj:build}'
e3022ad9 83
dfc19a66
MJ
84- liburcu_build_builders_defaults: &liburcu_build_builders_defaults
85 name: 'liburcu_build_builders_defaults'
e3022ad9
MJ
86 builders:
87 - shell:
51c9c62d
MJ
88 !include-raw-escape:
89 - scripts/common/print.sh
90 - scripts/liburcu/build.sh
e3022ad9 91
dfc19a66
MJ
92- liburcu_build_builders_win: &liburcu_build_builders_win
93 name: 'liburcu_build_builders_win'
94 builders:
dfc19a66
MJ
95 - conditional-step:
96 condition-kind: strings-match
97 on-evaluation-failure: run
98 condition-string1: '${{arch}}'
99 condition-string2: 'cygwin64'
100 steps:
101 - shell:
102 !include-raw-escape:
103 - scripts/common/cygwin64-shebang
cefcd7f8 104 - scripts/common/cygpath-prefix
51c9c62d 105 - scripts/common/print.sh
dfc19a66
MJ
106 - scripts/liburcu/build.sh
107
108- liburcu_build_publishers_defaults: &liburcu_build_publishers_defaults
109 name: 'liburcu_build_publishers_defaults'
e3022ad9 110 publishers:
69d7af71
MJ
111 - tap:
112 results: 'tap/**/*.log'
1d56e325 113 fail-if-no-results: true
69d7af71
MJ
114 failed-tests-mark-build-as-failure: true
115 todo-is-failure: false
e3022ad9
MJ
116 - warnings:
117 console-log-parsers:
118 - 'GNU Make + GNU C Compiler (gcc)'
51ca880a
MJ
119 total-thresholds:
120 unstable:
d2c76ee5
MJ
121 total-all: 0
122 total-high: 0
123 total-normal: 0
124 total-low: 0
e3022ad9 125 - archive:
69d7af71 126 artifacts: 'build/**,tap/**'
e3022ad9 127 allow-empty: false
1d573689 128 - ircbot:
95654431 129 strategy: new-failure-and-fixed
1d573689
MJ
130 matrix-notifier: only-parent
131 channels:
132 - name: '#lttng'
092af1e4
JR
133 - email-ext:
134 recipients: '{obj:email_to}'
135 reply-to: ci-notification@lists.lttng.org
136 always: false
137 unstable: false
138 first-failure: true
139 first-unstable: true
140 not-built: false
141 aborted: false
142 regression: false
143 failure: false
144 second-failure: false
145 improvement: false
146 still-failing: false
147 success: false
148 fixed: false
149 fixed-unhealthy: true
150 still-unstable: false
151 pre-build: false
152 matrix-trigger: only-parent
153 send-to:
154 - recipients
dfc19a66
MJ
155
156## Templates
157- job-template:
158 name: liburcu_{version}_{buildtype}
159 defaults: liburcu
160
161 <<: *liburcu_build_axes_defaults
162 <<: *liburcu_build_builders_defaults
163 <<: *liburcu_build_publishers_defaults
164
165- job-template:
166 name: liburcu_{version}_winbuild
167 defaults: liburcu
168
169 <<: *liburcu_build_axes_defaults
170 <<: *liburcu_build_builders_win
171 <<: *liburcu_build_publishers_defaults
172
e3022ad9
MJ
173- job-template:
174 name: liburcu_{version}_cppcheck
175 defaults: liburcu
176
177 triggers:
e8078c79
MJ
178 - pollscm:
179 cron: "@daily"
e3022ad9
MJ
180
181 builders:
182 - shell: |
5279b0f2
MJ
183 rm -f cppcheck-result.xml
184 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/liburcu 2> cppcheck-result.xml
e3022ad9
MJ
185
186 publishers:
187 - archive:
5279b0f2 188 artifacts: 'cppcheck-result.xml'
e3022ad9 189 allow-empty: false
e3022ad9 190 - cppcheck:
5279b0f2 191 pattern: 'cppcheck-result.xml'
092af1e4
JR
192 - email-ext:
193 recipients: '{obj:email_to}'
194 reply-to: ci-notification@lists.lttng.org
195 always: false
196 unstable: false
197 first-failure: true
198 first-unstable: false
199 not-built: false
200 aborted: false
201 regression: false
202 failure: false
203 second-failure: false
204 improvement: false
205 still-failing: false
206 success: false
207 fixed: false
208 fixed-unhealthy: true
209 still-unstable: true
210 pre-build: false
211 matrix-trigger: only-parent
212 send-to:
213 - recipients
e3022ad9
MJ
214
215- job-template:
216 name: liburcu_{version}_scan-build
217 defaults: liburcu
16844a6d 218 node: 'amd64'
e3022ad9
MJ
219
220 triggers:
e8078c79
MJ
221 - pollscm:
222 cron: "@daily"
e3022ad9
MJ
223
224 builders:
225 - shell:
69f05d59 226 !include-raw-escape: scripts/common/scan-build.sh
e3022ad9
MJ
227
228 publishers:
229 - html-publisher:
230 name: 'HTML Report'
231 dir: 'scan-build-archive/'
232 files: 'index.html'
233
e8078c79
MJ
234- job-template:
235 name: liburcu_{version}_coverity
236 defaults: liburcu
16844a6d 237 node: 'amd64'
e8078c79
MJ
238
239 triggers:
240 - pollscm:
241 cron: "@daily"
242
243 wrappers:
dfc19a66
MJ
244 - ansicolor
245 - timeout:
246 timeout: 60
247 fail: true
248 type: absolute
e8078c79 249 - timestamps
dfc19a66
MJ
250 - workspace-cleanup:
251 clean-if:
252 - failure: false
e8078c79
MJ
253 - credentials-binding:
254 - username-password-separated:
255 credential-id: liburcu_coverity_token
256 username: COVERITY_SCAN_PROJECT_NAME
257 password: COVERITY_SCAN_TOKEN
258
259 builders:
260 - shell:
ef63064f 261 !include-raw-escape: scripts/common/coverity.sh
e8078c79
MJ
262
263 publishers:
264 - workspace-cleanup
6d35c326
MJ
265 - archive:
266 artifacts: 'analysis-results.tgz,cov-int/**'
267 allow-empty: false
e3022ad9
MJ
268
269
69d7af71
MJ
270## Views
271- view-template:
272 name: 'Liburcu'
273 view-type: list
274 regex: 'liburcu[-_].*'
275
276
277## Projects
e3022ad9
MJ
278- project:
279 name: liburcu
51ca880a
MJ
280 github_user: urcu
281 github_name: userspace-rcu
092af1e4 282 email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
e3022ad9 283 version:
dfc19a66 284 - stable-0.9
be76d048 285 - stable-0.10
69d7af71 286 - stable-0.11
9c359981 287 - stable-0.12
dfc19a66 288 - master
e3022ad9 289 jobs:
57ae8ff4
MJ
290 - 'liburcu_{version}_{buildtype}':
291 buildtype: build
16844a6d 292 arch: !!python/tuple [amd64]
9d0846f3 293 build: !!python/tuple [std, oot, dist]
dfc19a66 294 conf: !!python/tuple [std, static, tls_fallback, debug-rcu]
57ae8ff4
MJ
295 - 'liburcu_{version}_{buildtype}':
296 buildtype: portbuild
16844a6d 297 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
9d0846f3 298 build: !!python/tuple [std]
dfc19a66 299 conf: !!python/tuple [std, static, tls_fallback, debug-rcu]
81bf613d
MJ
300 - 'liburcu_{version}_{buildtype}':
301 buildtype: slesbuild
302 arch: !!python/tuple [sles12sp2]
303 build: !!python/tuple [std]
304 conf: !!python/tuple [std]
568b5cbd
MJ
305 - 'liburcu_{version}_{buildtype}':
306 buildtype: elbuild
307 arch: !!python/tuple [el8]
308 build: !!python/tuple [std]
309 conf: !!python/tuple [std]
7491c28d
MJ
310 - 'liburcu_{version}_{buildtype}':
311 buildtype: solarisbuild
995ac8f2 312 arch: !!python/tuple [sol10-i386, sol11-i386]
7491c28d 313 build: !!python/tuple [std]
dfc19a66 314 conf: !!python/tuple [std, static, tls_fallback, debug-rcu]
f7bf4d7a
MJ
315 - 'liburcu_{version}_{buildtype}':
316 buildtype: macosxbuild
317 arch: !!python/tuple [macosx]
318 build: !!python/tuple [std]
dfc19a66 319 conf: !!python/tuple [std, static, tls_fallback, debug-rcu]
dfc19a66 320 - 'liburcu_{version}_winbuild':
cefcd7f8 321 arch: !!python/tuple [cygwin64]
dfc19a66
MJ
322 build: !!python/tuple [std]
323 conf: !!python/tuple [std]
e3022ad9
MJ
324 - 'liburcu_{version}_cppcheck'
325 - 'liburcu_{version}_scan-build'
e8078c79
MJ
326 - 'liburcu_{version}_coverity':
327 version: master
e3022ad9 328
69d7af71
MJ
329- project:
330 name: liburcu-views
331 views:
332 - Liburcu
This page took 0.041681 seconds and 4 git commands to generate.