Disable fail on warnings
[lttng-ci.git] / jobs / liburcu.yaml
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:
59 name: liburcu_{version}_{buildtype}
60 defaults: liburcu
61
62 project-type: matrix
63 node: 'x86-32 || x86-64' # Applies only to matrix flyweight task
64 axes:
65 - axis:
66 type: slave
67 name: arch
68 values: '{obj:arch}'
69 - axis:
70 type: user-defined
71 name: conf
72 values:
73 - std
74 - static
75 - tls_fallback
76 - axis:
77 type: user-defined
78 name: build
79 values: '{obj:build}'
80
81 builders:
82 - shell:
83 !include-raw-escape scripts/liburcu/build.sh
84
85 # TODO: Scan for open tasks
86 publishers:
87 - warnings:
88 console-log-parsers:
89 - 'GNU Make + GNU C Compiler (gcc)'
90 total-thresholds:
91 #failed:
92 # total-all: 0
93 # total-high: 0
94 # total-normal: 0
95 # total-low: 0
96 - archive:
97 artifacts: 'build/**'
98 allow-empty: false
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 - cppcheck:
117 pattern: 'liburcu-cppcheck.xml'
118 - email:
119 recipients: 'ci-notification@lists.lttng.org'
120 notify-every-unstable-build: true
121 send-to-individuals: false
122
123 - job-template:
124 name: liburcu_{version}_scan-build
125 defaults: liburcu
126 node: 'x86-64'
127
128 triggers:
129 - pollscm: "@daily"
130
131 builders:
132 - shell:
133 !include-raw-escape scripts/liburcu/scan-build.sh
134
135 publishers:
136 - html-publisher:
137 name: 'HTML Report'
138 dir: 'scan-build-archive/'
139 files: 'index.html'
140
141 # TODO: liburcu_{version}_coverity
142
143
144 ## Project
145 - project:
146 name: liburcu
147 version:
148 !include jobs/inc/liburcu-versions.yaml.inc
149 jobs:
150 - 'liburcu_{version}_{buildtype}':
151 buildtype: build
152 arch: !!python/tuple [x86-32, x86-64]
153 build: !!python/tuple [std, oot, dist]
154 - 'liburcu_{version}_{buildtype}':
155 buildtype: portbuild
156 arch: !!python/tuple [armhf, powerpc]
157 build: !!python/tuple [std]
158 - 'liburcu_{version}_cppcheck'
159 - 'liburcu_{version}_scan-build'
160
This page took 0.03373 seconds and 5 git commands to generate.