jjb: Add builds on deb12-armhf platforms
[lttng-ci.git] / jobs / liburcu.yaml
1 # {project}_{version}_{jobtype}
2 # liburcu_stable-0.8_build
3 #
4 # jobtypes:
5 # - build
6 # - portbuild
7 # - coverity
8 # - scan-build
9 # - pylint
10
11 - defaults:
12 name: liburcu
13 description: |
14 liburcu is a LGPLv2.1 userspace RCU (read-copy-update) library. This
15 data synchronization library provides read-side access which scales
16 linearly with the number of cores. It does so by allowing multiples
17 copies of a given data structure to live at the same time, and by
18 monitoring the data structure accesses to detect grace periods after
19 which memory reclamation is possible.
20
21 liburcu-cds provides efficient data structures based on RCU and
22 lock-free algorithms. Those structures include hash tables, queues,
23 stacks, and doubly-linked lists.
24
25 <p>Job is managed by Jenkins Job Builder.</p>
26
27 project-type: freestyle
28
29 wrappers:
30 - ansicolor: &liburcu_wrapper_ansicolor_defaults
31 colormap: xterm
32 - timeout: &liburcu_wrapper_timeout_defaults
33 timeout: 90
34 fail: true
35 type: absolute
36 - timestamps
37 - workspace-cleanup
38
39 scm:
40 - git:
41 url: https://github.com/{github_user}/{github_name}.git
42 browser: githubweb
43 browser-url: https://github.com/{github_user}/{github_name}
44 branches:
45 - origin/{version}
46 basedir: src/liburcu
47 skip-tag: true
48
49 triggers:
50 - pollscm:
51 cron: "@hourly"
52
53 properties:
54 - inject:
55 properties-content: |
56 PROJECT_NAME=liburcu
57 - build-discarder:
58 num-to-keep: 10
59 artifact-num-to-keep: 2
60 - github:
61 url: https://github.com/{github_user}/{github_name}
62
63
64 ## Anchors
65 - _liburcu_matrix_axes_defaults: &liburcu_matrix_axes_defaults
66 name: 'liburcu_matrix_axes_defaults'
67 project-type: matrix
68 node: 'master' # Applies only to matrix flyweight task
69 execution-strategy:
70 touchstone:
71 expr: '{touchstone}'
72 result: unstable
73 axes:
74 - axis:
75 type: slave
76 name: platform
77 values: '{obj:platforms}'
78 - axis:
79 type: user-defined
80 name: conf
81 values: '{obj:confs}'
82 - axis:
83 type: user-defined
84 name: build
85 values: '{obj:builds}'
86
87 - _liburcu_builders_defaults: &liburcu_builders_defaults
88 name: 'liburcu_builders_defaults'
89 builders:
90 !j2-yaml: |
91 {% if buildtype == 'winbuild' %}
92 - conditional-step:
93 condition-kind: strings-match
94 on-evaluation-failure: run
95 condition-string1: {{ '${{platform}}' }}
96 condition-string2: 'cygwin64'
97 steps:
98 - shell:
99 !include-raw-escape:
100 - scripts/common/cygwin64-shebang
101 - scripts/common/cygpath-prefix
102 - scripts/common/print.sh
103 - scripts/liburcu/build.sh
104 {% else %}
105 - shell:
106 !include-raw-escape:
107 - scripts/common/print.sh
108 - scripts/liburcu/build.sh
109 {% endif %}
110
111 - _liburcu_publishers_defaults: &liburcu_publishers_defaults
112 name: 'liburcu_publishers_defaults'
113 publishers:
114 - tap: &liburcu_publisher_tap_defaults
115 results: 'tap/**/*.log'
116 fail-if-no-results: true
117 failed-tests-mark-build-as-failure: true
118 include-comment-diagnostics: true
119 output-tap-to-console: false
120 todo-is-failure: false
121 - raw: &liburcu_publisher_warnings-ng_defaults
122 xml: |
123 <io.jenkins.plugins.analysis.core.steps.IssuesRecorder plugin="warnings-ng">
124 <analysisTools>
125 <io.jenkins.plugins.analysis.warnings.Gcc4>
126 <id/>
127 <name/>
128 <jenkins plugin="plugin-util-api"/>
129 <pattern/>
130 <reportEncoding/>
131 <skipSymbolicLinks>false</skipSymbolicLinks>
132 </io.jenkins.plugins.analysis.warnings.Gcc4>
133 </analysisTools>
134 <sourceCodeEncoding/>
135 <sourceDirectory/>
136 <sourceDirectories/>
137 <ignoreQualityGate>false</ignoreQualityGate>
138 <ignoreFailedBuilds>true</ignoreFailedBuilds>
139 <failOnError>false</failOnError>
140 <healthy>0</healthy>
141 <unhealthy>0</unhealthy>
142 <minimumSeverity plugin="analysis-model-api">
143 <name>LOW</name>
144 </minimumSeverity>
145 <filters/>
146 <isEnabledForFailure>true</isEnabledForFailure>
147 <isAggregatingResults>true</isAggregatingResults>
148 <isBlameDisabled>false</isBlameDisabled>
149 <skipPublishingChecks>true</skipPublishingChecks>
150 <publishAllIssues>false</publishAllIssues>
151 <qualityGates>
152 <io.jenkins.plugins.analysis.core.util.QualityGate>
153 <threshold>1</threshold>
154 <type>TOTAL</type>
155 <status>WARNING</status>
156 </io.jenkins.plugins.analysis.core.util.QualityGate>
157 </qualityGates>
158 <trendChartType>AGGREGATION_TOOLS</trendChartType>
159 <scm/>
160 </io.jenkins.plugins.analysis.core.steps.IssuesRecorder>
161 - archive: &liburcu_publisher_archive_defaults
162 artifacts: 'build/**,tap/**,log/**'
163 follow-symlinks: true
164 allow-empty: false
165 - workspace-cleanup: &liburcu_publisher_workspace_cleanup_defaults
166 clean-if:
167 - failure: false
168 - ircbot: &liburcu_publisher_ircbot_defaults
169 strategy: statechange-only
170 message-type: summary
171 matrix-notifier: only-parent
172 - email-ext: &liburcu_publisher_email_ext_defaults
173 recipients: '{obj:email_to}'
174 reply-to: ci-notification@lists.lttng.org
175 always: false
176 unstable: false
177 first-failure: true
178 first-unstable: true
179 not-built: false
180 aborted: false
181 regression: false
182 failure: false
183 second-failure: false
184 improvement: false
185 still-failing: false
186 success: false
187 fixed: false
188 fixed-unhealthy: true
189 still-unstable: false
190 pre-build: false
191 matrix-trigger: only-parent
192 send-to:
193 - recipients
194
195 ## Templates
196 - job-template:
197 name: '{job_prefix}liburcu_{version}_{buildtype}'
198 defaults: liburcu
199
200 <<: *liburcu_matrix_axes_defaults
201 <<: *liburcu_builders_defaults
202 <<: *liburcu_publishers_defaults
203
204 - job-template:
205 name: dev_review_liburcu_{version}_{buildtype}
206 defaults: liburcu
207 concurrent: true
208
209 scm:
210 - git:
211 url: https://review.lttng.org/userspace-rcu
212 refspec: 'refs/changes/*:refs/changes/*'
213 branches:
214 - '$GERRIT_REFSPEC'
215 basedir: src/liburcu
216 skip-tag: true
217
218 triggers:
219 - gerrit:
220 trigger-on:
221 - comment-added-event:
222 approval-category: 'CI-Build'
223 approval-value: 1
224 projects:
225 - project-compare-type: 'PLAIN'
226 project-pattern: 'userspace-rcu'
227 branches:
228 - branch-compare-type: 'PLAIN'
229 branch-pattern: '{version}'
230
231 properties:
232 - inject:
233 properties-content: |
234 PROJECT_NAME=liburcu
235 - build-discarder:
236 days-to-keep: 1
237 - throttle:
238 option: 'category'
239 categories:
240 - 'gerrit-{buildtype}'
241
242 <<: *liburcu_matrix_axes_defaults
243 <<: *liburcu_builders_defaults
244
245 publishers:
246 - tap: *liburcu_publisher_tap_defaults
247 - raw: *liburcu_publisher_warnings-ng_defaults
248 - workspace-cleanup: *liburcu_publisher_workspace_cleanup_defaults
249
250 - job-template:
251 name: liburcu_{version}_scan-build
252 defaults: liburcu
253 node: 'bionic-amd64'
254
255 triggers:
256 - pollscm:
257 cron: "@daily"
258
259 builders:
260 - shell:
261 !include-raw-escape: scripts/common/scan-build.sh
262
263 publishers:
264 - html-publisher:
265 name: 'HTML Report'
266 dir: 'scan-build-archive/'
267 files: 'index.html'
268 - workspace-cleanup: *liburcu_publisher_workspace_cleanup_defaults
269 - ircbot: *liburcu_publisher_ircbot_defaults
270
271 - job-template:
272 name: liburcu_{version}_coverity
273 defaults: liburcu
274 node: 'bionic-amd64'
275
276 triggers:
277 - pollscm:
278 cron: "@daily"
279
280 wrappers:
281 - ansicolor: *liburcu_wrapper_ansicolor_defaults
282 - timeout: *liburcu_wrapper_timeout_defaults
283 - timestamps
284 - workspace-cleanup
285 - credentials-binding:
286 - username-password-separated:
287 credential-id: liburcu_coverity_token
288 username: COVERITY_SCAN_PROJECT_NAME
289 password: COVERITY_SCAN_TOKEN
290
291 builders:
292 - shell:
293 !include-raw-escape: scripts/common/coverity.sh
294
295 publishers:
296 - archive:
297 artifacts: 'analysis-results.tgz,cov-int/**'
298 allow-empty: false
299 - workspace-cleanup: *liburcu_publisher_workspace_cleanup_defaults
300 - ircbot: *liburcu_publisher_ircbot_defaults
301
302
303 ## Views
304 - view-template:
305 name: 'Liburcu'
306 view-type: list
307 regex: 'liburcu[-_].*'
308
309
310 ## Projects
311 - project:
312 name: liburcu
313 job_prefix: ''
314 github_user: urcu
315 github_name: userspace-rcu
316 email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
317 version:
318 - stable-0.13
319 - stable-0.14
320 - master
321 jobs:
322 - '{job_prefix}liburcu_{version}_{buildtype}':
323 buildtype: linuxbuild
324 platforms: !!python/tuple [jammy-amd64]
325 builds: !!python/tuple [std, oot, dist]
326 confs: !!python/tuple [std, static, tls_fallback, debug-rcu]
327 touchstone: '(build == "std") && (conf == "std")'
328 - '{job_prefix}liburcu_{version}_{buildtype}':
329 buildtype: build
330 platforms: !!python/tuple [bionic-amd64]
331 builds: !!python/tuple [std, oot, dist]
332 confs: !!python/tuple [std, static, tls_fallback, debug-rcu]
333 touchstone: '(build == "std") && (conf == "std")'
334 - '{job_prefix}liburcu_{version}_{buildtype}':
335 buildtype: portbuild
336 platforms: !!python/tuple [deb11-armhf, deb12-armhf, deb11-arm64, deb12-arm64, deb12-ppc64el, deb11-i386, deb12-i386]
337 builds: !!python/tuple [std]
338 confs: !!python/tuple [std, static, tls_fallback, debug-rcu]
339 touchstone: '(build == "std") && (conf == "std") && (platform == "deb11-i386")'
340 - '{job_prefix}liburcu_{version}_{buildtype}':
341 buildtype: slesbuild
342 platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64]
343 builds: !!python/tuple [std]
344 confs: !!python/tuple [std]
345 touchstone: '(build == "std")'
346 - '{job_prefix}liburcu_{version}_{buildtype}':
347 buildtype: elbuild
348 platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64, el7-arm64, el8-arm64, el9-arm64]
349 builds: !!python/tuple [std]
350 confs: !!python/tuple [std]
351 touchstone: '(build == "std")'
352 - '{job_prefix}liburcu_{version}_{buildtype}':
353 buildtype: yoctobuild
354 platforms: !!python/tuple [yocto23-powerpcspe, yocto23-powerpc, yocto31-ppc64]
355 builds: !!python/tuple [std]
356 confs: !!python/tuple [std]
357 touchstone: '(build == "std")'
358 - '{job_prefix}liburcu_{version}_{buildtype}':
359 buildtype: macosbuild
360 platforms: !!python/tuple [macos-amd64, macos-arm64]
361 builds: !!python/tuple [std]
362 confs: !!python/tuple [std]
363 touchstone: '(build == "std")'
364 - '{job_prefix}liburcu_{version}_{buildtype}':
365 buildtype: winbuild
366 platforms: !!python/tuple [cygwin64]
367 builds: !!python/tuple [std]
368 confs: !!python/tuple [std]
369 touchstone: '(build == "std")'
370 - '{job_prefix}liburcu_{version}_{buildtype}':
371 buildtype: freebsdbuild
372 platforms: !!python/tuple [freebsd-amd64]
373 builds: !!python/tuple [std]
374 confs: !!python/tuple [std]
375 touchstone: '(build == "std")'
376 - 'liburcu_{version}_scan-build'
377 - 'liburcu_{version}_coverity':
378 version: master
379
380
381 - project:
382 name: liburcu-dev-upstream
383 job_prefix: 'dev_upstream_'
384 github_user: urcu
385 github_name: userspace-rcu
386 email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
387 version:
388 - stable-0.9
389 - stable-0.10
390 - stable-0.11
391 - stable-0.12
392 jobs:
393 - '{job_prefix}liburcu_{version}_{buildtype}':
394 buildtype: linuxbuild
395 platforms: !!python/tuple [jammy-amd64]
396 builds: !!python/tuple [std, oot, dist]
397 confs: !!python/tuple [std, static, tls_fallback, debug-rcu]
398 touchstone: '(build == "std") && (conf == "std")'
399 - '{job_prefix}liburcu_{version}_{buildtype}':
400 buildtype: portbuild
401 platforms: !!python/tuple [deb11-armhf, deb12-armhf, deb11-arm64, deb12-arm64, deb12-ppc64el, deb11-i386, deb12-i386]
402 builds: !!python/tuple [std]
403 confs: !!python/tuple [std, static, tls_fallback, debug-rcu]
404 touchstone: '(build == "std") && (conf == "std") && (platform == "deb11-i386")'
405 - '{job_prefix}liburcu_{version}_{buildtype}':
406 buildtype: slesbuild
407 platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64]
408 builds: !!python/tuple [std]
409 confs: !!python/tuple [std]
410 touchstone: '(build == "std")'
411 - '{job_prefix}liburcu_{version}_{buildtype}':
412 buildtype: elbuild
413 platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64]
414 builds: !!python/tuple [std]
415 confs: !!python/tuple [std]
416 touchstone: '(build == "std")'
417
418
419 - project:
420 name: review-liburcu
421 github_user: urcu
422 github_name: userspace-rcu
423 version:
424 - stable-0.13
425 - stable-0.14
426 - master
427 jobs:
428 - 'dev_review_liburcu_{version}_{buildtype}':
429 buildtype: build
430 platforms: !!python/tuple [bionic-amd64]
431 builds: !!python/tuple [std, oot, dist]
432 confs: !!python/tuple [std, static, tls_fallback, debug-rcu]
433 touchstone: '(build == "std")'
434 - 'dev_review_liburcu_{version}_{buildtype}':
435 buildtype: portbuild
436 platforms: !!python/tuple [deb11-armhf, deb12-armhf, deb11-arm64, deb12-arm64, deb12-ppc64el, deb11-i386, deb12-i386]
437 builds: !!python/tuple [std]
438 confs: !!python/tuple [std]
439 touchstone: ''
440 - 'dev_review_liburcu_{version}_{buildtype}':
441 buildtype: winbuild
442 platforms: !!python/tuple [cygwin64]
443 builds: !!python/tuple [std]
444 confs: !!python/tuple [std]
445 touchstone: ''
446
447
448 - project:
449 name: babeltrace2-mjeanson
450 job_prefix: 'dev_mjeanson_'
451 github_user: urcu
452 github_name: userspace-rcu
453 email_to: "mjeanson@efficios.com"
454 version:
455 - master
456 jobs:
457 - '{job_prefix}liburcu_{version}_{buildtype}':
458 buildtype: portbuild
459 platforms: !!python/tuple [sid-riscv64]
460 builds: !!python/tuple [std]
461 confs: !!python/tuple [std, static, tls_fallback, debug-rcu]
462 touchstone: ''
463
464 - project:
465 name: liburcu-views
466 views:
467 - Liburcu
This page took 0.047769 seconds and 5 git commands to generate.