Commit | Line | Data |
---|---|---|
e3022ad9 MJ |
1 | # {project}_{version}_{jobtype} |
2 | # liburcu_stable-0.8_build | |
3 | # | |
4 | # jobtypes: | |
5 | # - build | |
6 | # - portbuild | |
e3022ad9 MJ |
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 | ||
e3022ad9 | 29 | wrappers: |
d954b6a8 MJ |
30 | - ansicolor: &liburcu_wrapper_ansicolor_defaults |
31 | colormap: xterm | |
32 | - timeout: &liburcu_wrapper_timeout_defaults | |
dfc19a66 MJ |
33 | timeout: 90 |
34 | fail: true | |
35 | type: absolute | |
e3022ad9 | 36 | - timestamps |
d954b6a8 | 37 | - workspace-cleanup |
e3022ad9 MJ |
38 | |
39 | scm: | |
40 | - git: | |
4d27af8f | 41 | url: https://github.com/{github_user}/{github_name}.git |
e3022ad9 | 42 | browser: githubweb |
51ca880a | 43 | browser-url: https://github.com/{github_user}/{github_name} |
e3022ad9 MJ |
44 | branches: |
45 | - origin/{version} | |
6d35c326 | 46 | basedir: src/liburcu |
0a6e708b | 47 | skip-tag: true |
e3022ad9 MJ |
48 | |
49 | triggers: | |
e8078c79 MJ |
50 | - pollscm: |
51 | cron: "@hourly" | |
e3022ad9 MJ |
52 | |
53 | properties: | |
69f05d59 MJ |
54 | - inject: |
55 | properties-content: | | |
56 | PROJECT_NAME=liburcu | |
edf72710 | 57 | - build-discarder: |
3b228cdd MJ |
58 | num-to-keep: 10 |
59 | artifact-num-to-keep: 2 | |
e3022ad9 | 60 | - github: |
51ca880a | 61 | url: https://github.com/{github_user}/{github_name} |
e3022ad9 MJ |
62 | |
63 | ||
dfc19a66 | 64 | ## Anchors |
d954b6a8 MJ |
65 | - liburcu_matrix_axes_defaults: &liburcu_matrix_axes_defaults |
66 | name: 'liburcu_matrix_axes_defaults' | |
e3022ad9 | 67 | project-type: matrix |
ca8c6144 | 68 | node: 'master' # Applies only to matrix flyweight task |
d954b6a8 MJ |
69 | execution-strategy: |
70 | touchstone: | |
71 | expr: '{touchstone}' | |
72 | result: unstable | |
e3022ad9 MJ |
73 | axes: |
74 | - axis: | |
75 | type: slave | |
1794bc79 MJ |
76 | name: platform |
77 | values: '{obj:platforms}' | |
e3022ad9 MJ |
78 | - axis: |
79 | type: user-defined | |
80 | name: conf | |
d954b6a8 | 81 | values: '{obj:confs}' |
e3022ad9 MJ |
82 | - axis: |
83 | type: user-defined | |
84 | name: build | |
d954b6a8 | 85 | values: '{obj:builds}' |
e3022ad9 | 86 | |
d954b6a8 MJ |
87 | - liburcu_builders_defaults: &liburcu_builders_defaults |
88 | name: 'liburcu_builders_defaults' | |
dfc19a66 | 89 | builders: |
d954b6a8 MJ |
90 | !j2-yaml: | |
91 | {% if buildtype == 'winbuild' %} | |
dfc19a66 MJ |
92 | - conditional-step: |
93 | condition-kind: strings-match | |
94 | on-evaluation-failure: run | |
1794bc79 | 95 | condition-string1: {{ '${{platform}}' }} |
dfc19a66 MJ |
96 | condition-string2: 'cygwin64' |
97 | steps: | |
98 | - shell: | |
99 | !include-raw-escape: | |
100 | - scripts/common/cygwin64-shebang | |
cefcd7f8 | 101 | - scripts/common/cygpath-prefix |
51c9c62d | 102 | - scripts/common/print.sh |
dfc19a66 | 103 | - scripts/liburcu/build.sh |
d954b6a8 MJ |
104 | {% else %} |
105 | - shell: | |
106 | !include-raw-escape: | |
107 | - scripts/common/print.sh | |
108 | - scripts/liburcu/build.sh | |
109 | {% endif %} | |
dfc19a66 | 110 | |
d954b6a8 MJ |
111 | - liburcu_publishers_defaults: &liburcu_publishers_defaults |
112 | name: 'liburcu_publishers_defaults' | |
e3022ad9 | 113 | publishers: |
d954b6a8 | 114 | - tap: &liburcu_publisher_tap_defaults |
69d7af71 | 115 | results: 'tap/**/*.log' |
1d56e325 | 116 | fail-if-no-results: true |
69d7af71 MJ |
117 | failed-tests-mark-build-as-failure: true |
118 | todo-is-failure: false | |
d954b6a8 MJ |
119 | - raw: &liburcu_publisher_warnings-ng_defaults |
120 | xml: | | |
121 | <io.jenkins.plugins.analysis.core.steps.IssuesRecorder plugin="warnings-ng"> | |
122 | <analysisTools> | |
123 | <io.jenkins.plugins.analysis.warnings.Gcc4> | |
124 | <id/> | |
125 | <name/> | |
126 | <jenkins plugin="plugin-util-api"/> | |
127 | <pattern/> | |
128 | <reportEncoding/> | |
129 | <skipSymbolicLinks>false</skipSymbolicLinks> | |
130 | </io.jenkins.plugins.analysis.warnings.Gcc4> | |
d954b6a8 MJ |
131 | </analysisTools> |
132 | <sourceCodeEncoding/> | |
133 | <sourceDirectory/> | |
134 | <sourceDirectories/> | |
135 | <ignoreQualityGate>false</ignoreQualityGate> | |
136 | <ignoreFailedBuilds>true</ignoreFailedBuilds> | |
137 | <failOnError>false</failOnError> | |
138 | <healthy>0</healthy> | |
139 | <unhealthy>0</unhealthy> | |
140 | <minimumSeverity plugin="analysis-model-api"> | |
141 | <name>LOW</name> | |
142 | </minimumSeverity> | |
143 | <filters/> | |
144 | <isEnabledForFailure>true</isEnabledForFailure> | |
145 | <isAggregatingResults>true</isAggregatingResults> | |
146 | <isBlameDisabled>false</isBlameDisabled> | |
147 | <skipPublishingChecks>true</skipPublishingChecks> | |
148 | <publishAllIssues>false</publishAllIssues> | |
149 | <qualityGates> | |
150 | <io.jenkins.plugins.analysis.core.util.QualityGate> | |
151 | <threshold>1</threshold> | |
152 | <type>TOTAL</type> | |
153 | <status>WARNING</status> | |
154 | </io.jenkins.plugins.analysis.core.util.QualityGate> | |
155 | </qualityGates> | |
156 | <trendChartType>AGGREGATION_TOOLS</trendChartType> | |
157 | <scm/> | |
158 | </io.jenkins.plugins.analysis.core.steps.IssuesRecorder> | |
159 | - archive: &liburcu_publisher_archive_defaults | |
69d7af71 | 160 | artifacts: 'build/**,tap/**' |
e3022ad9 | 161 | allow-empty: false |
d954b6a8 MJ |
162 | - workspace-cleanup: &liburcu_publisher_workspace_cleanup_defaults |
163 | clean-if: | |
164 | - failure: false | |
165 | - email-ext: &liburcu_publisher_email_ext_defaults | |
092af1e4 JR |
166 | recipients: '{obj:email_to}' |
167 | reply-to: ci-notification@lists.lttng.org | |
168 | always: false | |
169 | unstable: false | |
170 | first-failure: true | |
171 | first-unstable: true | |
172 | not-built: false | |
173 | aborted: false | |
174 | regression: false | |
175 | failure: false | |
176 | second-failure: false | |
177 | improvement: false | |
178 | still-failing: false | |
179 | success: false | |
180 | fixed: false | |
181 | fixed-unhealthy: true | |
182 | still-unstable: false | |
183 | pre-build: false | |
184 | matrix-trigger: only-parent | |
185 | send-to: | |
186 | - recipients | |
dfc19a66 MJ |
187 | |
188 | ## Templates | |
24b12170 | 189 | - job-template: |
c3843719 | 190 | name: '{job_prefix}liburcu_{version}_{buildtype}' |
24b12170 MJ |
191 | defaults: liburcu |
192 | ||
d954b6a8 MJ |
193 | <<: *liburcu_matrix_axes_defaults |
194 | <<: *liburcu_builders_defaults | |
195 | <<: *liburcu_publishers_defaults | |
24b12170 | 196 | |
33b3de03 MJ |
197 | - job-template: |
198 | name: dev_gerrit_liburcu_{buildtype} | |
199 | defaults: liburcu | |
200 | concurrent: true | |
201 | ||
202 | scm: | |
203 | - git: | |
204 | url: https://review.lttng.org/userspace-rcu | |
205 | refspec: 'refs/changes/*:refs/changes/*' | |
206 | branches: | |
207 | - '$GERRIT_REFSPEC' | |
208 | basedir: src/liburcu | |
209 | skip-tag: true | |
210 | ||
211 | triggers: | |
212 | - gerrit: | |
213 | trigger-on: | |
214 | - comment-added-event: | |
215 | approval-category: 'CI-Build' | |
216 | approval-value: 1 | |
217 | projects: | |
218 | - project-compare-type: 'PLAIN' | |
219 | project-pattern: 'userspace-rcu' | |
220 | branches: | |
221 | - branch-compare-type: 'ANT' | |
222 | branch-pattern: '**' | |
223 | ||
d954b6a8 MJ |
224 | <<: *liburcu_matrix_axes_defaults |
225 | <<: *liburcu_builders_defaults | |
33b3de03 MJ |
226 | |
227 | publishers: | |
d954b6a8 MJ |
228 | - tap: *liburcu_publisher_tap_defaults |
229 | - raw: *liburcu_publisher_warnings-ng_defaults | |
230 | - workspace-cleanup: *liburcu_publisher_workspace_cleanup_defaults | |
33b3de03 | 231 | |
e3022ad9 MJ |
232 | - job-template: |
233 | name: liburcu_{version}_scan-build | |
234 | defaults: liburcu | |
1794bc79 | 235 | node: 'bionic-amd64' |
e3022ad9 MJ |
236 | |
237 | triggers: | |
e8078c79 MJ |
238 | - pollscm: |
239 | cron: "@daily" | |
e3022ad9 MJ |
240 | |
241 | builders: | |
242 | - shell: | |
69f05d59 | 243 | !include-raw-escape: scripts/common/scan-build.sh |
e3022ad9 MJ |
244 | |
245 | publishers: | |
246 | - html-publisher: | |
247 | name: 'HTML Report' | |
248 | dir: 'scan-build-archive/' | |
249 | files: 'index.html' | |
d954b6a8 | 250 | - workspace-cleanup: *liburcu_publisher_workspace_cleanup_defaults |
e3022ad9 | 251 | |
e8078c79 MJ |
252 | - job-template: |
253 | name: liburcu_{version}_coverity | |
254 | defaults: liburcu | |
1794bc79 | 255 | node: 'bionic-amd64' |
e8078c79 MJ |
256 | |
257 | triggers: | |
258 | - pollscm: | |
259 | cron: "@daily" | |
260 | ||
261 | wrappers: | |
d954b6a8 MJ |
262 | - ansicolor: *liburcu_wrapper_ansicolor_defaults |
263 | - timeout: *liburcu_wrapper_timeout_defaults | |
e8078c79 | 264 | - timestamps |
d954b6a8 | 265 | - workspace-cleanup |
e8078c79 MJ |
266 | - credentials-binding: |
267 | - username-password-separated: | |
268 | credential-id: liburcu_coverity_token | |
269 | username: COVERITY_SCAN_PROJECT_NAME | |
270 | password: COVERITY_SCAN_TOKEN | |
271 | ||
272 | builders: | |
273 | - shell: | |
ef63064f | 274 | !include-raw-escape: scripts/common/coverity.sh |
e8078c79 MJ |
275 | |
276 | publishers: | |
6d35c326 MJ |
277 | - archive: |
278 | artifacts: 'analysis-results.tgz,cov-int/**' | |
279 | allow-empty: false | |
d954b6a8 | 280 | - workspace-cleanup: *liburcu_publisher_workspace_cleanup_defaults |
e3022ad9 MJ |
281 | |
282 | ||
69d7af71 MJ |
283 | ## Views |
284 | - view-template: | |
285 | name: 'Liburcu' | |
286 | view-type: list | |
287 | regex: 'liburcu[-_].*' | |
288 | ||
289 | ||
290 | ## Projects | |
e3022ad9 MJ |
291 | - project: |
292 | name: liburcu | |
d954b6a8 | 293 | job_prefix: '' |
51ca880a MJ |
294 | github_user: urcu |
295 | github_name: userspace-rcu | |
092af1e4 | 296 | email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com' |
e3022ad9 | 297 | version: |
d456a285 | 298 | - stable-0.13 |
4eb59cd0 | 299 | - stable-0.14 |
dfc19a66 | 300 | - master |
e3022ad9 | 301 | jobs: |
1794bc79 MJ |
302 | - '{job_prefix}liburcu_{version}_{buildtype}': |
303 | buildtype: linuxbuild | |
304 | platforms: !!python/tuple [jammy-amd64] | |
305 | builds: !!python/tuple [std, oot, dist] | |
306 | confs: !!python/tuple [std, static, tls_fallback, debug-rcu] | |
307 | touchstone: '(build == "std") && (conf == "std")' | |
d954b6a8 | 308 | - '{job_prefix}liburcu_{version}_{buildtype}': |
57ae8ff4 | 309 | buildtype: build |
1794bc79 | 310 | platforms: !!python/tuple [bionic-amd64] |
d954b6a8 MJ |
311 | builds: !!python/tuple [std, oot, dist] |
312 | confs: !!python/tuple [std, static, tls_fallback, debug-rcu] | |
313 | touchstone: '(build == "std") && (conf == "std")' | |
314 | - '{job_prefix}liburcu_{version}_{buildtype}': | |
57ae8ff4 | 315 | buildtype: portbuild |
1794bc79 | 316 | platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386] |
d954b6a8 MJ |
317 | builds: !!python/tuple [std] |
318 | confs: !!python/tuple [std, static, tls_fallback, debug-rcu] | |
1794bc79 | 319 | touchstone: '(build == "std") && (conf == "std") && (platform == "deb11-i386")' |
d954b6a8 | 320 | - '{job_prefix}liburcu_{version}_{buildtype}': |
81bf613d | 321 | buildtype: slesbuild |
1794bc79 | 322 | platforms: !!python/tuple [sles12sp5-amd64] |
d954b6a8 MJ |
323 | builds: !!python/tuple [std] |
324 | confs: !!python/tuple [std] | |
325 | touchstone: '(build == "std")' | |
326 | - '{job_prefix}liburcu_{version}_{buildtype}': | |
568b5cbd | 327 | buildtype: elbuild |
1794bc79 | 328 | platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64] |
d954b6a8 MJ |
329 | builds: !!python/tuple [std] |
330 | confs: !!python/tuple [std] | |
331 | touchstone: '(build == "std")' | |
332 | - '{job_prefix}liburcu_{version}_{buildtype}': | |
f0d7e5b1 | 333 | buildtype: macosbuild |
1794bc79 | 334 | platforms: !!python/tuple [macos-amd64, macos-arm64] |
d954b6a8 MJ |
335 | builds: !!python/tuple [std] |
336 | confs: !!python/tuple [std] | |
337 | touchstone: '(build == "std")' | |
338 | - '{job_prefix}liburcu_{version}_{buildtype}': | |
339 | buildtype: winbuild | |
1794bc79 | 340 | platforms: !!python/tuple [cygwin64] |
d954b6a8 MJ |
341 | builds: !!python/tuple [std] |
342 | confs: !!python/tuple [std] | |
343 | touchstone: '(build == "std")' | |
344 | - '{job_prefix}liburcu_{version}_{buildtype}': | |
6ad0e7e6 | 345 | buildtype: freebsdbuild |
1794bc79 | 346 | platforms: !!python/tuple [freebsd-amd64] |
d954b6a8 MJ |
347 | builds: !!python/tuple [std] |
348 | confs: !!python/tuple [std] | |
349 | touchstone: '(build == "std")' | |
e3022ad9 | 350 | - 'liburcu_{version}_scan-build' |
e8078c79 MJ |
351 | - 'liburcu_{version}_coverity': |
352 | version: master | |
e3022ad9 | 353 | |
24b12170 MJ |
354 | |
355 | - project: | |
356 | name: liburcu-dev-upstream | |
c3843719 | 357 | job_prefix: 'dev_upstream_' |
24b12170 MJ |
358 | github_user: urcu |
359 | github_name: userspace-rcu | |
360 | email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com' | |
361 | version: | |
362 | - stable-0.9 | |
363 | - stable-0.10 | |
364 | - stable-0.11 | |
60c689e8 | 365 | - stable-0.12 |
24b12170 | 366 | jobs: |
c3843719 | 367 | - '{job_prefix}liburcu_{version}_{buildtype}': |
1794bc79 MJ |
368 | buildtype: linuxbuild |
369 | platforms: !!python/tuple [jammy-amd64] | |
d954b6a8 MJ |
370 | builds: !!python/tuple [std, oot, dist] |
371 | confs: !!python/tuple [std, static, tls_fallback, debug-rcu] | |
372 | touchstone: '(build == "std") && (conf == "std")' | |
c3843719 | 373 | - '{job_prefix}liburcu_{version}_{buildtype}': |
24b12170 | 374 | buildtype: portbuild |
1794bc79 | 375 | platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386] |
d954b6a8 MJ |
376 | builds: !!python/tuple [std] |
377 | confs: !!python/tuple [std, static, tls_fallback, debug-rcu] | |
1794bc79 | 378 | touchstone: '(build == "std") && (conf == "std") && (platform == "deb11-i386")' |
c3843719 | 379 | - '{job_prefix}liburcu_{version}_{buildtype}': |
24b12170 | 380 | buildtype: slesbuild |
1794bc79 | 381 | platforms: !!python/tuple [sles12sp5-amd64] |
d954b6a8 MJ |
382 | builds: !!python/tuple [std] |
383 | confs: !!python/tuple [std] | |
384 | touchstone: '(build == "std")' | |
c3843719 | 385 | - '{job_prefix}liburcu_{version}_{buildtype}': |
24b12170 | 386 | buildtype: elbuild |
1794bc79 | 387 | platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64] |
d954b6a8 MJ |
388 | builds: !!python/tuple [std] |
389 | confs: !!python/tuple [std] | |
390 | touchstone: '(build == "std")' | |
24b12170 MJ |
391 | |
392 | ||
33b3de03 MJ |
393 | - project: |
394 | name: gerrit-liburcu | |
395 | github_user: urcu | |
396 | github_name: userspace-rcu | |
397 | jobs: | |
398 | - 'dev_gerrit_liburcu_{buildtype}': | |
399 | buildtype: build | |
1794bc79 | 400 | platforms: !!python/tuple [bionic-amd64] |
d954b6a8 MJ |
401 | builds: !!python/tuple [std, oot, dist] |
402 | confs: !!python/tuple [std, static, tls_fallback, debug-rcu] | |
403 | touchstone: '(build == "std")' | |
33b3de03 MJ |
404 | - 'dev_gerrit_liburcu_{buildtype}': |
405 | buildtype: portbuild | |
1794bc79 | 406 | platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386] |
d954b6a8 MJ |
407 | builds: !!python/tuple [std] |
408 | confs: !!python/tuple [std] | |
409 | touchstone: '(build == "std")' | |
4d0b24c4 MJ |
410 | - 'dev_gerrit_liburcu_{buildtype}': |
411 | buildtype: winbuild | |
412 | platforms: !!python/tuple [cygwin64] | |
413 | builds: !!python/tuple [std] | |
414 | confs: !!python/tuple [std] | |
415 | touchstone: '' | |
33b3de03 | 416 | |
24b12170 | 417 | |
69d7af71 MJ |
418 | - project: |
419 | name: liburcu-views | |
420 | views: | |
421 | - Liburcu |