Added babeltrace jobs
[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
78 values:
79 - std
80 - oot
81 - dist
82
83 builders:
84 - shell:
85 !include-raw-escape scripts/liburcu/build.sh
86
87 # TODO: Scan for open tasks
88 publishers:
89 - warnings:
90 console-log-parsers:
91 - 'GNU Make + GNU C Compiler (gcc)'
5c66b446
MJ
92 total-thresholds:
93 failed:
94 total-all: 0
95 total-high: 0
96 total-normal: 0
97 total-low: 0
e3022ad9
MJ
98 - archive:
99 artifacts: 'build/**'
100 allow-empty: false
101 fingerprint: true
102 - trigger:
103 project: lttng-ust-{version}
104 threshold: SUCCESS
105
106- job-template:
107 name: liburcu_{version}_cppcheck
108 defaults: liburcu
109
110 triggers:
111 - pollscm: "@daily"
112
113 builders:
114 - shell: |
115 rm -f liburcu-cppcheck.xml
116 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> liburcu-cppcheck.xml
117
118 publishers:
119 - archive:
120 artifacts: 'liburcu-cppcheck.xml'
121 allow-empty: false
122 fingerprint: true
123 - cppcheck:
124 pattern: 'liburcu-cppcheck.xml'
125 - email:
126 recipients: 'ci-notification@lists.lttng.org'
127 notify-every-unstable-build: true
128 send-to-individuals: false
129
130- job-template:
131 name: liburcu_{version}_scan-build
132 defaults: liburcu
133 node: 'x86-64'
134
135 triggers:
136 - pollscm: "@daily"
137
138 builders:
139 - shell:
140 !include-raw-escape scripts/liburcu/scan-build.sh
141
142 publishers:
143 - html-publisher:
144 name: 'HTML Report'
145 dir: 'scan-build-archive/'
146 files: 'index.html'
147
148# TODO: liburcu_{version}_coverity
149
150
b6e61d51
MJ
151- job-group:
152 name: 'liburcu_{version}_build'
153 buildtype: 'build'
154 jobs:
155 - 'liburcu_{version}_{buildtype}'
156
157- job-group:
158 name: 'liburcu_{version}_portbuild'
159 buildtype: 'portbuild'
160 jobs:
161 - 'liburcu_{version}_{buildtype}'
162
e3022ad9
MJ
163## Project
164- project:
165 name: liburcu
166 version:
167 - stable-0.7
168 - stable-0.8
169 - master
170 jobs:
b6e61d51
MJ
171 - 'liburcu_{version}_build':
172 arch: !!python/tuple [x86-32, x86-64]
173 - 'liburcu_{version}_portbuild':
174 arch: !!python/tuple [armhf, powerpc]
e3022ad9
MJ
175 - 'liburcu_{version}_cppcheck'
176 - 'liburcu_{version}_scan-build'
177
This page took 0.028714 seconds and 4 git commands to generate.