Commit | Line | Data |
---|---|---|
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 |
092af1e4 JR |
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 | |
dfc19a66 MJ |
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 | ||
24b12170 | 160 | - job-template: |
c3843719 | 161 | name: '{job_prefix}liburcu_{version}_{buildtype}' |
24b12170 MJ |
162 | defaults: liburcu |
163 | ||
164 | <<: *liburcu_build_axes_defaults | |
165 | <<: *liburcu_build_builders_defaults | |
166 | <<: *liburcu_build_publishers_defaults | |
167 | ||
dfc19a66 MJ |
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 | ||
24b12170 | 176 | - job-template: |
c3843719 | 177 | name: '{job_prefix}liburcu_{version}_winbuild' |
24b12170 MJ |
178 | defaults: liburcu |
179 | ||
180 | <<: *liburcu_build_axes_defaults | |
181 | <<: *liburcu_build_builders_win | |
182 | <<: *liburcu_build_publishers_defaults | |
183 | ||
e3022ad9 MJ |
184 | - job-template: |
185 | name: liburcu_{version}_cppcheck | |
186 | defaults: liburcu | |
187 | ||
188 | triggers: | |
e8078c79 MJ |
189 | - pollscm: |
190 | cron: "@daily" | |
e3022ad9 MJ |
191 | |
192 | builders: | |
193 | - shell: | | |
5279b0f2 MJ |
194 | rm -f cppcheck-result.xml |
195 | cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/liburcu 2> cppcheck-result.xml | |
e3022ad9 MJ |
196 | |
197 | publishers: | |
198 | - archive: | |
5279b0f2 | 199 | artifacts: 'cppcheck-result.xml' |
e3022ad9 | 200 | allow-empty: false |
e3022ad9 | 201 | - cppcheck: |
5279b0f2 | 202 | pattern: 'cppcheck-result.xml' |
092af1e4 JR |
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 | |
e3022ad9 | 225 | |
33b3de03 MJ |
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 | ||
e3022ad9 MJ |
272 | - job-template: |
273 | name: liburcu_{version}_scan-build | |
274 | defaults: liburcu | |
16844a6d | 275 | node: 'amd64' |
e3022ad9 MJ |
276 | |
277 | triggers: | |
e8078c79 MJ |
278 | - pollscm: |
279 | cron: "@daily" | |
e3022ad9 MJ |
280 | |
281 | builders: | |
282 | - shell: | |
69f05d59 | 283 | !include-raw-escape: scripts/common/scan-build.sh |
e3022ad9 MJ |
284 | |
285 | publishers: | |
286 | - html-publisher: | |
287 | name: 'HTML Report' | |
288 | dir: 'scan-build-archive/' | |
289 | files: 'index.html' | |
290 | ||
e8078c79 MJ |
291 | - job-template: |
292 | name: liburcu_{version}_coverity | |
293 | defaults: liburcu | |
16844a6d | 294 | node: 'amd64' |
e8078c79 MJ |
295 | |
296 | triggers: | |
297 | - pollscm: | |
298 | cron: "@daily" | |
299 | ||
300 | wrappers: | |
dfc19a66 MJ |
301 | - ansicolor |
302 | - timeout: | |
303 | timeout: 60 | |
304 | fail: true | |
305 | type: absolute | |
e8078c79 | 306 | - timestamps |
dfc19a66 MJ |
307 | - workspace-cleanup: |
308 | clean-if: | |
309 | - failure: false | |
e8078c79 MJ |
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: | |
ef63064f | 318 | !include-raw-escape: scripts/common/coverity.sh |
e8078c79 MJ |
319 | |
320 | publishers: | |
321 | - workspace-cleanup | |
6d35c326 MJ |
322 | - archive: |
323 | artifacts: 'analysis-results.tgz,cov-int/**' | |
324 | allow-empty: false | |
e3022ad9 MJ |
325 | |
326 | ||
69d7af71 MJ |
327 | ## Views |
328 | - view-template: | |
329 | name: 'Liburcu' | |
330 | view-type: list | |
331 | regex: 'liburcu[-_].*' | |
332 | ||
333 | ||
334 | ## Projects | |
e3022ad9 MJ |
335 | - project: |
336 | name: liburcu | |
51ca880a MJ |
337 | github_user: urcu |
338 | github_name: userspace-rcu | |
092af1e4 | 339 | email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com' |
e3022ad9 | 340 | version: |
9c359981 | 341 | - stable-0.12 |
d456a285 | 342 | - stable-0.13 |
dfc19a66 | 343 | - master |
e3022ad9 | 344 | jobs: |
57ae8ff4 MJ |
345 | - 'liburcu_{version}_{buildtype}': |
346 | buildtype: build | |
16844a6d | 347 | arch: !!python/tuple [amd64] |
9d0846f3 | 348 | build: !!python/tuple [std, oot, dist] |
dfc19a66 | 349 | conf: !!python/tuple [std, static, tls_fallback, debug-rcu] |
57ae8ff4 MJ |
350 | - 'liburcu_{version}_{buildtype}': |
351 | buildtype: portbuild | |
16844a6d | 352 | arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] |
9d0846f3 | 353 | build: !!python/tuple [std] |
dfc19a66 | 354 | conf: !!python/tuple [std, static, tls_fallback, debug-rcu] |
81bf613d MJ |
355 | - 'liburcu_{version}_{buildtype}': |
356 | buildtype: slesbuild | |
80d2c49d | 357 | arch: !!python/tuple [sles12sp5] |
81bf613d MJ |
358 | build: !!python/tuple [std] |
359 | conf: !!python/tuple [std] | |
568b5cbd MJ |
360 | - 'liburcu_{version}_{buildtype}': |
361 | buildtype: elbuild | |
362 | arch: !!python/tuple [el8] | |
363 | build: !!python/tuple [std] | |
364 | conf: !!python/tuple [std] | |
f7bf4d7a | 365 | - 'liburcu_{version}_{buildtype}': |
f0d7e5b1 MJ |
366 | buildtype: macosbuild |
367 | arch: !!python/tuple [macos-amd64, macos-arm64] | |
f7bf4d7a | 368 | build: !!python/tuple [std] |
f0d7e5b1 | 369 | conf: !!python/tuple [std] |
dfc19a66 | 370 | - 'liburcu_{version}_winbuild': |
cefcd7f8 | 371 | arch: !!python/tuple [cygwin64] |
dfc19a66 MJ |
372 | build: !!python/tuple [std] |
373 | conf: !!python/tuple [std] | |
6ad0e7e6 MJ |
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 | |
d456a285 | 381 | - stable-0.13 |
6ad0e7e6 | 382 | - master |
e3022ad9 MJ |
383 | - 'liburcu_{version}_cppcheck' |
384 | - 'liburcu_{version}_scan-build' | |
e8078c79 MJ |
385 | - 'liburcu_{version}_coverity': |
386 | version: master | |
e3022ad9 | 387 | |
24b12170 MJ |
388 | |
389 | - project: | |
390 | name: liburcu-dev-upstream | |
c3843719 | 391 | job_prefix: 'dev_upstream_' |
24b12170 MJ |
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: | |
c3843719 | 400 | - '{job_prefix}liburcu_{version}_{buildtype}': |
24b12170 MJ |
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] | |
c3843719 | 405 | - '{job_prefix}liburcu_{version}_{buildtype}': |
24b12170 MJ |
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] | |
c3843719 | 410 | - '{job_prefix}liburcu_{version}_{buildtype}': |
24b12170 MJ |
411 | buildtype: slesbuild |
412 | arch: !!python/tuple [sles12sp5] | |
413 | build: !!python/tuple [std] | |
414 | conf: !!python/tuple [std] | |
c3843719 | 415 | - '{job_prefix}liburcu_{version}_{buildtype}': |
24b12170 MJ |
416 | buildtype: elbuild |
417 | arch: !!python/tuple [el8] | |
418 | build: !!python/tuple [std] | |
419 | conf: !!python/tuple [std] | |
420 | ||
421 | ||
33b3de03 MJ |
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 | ||
24b12170 | 439 | |
69d7af71 MJ |
440 | - project: |
441 | name: liburcu-views | |
442 | views: | |
443 | - Liburcu |