jjb: liburcu: move unsupported branches to 'dev_' namespace
[lttng-ci.git] / jobs / liburcu.yaml
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
30 wrappers:
31 - ansicolor
32 - timeout:
33 timeout: 90
34 fail: true
35 type: absolute
36 - timestamps
37 - workspace-cleanup:
38 clean-if:
39 - failure: false
40
41 scm:
42 - git:
43 url: https://github.com/{github_user}/{github_name}.git
44 browser: githubweb
45 browser-url: https://github.com/{github_user}/{github_name}
46 branches:
47 - origin/{version}
48 basedir: src/liburcu
49 skip-tag: true
50
51 triggers:
52 - pollscm:
53 cron: "@hourly"
54
55 properties:
56 - inject:
57 properties-content: |
58 PROJECT_NAME=liburcu
59 - build-discarder:
60 num-to-keep: 2
61 - github:
62 url: https://github.com/{github_user}/{github_name}
63
64
65 ## Anchors
66 - liburcu_build_axes_defaults: &liburcu_build_axes_defaults
67 name: 'liburcu_build_axes_defaults'
68 project-type: matrix
69 node: 'master' # Applies only to matrix flyweight task
70 axes:
71 - axis:
72 type: slave
73 name: arch
74 values: '{obj:arch}'
75 - axis:
76 type: user-defined
77 name: conf
78 values: '{obj:conf}'
79 - axis:
80 type: user-defined
81 name: build
82 values: '{obj:build}'
83
84 - liburcu_build_builders_defaults: &liburcu_build_builders_defaults
85 name: 'liburcu_build_builders_defaults'
86 builders:
87 - shell:
88 !include-raw-escape:
89 - scripts/common/print.sh
90 - scripts/liburcu/build.sh
91
92 - liburcu_build_builders_win: &liburcu_build_builders_win
93 name: 'liburcu_build_builders_win'
94 builders:
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
104 - scripts/common/cygpath-prefix
105 - scripts/common/print.sh
106 - scripts/liburcu/build.sh
107
108 - liburcu_build_publishers_defaults: &liburcu_build_publishers_defaults
109 name: 'liburcu_build_publishers_defaults'
110 publishers:
111 - tap:
112 results: 'tap/**/*.log'
113 fail-if-no-results: true
114 failed-tests-mark-build-as-failure: true
115 todo-is-failure: false
116 - warnings:
117 console-log-parsers:
118 - 'GNU Make + GNU C Compiler (gcc)'
119 total-thresholds:
120 unstable:
121 total-all: 0
122 total-high: 0
123 total-normal: 0
124 total-low: 0
125 - archive:
126 artifacts: 'build/**,tap/**'
127 allow-empty: false
128 - ircbot:
129 strategy: new-failure-and-fixed
130 matrix-notifier: only-parent
131 channels:
132 - name: '#lttng'
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
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: dev_upstream_liburcu_{version}_{buildtype}
167 defaults: liburcu
168
169 <<: *liburcu_build_axes_defaults
170 <<: *liburcu_build_builders_defaults
171 <<: *liburcu_build_publishers_defaults
172
173 - job-template:
174 name: liburcu_{version}_winbuild
175 defaults: liburcu
176
177 <<: *liburcu_build_axes_defaults
178 <<: *liburcu_build_builders_win
179 <<: *liburcu_build_publishers_defaults
180
181 - job-template:
182 name: dev_upstream_liburcu_{version}_winbuild
183 defaults: liburcu
184
185 <<: *liburcu_build_axes_defaults
186 <<: *liburcu_build_builders_win
187 <<: *liburcu_build_publishers_defaults
188
189 - job-template:
190 name: liburcu_{version}_cppcheck
191 defaults: liburcu
192
193 triggers:
194 - pollscm:
195 cron: "@daily"
196
197 builders:
198 - shell: |
199 rm -f cppcheck-result.xml
200 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/liburcu 2> cppcheck-result.xml
201
202 publishers:
203 - archive:
204 artifacts: 'cppcheck-result.xml'
205 allow-empty: false
206 - cppcheck:
207 pattern: 'cppcheck-result.xml'
208 - email-ext:
209 recipients: '{obj:email_to}'
210 reply-to: ci-notification@lists.lttng.org
211 always: false
212 unstable: false
213 first-failure: true
214 first-unstable: false
215 not-built: false
216 aborted: false
217 regression: false
218 failure: false
219 second-failure: false
220 improvement: false
221 still-failing: false
222 success: false
223 fixed: false
224 fixed-unhealthy: true
225 still-unstable: true
226 pre-build: false
227 matrix-trigger: only-parent
228 send-to:
229 - recipients
230
231 - job-template:
232 name: dev_gerrit_liburcu_{buildtype}
233 defaults: liburcu
234 concurrent: true
235
236 scm:
237 - git:
238 url: https://review.lttng.org/userspace-rcu
239 refspec: 'refs/changes/*:refs/changes/*'
240 branches:
241 - '$GERRIT_REFSPEC'
242 basedir: src/liburcu
243 skip-tag: true
244
245 triggers:
246 - gerrit:
247 trigger-on:
248 - comment-added-event:
249 approval-category: 'CI-Build'
250 approval-value: 1
251 projects:
252 - project-compare-type: 'PLAIN'
253 project-pattern: 'userspace-rcu'
254 branches:
255 - branch-compare-type: 'ANT'
256 branch-pattern: '**'
257
258 <<: *liburcu_build_axes_defaults
259 <<: *liburcu_build_builders_defaults
260
261 publishers:
262 - tap:
263 results: 'tap/**/*.log'
264 fail-if-no-results: true
265 failed-tests-mark-build-as-failure: true
266 todo-is-failure: false
267 - warnings:
268 console-log-parsers:
269 - 'GNU Make + GNU C Compiler (gcc)'
270 total-thresholds:
271 unstable:
272 total-all: 0
273 total-high: 0
274 total-normal: 0
275 total-low: 0
276
277 - job-template:
278 name: liburcu_{version}_scan-build
279 defaults: liburcu
280 node: 'amd64'
281
282 triggers:
283 - pollscm:
284 cron: "@daily"
285
286 builders:
287 - shell:
288 !include-raw-escape: scripts/common/scan-build.sh
289
290 publishers:
291 - html-publisher:
292 name: 'HTML Report'
293 dir: 'scan-build-archive/'
294 files: 'index.html'
295
296 - job-template:
297 name: liburcu_{version}_coverity
298 defaults: liburcu
299 node: 'amd64'
300
301 triggers:
302 - pollscm:
303 cron: "@daily"
304
305 wrappers:
306 - ansicolor
307 - timeout:
308 timeout: 60
309 fail: true
310 type: absolute
311 - timestamps
312 - workspace-cleanup:
313 clean-if:
314 - failure: false
315 - credentials-binding:
316 - username-password-separated:
317 credential-id: liburcu_coverity_token
318 username: COVERITY_SCAN_PROJECT_NAME
319 password: COVERITY_SCAN_TOKEN
320
321 builders:
322 - shell:
323 !include-raw-escape: scripts/common/coverity.sh
324
325 publishers:
326 - workspace-cleanup
327 - archive:
328 artifacts: 'analysis-results.tgz,cov-int/**'
329 allow-empty: false
330
331
332 ## Views
333 - view-template:
334 name: 'Liburcu'
335 view-type: list
336 regex: 'liburcu[-_].*'
337
338
339 ## Projects
340 - project:
341 name: liburcu
342 github_user: urcu
343 github_name: userspace-rcu
344 email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
345 version:
346 - stable-0.12
347 - stable-0.13
348 - master
349 jobs:
350 - 'liburcu_{version}_{buildtype}':
351 buildtype: build
352 arch: !!python/tuple [amd64]
353 build: !!python/tuple [std, oot, dist]
354 conf: !!python/tuple [std, static, tls_fallback, debug-rcu]
355 - 'liburcu_{version}_{buildtype}':
356 buildtype: portbuild
357 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
358 build: !!python/tuple [std]
359 conf: !!python/tuple [std, static, tls_fallback, debug-rcu]
360 - 'liburcu_{version}_{buildtype}':
361 buildtype: slesbuild
362 arch: !!python/tuple [sles12sp5]
363 build: !!python/tuple [std]
364 conf: !!python/tuple [std]
365 - 'liburcu_{version}_{buildtype}':
366 buildtype: elbuild
367 arch: !!python/tuple [el8]
368 build: !!python/tuple [std]
369 conf: !!python/tuple [std]
370 - 'liburcu_{version}_{buildtype}':
371 buildtype: macosbuild
372 arch: !!python/tuple [macos-amd64, macos-arm64]
373 build: !!python/tuple [std]
374 conf: !!python/tuple [std]
375 - 'liburcu_{version}_winbuild':
376 arch: !!python/tuple [cygwin64]
377 build: !!python/tuple [std]
378 conf: !!python/tuple [std]
379 - 'liburcu_{version}_{buildtype}':
380 buildtype: freebsdbuild
381 arch: !!python/tuple [freebsd]
382 build: !!python/tuple [std]
383 conf: !!python/tuple [std]
384 version:
385 - stable-0.12
386 - stable-0.13
387 - master
388 - 'liburcu_{version}_cppcheck'
389 - 'liburcu_{version}_scan-build'
390 - 'liburcu_{version}_coverity':
391 version: master
392
393
394 - project:
395 name: liburcu-dev-upstream
396 github_user: urcu
397 github_name: userspace-rcu
398 email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
399 version:
400 - stable-0.9
401 - stable-0.10
402 - stable-0.11
403 jobs:
404 - 'dev_upstream_liburcu_{version}_{buildtype}':
405 buildtype: build
406 arch: !!python/tuple [amd64]
407 build: !!python/tuple [std, oot, dist]
408 conf: !!python/tuple [std, static, tls_fallback, debug-rcu]
409 - 'dev_upstream_liburcu_{version}_{buildtype}':
410 buildtype: portbuild
411 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
412 build: !!python/tuple [std]
413 conf: !!python/tuple [std, static, tls_fallback, debug-rcu]
414 - 'dev_upstream_liburcu_{version}_{buildtype}':
415 buildtype: slesbuild
416 arch: !!python/tuple [sles12sp5]
417 build: !!python/tuple [std]
418 conf: !!python/tuple [std]
419 - 'dev_upstream_liburcu_{version}_{buildtype}':
420 buildtype: elbuild
421 arch: !!python/tuple [el8]
422 build: !!python/tuple [std]
423 conf: !!python/tuple [std]
424
425
426 - project:
427 name: gerrit-liburcu
428 github_user: urcu
429 github_name: userspace-rcu
430 jobs:
431 - 'dev_gerrit_liburcu_{buildtype}':
432 buildtype: build
433 arch: !!python/tuple [amd64]
434 build: !!python/tuple [std, oot, dist]
435 conf: !!python/tuple [std, static, tls_fallback, debug-rcu]
436 buildtype: build
437 - 'dev_gerrit_liburcu_{buildtype}':
438 buildtype: portbuild
439 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
440 build: !!python/tuple [std]
441 conf: !!python/tuple [std]
442
443
444 - project:
445 name: liburcu-views
446 views:
447 - Liburcu
This page took 0.039255 seconds and 5 git commands to generate.