jjb: remove stale ircbot configs
[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 - email-ext:
129 recipients: '{obj:email_to}'
130 reply-to: ci-notification@lists.lttng.org
131 always: false
132 unstable: false
133 first-failure: true
134 first-unstable: true
135 not-built: false
136 aborted: false
137 regression: false
138 failure: false
139 second-failure: false
140 improvement: false
141 still-failing: false
142 success: false
143 fixed: false
144 fixed-unhealthy: true
145 still-unstable: false
146 pre-build: false
147 matrix-trigger: only-parent
148 send-to:
149 - recipients
150
151 ## Templates
152 - job-template:
153 name: liburcu_{version}_{buildtype}
154 defaults: liburcu
155
156 <<: *liburcu_build_axes_defaults
157 <<: *liburcu_build_builders_defaults
158 <<: *liburcu_build_publishers_defaults
159
160 - job-template:
161 name: '{job_prefix}liburcu_{version}_{buildtype}'
162 defaults: liburcu
163
164 <<: *liburcu_build_axes_defaults
165 <<: *liburcu_build_builders_defaults
166 <<: *liburcu_build_publishers_defaults
167
168 - job-template:
169 name: liburcu_{version}_winbuild
170 defaults: liburcu
171
172 <<: *liburcu_build_axes_defaults
173 <<: *liburcu_build_builders_win
174 <<: *liburcu_build_publishers_defaults
175
176 - job-template:
177 name: '{job_prefix}liburcu_{version}_winbuild'
178 defaults: liburcu
179
180 <<: *liburcu_build_axes_defaults
181 <<: *liburcu_build_builders_win
182 <<: *liburcu_build_publishers_defaults
183
184 - job-template:
185 name: liburcu_{version}_cppcheck
186 defaults: liburcu
187
188 triggers:
189 - pollscm:
190 cron: "@daily"
191
192 builders:
193 - shell: |
194 rm -f cppcheck-result.xml
195 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/liburcu 2> cppcheck-result.xml
196
197 publishers:
198 - archive:
199 artifacts: 'cppcheck-result.xml'
200 allow-empty: false
201 - cppcheck:
202 pattern: 'cppcheck-result.xml'
203 - email-ext:
204 recipients: '{obj:email_to}'
205 reply-to: ci-notification@lists.lttng.org
206 always: false
207 unstable: false
208 first-failure: true
209 first-unstable: false
210 not-built: false
211 aborted: false
212 regression: false
213 failure: false
214 second-failure: false
215 improvement: false
216 still-failing: false
217 success: false
218 fixed: false
219 fixed-unhealthy: true
220 still-unstable: true
221 pre-build: false
222 matrix-trigger: only-parent
223 send-to:
224 - recipients
225
226 - job-template:
227 name: dev_gerrit_liburcu_{buildtype}
228 defaults: liburcu
229 concurrent: true
230
231 scm:
232 - git:
233 url: https://review.lttng.org/userspace-rcu
234 refspec: 'refs/changes/*:refs/changes/*'
235 branches:
236 - '$GERRIT_REFSPEC'
237 basedir: src/liburcu
238 skip-tag: true
239
240 triggers:
241 - gerrit:
242 trigger-on:
243 - comment-added-event:
244 approval-category: 'CI-Build'
245 approval-value: 1
246 projects:
247 - project-compare-type: 'PLAIN'
248 project-pattern: 'userspace-rcu'
249 branches:
250 - branch-compare-type: 'ANT'
251 branch-pattern: '**'
252
253 <<: *liburcu_build_axes_defaults
254 <<: *liburcu_build_builders_defaults
255
256 publishers:
257 - tap:
258 results: 'tap/**/*.log'
259 fail-if-no-results: true
260 failed-tests-mark-build-as-failure: true
261 todo-is-failure: false
262 - warnings:
263 console-log-parsers:
264 - 'GNU Make + GNU C Compiler (gcc)'
265 total-thresholds:
266 unstable:
267 total-all: 0
268 total-high: 0
269 total-normal: 0
270 total-low: 0
271
272 - job-template:
273 name: liburcu_{version}_scan-build
274 defaults: liburcu
275 node: 'amd64'
276
277 triggers:
278 - pollscm:
279 cron: "@daily"
280
281 builders:
282 - shell:
283 !include-raw-escape: scripts/common/scan-build.sh
284
285 publishers:
286 - html-publisher:
287 name: 'HTML Report'
288 dir: 'scan-build-archive/'
289 files: 'index.html'
290
291 - job-template:
292 name: liburcu_{version}_coverity
293 defaults: liburcu
294 node: 'amd64'
295
296 triggers:
297 - pollscm:
298 cron: "@daily"
299
300 wrappers:
301 - ansicolor
302 - timeout:
303 timeout: 60
304 fail: true
305 type: absolute
306 - timestamps
307 - workspace-cleanup:
308 clean-if:
309 - failure: false
310 - credentials-binding:
311 - username-password-separated:
312 credential-id: liburcu_coverity_token
313 username: COVERITY_SCAN_PROJECT_NAME
314 password: COVERITY_SCAN_TOKEN
315
316 builders:
317 - shell:
318 !include-raw-escape: scripts/common/coverity.sh
319
320 publishers:
321 - workspace-cleanup
322 - archive:
323 artifacts: 'analysis-results.tgz,cov-int/**'
324 allow-empty: false
325
326
327 ## Views
328 - view-template:
329 name: 'Liburcu'
330 view-type: list
331 regex: 'liburcu[-_].*'
332
333
334 ## Projects
335 - project:
336 name: liburcu
337 github_user: urcu
338 github_name: userspace-rcu
339 email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
340 version:
341 - stable-0.12
342 - stable-0.13
343 - master
344 jobs:
345 - 'liburcu_{version}_{buildtype}':
346 buildtype: build
347 arch: !!python/tuple [amd64]
348 build: !!python/tuple [std, oot, dist]
349 conf: !!python/tuple [std, static, tls_fallback, debug-rcu]
350 - 'liburcu_{version}_{buildtype}':
351 buildtype: portbuild
352 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
353 build: !!python/tuple [std]
354 conf: !!python/tuple [std, static, tls_fallback, debug-rcu]
355 - 'liburcu_{version}_{buildtype}':
356 buildtype: slesbuild
357 arch: !!python/tuple [sles12sp5]
358 build: !!python/tuple [std]
359 conf: !!python/tuple [std]
360 - 'liburcu_{version}_{buildtype}':
361 buildtype: elbuild
362 arch: !!python/tuple [el8]
363 build: !!python/tuple [std]
364 conf: !!python/tuple [std]
365 - 'liburcu_{version}_{buildtype}':
366 buildtype: macosbuild
367 arch: !!python/tuple [macos-amd64, macos-arm64]
368 build: !!python/tuple [std]
369 conf: !!python/tuple [std]
370 - 'liburcu_{version}_winbuild':
371 arch: !!python/tuple [cygwin64]
372 build: !!python/tuple [std]
373 conf: !!python/tuple [std]
374 - 'liburcu_{version}_{buildtype}':
375 buildtype: freebsdbuild
376 arch: !!python/tuple [freebsd]
377 build: !!python/tuple [std]
378 conf: !!python/tuple [std]
379 version:
380 - stable-0.12
381 - stable-0.13
382 - master
383 - 'liburcu_{version}_cppcheck'
384 - 'liburcu_{version}_scan-build'
385 - 'liburcu_{version}_coverity':
386 version: master
387
388
389 - project:
390 name: liburcu-dev-upstream
391 job_prefix: 'dev_upstream_'
392 github_user: urcu
393 github_name: userspace-rcu
394 email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
395 version:
396 - stable-0.9
397 - stable-0.10
398 - stable-0.11
399 jobs:
400 - '{job_prefix}liburcu_{version}_{buildtype}':
401 buildtype: build
402 arch: !!python/tuple [amd64]
403 build: !!python/tuple [std, oot, dist]
404 conf: !!python/tuple [std, static, tls_fallback, debug-rcu]
405 - '{job_prefix}liburcu_{version}_{buildtype}':
406 buildtype: portbuild
407 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
408 build: !!python/tuple [std]
409 conf: !!python/tuple [std, static, tls_fallback, debug-rcu]
410 - '{job_prefix}liburcu_{version}_{buildtype}':
411 buildtype: slesbuild
412 arch: !!python/tuple [sles12sp5]
413 build: !!python/tuple [std]
414 conf: !!python/tuple [std]
415 - '{job_prefix}liburcu_{version}_{buildtype}':
416 buildtype: elbuild
417 arch: !!python/tuple [el8]
418 build: !!python/tuple [std]
419 conf: !!python/tuple [std]
420
421
422 - project:
423 name: gerrit-liburcu
424 github_user: urcu
425 github_name: userspace-rcu
426 jobs:
427 - 'dev_gerrit_liburcu_{buildtype}':
428 buildtype: build
429 arch: !!python/tuple [amd64]
430 build: !!python/tuple [std, oot, dist]
431 conf: !!python/tuple [std, static, tls_fallback, debug-rcu]
432 buildtype: build
433 - 'dev_gerrit_liburcu_{buildtype}':
434 buildtype: portbuild
435 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
436 build: !!python/tuple [std]
437 conf: !!python/tuple [std]
438
439
440 - project:
441 name: liburcu-views
442 views:
443 - Liburcu
This page took 0.043761 seconds and 5 git commands to generate.