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 | ||
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)' | |
92 | - archive: | |
93 | artifacts: 'build/**' | |
94 | allow-empty: false | |
95 | fingerprint: true | |
96 | - trigger: | |
97 | project: lttng-ust-{version} | |
98 | threshold: SUCCESS | |
99 | ||
100 | - job-template: | |
101 | name: liburcu_{version}_cppcheck | |
102 | defaults: liburcu | |
103 | ||
104 | triggers: | |
105 | - pollscm: "@daily" | |
106 | ||
107 | builders: | |
108 | - shell: | | |
109 | rm -f liburcu-cppcheck.xml | |
110 | cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> liburcu-cppcheck.xml | |
111 | ||
112 | publishers: | |
113 | - archive: | |
114 | artifacts: 'liburcu-cppcheck.xml' | |
115 | allow-empty: false | |
116 | fingerprint: true | |
117 | - cppcheck: | |
118 | pattern: 'liburcu-cppcheck.xml' | |
119 | - email: | |
120 | recipients: 'ci-notification@lists.lttng.org' | |
121 | notify-every-unstable-build: true | |
122 | send-to-individuals: false | |
123 | ||
124 | - job-template: | |
125 | name: liburcu_{version}_scan-build | |
126 | defaults: liburcu | |
127 | node: 'x86-64' | |
128 | ||
129 | triggers: | |
130 | - pollscm: "@daily" | |
131 | ||
132 | builders: | |
133 | - shell: | |
134 | !include-raw-escape scripts/liburcu/scan-build.sh | |
135 | ||
136 | publishers: | |
137 | - html-publisher: | |
138 | name: 'HTML Report' | |
139 | dir: 'scan-build-archive/' | |
140 | files: 'index.html' | |
141 | ||
142 | # TODO: liburcu_{version}_coverity | |
143 | ||
144 | ||
b6e61d51 MJ |
145 | - job-group: |
146 | name: 'liburcu_{version}_build' | |
147 | buildtype: 'build' | |
148 | jobs: | |
149 | - 'liburcu_{version}_{buildtype}' | |
150 | ||
151 | - job-group: | |
152 | name: 'liburcu_{version}_portbuild' | |
153 | buildtype: 'portbuild' | |
154 | jobs: | |
155 | - 'liburcu_{version}_{buildtype}' | |
156 | ||
e3022ad9 MJ |
157 | ## Project |
158 | - project: | |
159 | name: liburcu | |
160 | version: | |
161 | - stable-0.7 | |
162 | - stable-0.8 | |
163 | - master | |
164 | jobs: | |
b6e61d51 MJ |
165 | - 'liburcu_{version}_build': |
166 | arch: !!python/tuple [x86-32, x86-64] | |
167 | - 'liburcu_{version}_portbuild': | |
168 | arch: !!python/tuple [armhf, powerpc] | |
e3022ad9 MJ |
169 | - 'liburcu_{version}_cppcheck' |
170 | - 'liburcu_{version}_scan-build' | |
171 |