Move versions to include files
[lttng-ci.git] / jobs / liburcu.yaml
CommitLineData
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
30 logrotate:
31 daysToKeep: -1
32 numToKeep: 2
33 artifactDaysToKeep: -1
34 artifactNumToKeep: -1
35
36 wrappers:
37 - workspace-cleanup
38 - timestamps
39 - ansicolor
40
41 scm:
42 - git:
43 url: https://github.com/urcu/userspace-rcu.git
44 browser: githubweb
45 browser-url: https://github.com/urcu/userspace-rcu.git
46 branches:
47 - origin/{version}
48
49 triggers:
50 - pollscm: "@hourly"
51
52 properties:
53 - github:
54 url: https://github.com/urcu/userspace-rcu/
55
56
57## Templates
58- job-template:
b6e61d51 59 name: liburcu_{version}_{buildtype}
e3022ad9
MJ
60 defaults: liburcu
61
62 project-type: matrix
63 axes:
64 - axis:
65 type: slave
66 name: arch
b6e61d51 67 values: '{obj:arch}'
e3022ad9
MJ
68 - axis:
69 type: user-defined
70 name: conf
71 values:
72 - std
73 - static
74 - tls_fallback
75 - axis:
76 type: user-defined
77 name: build
9d0846f3 78 values: '{obj:build}'
e3022ad9
MJ
79
80 builders:
81 - shell:
82 !include-raw-escape scripts/liburcu/build.sh
83
84 # TODO: Scan for open tasks
85 publishers:
86 - warnings:
87 console-log-parsers:
88 - 'GNU Make + GNU C Compiler (gcc)'
5c66b446
MJ
89 total-thresholds:
90 failed:
91 total-all: 0
92 total-high: 0
93 total-normal: 0
94 total-low: 0
e3022ad9
MJ
95 - archive:
96 artifacts: 'build/**'
97 allow-empty: false
98 fingerprint: true
99 - trigger:
100 project: lttng-ust-{version}
101 threshold: SUCCESS
102
103- job-template:
104 name: liburcu_{version}_cppcheck
105 defaults: liburcu
106
107 triggers:
108 - pollscm: "@daily"
109
110 builders:
111 - shell: |
112 rm -f liburcu-cppcheck.xml
113 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> liburcu-cppcheck.xml
114
115 publishers:
116 - archive:
117 artifacts: 'liburcu-cppcheck.xml'
118 allow-empty: false
119 fingerprint: true
120 - cppcheck:
121 pattern: 'liburcu-cppcheck.xml'
122 - email:
123 recipients: 'ci-notification@lists.lttng.org'
124 notify-every-unstable-build: true
125 send-to-individuals: false
126
127- job-template:
128 name: liburcu_{version}_scan-build
129 defaults: liburcu
130 node: 'x86-64'
131
132 triggers:
133 - pollscm: "@daily"
134
135 builders:
136 - shell:
137 !include-raw-escape scripts/liburcu/scan-build.sh
138
139 publishers:
140 - html-publisher:
141 name: 'HTML Report'
142 dir: 'scan-build-archive/'
143 files: 'index.html'
144
145# TODO: liburcu_{version}_coverity
146
147
148## Project
149- project:
150 name: liburcu
151 version:
6ea8351e 152 !include jobs/inc/liburcu-versions.yaml.inc
e3022ad9 153 jobs:
57ae8ff4
MJ
154 - 'liburcu_{version}_{buildtype}':
155 buildtype: build
b6e61d51 156 arch: !!python/tuple [x86-32, x86-64]
9d0846f3 157 build: !!python/tuple [std, oot, dist]
57ae8ff4
MJ
158 - 'liburcu_{version}_{buildtype}':
159 buildtype: portbuild
b6e61d51 160 arch: !!python/tuple [armhf, powerpc]
9d0846f3 161 build: !!python/tuple [std]
e3022ad9
MJ
162 - 'liburcu_{version}_cppcheck'
163 - 'liburcu_{version}_scan-build'
164
This page took 0.028686 seconds and 4 git commands to generate.