Use git protocol instead of https
[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:
9a00aa82 43 url: git://github.com/urcu/userspace-rcu.git
e3022ad9 44 browser: githubweb
9a00aa82 45 browser-url: https://github.com/urcu/userspace-rcu
e3022ad9
MJ
46 branches:
47 - origin/{version}
48
49 triggers:
50 - pollscm: "@hourly"
51
52 properties:
53 - github:
9a00aa82 54 url: https://github.com/urcu/userspace-rcu
e3022ad9
MJ
55
56
57## Templates
58- job-template:
b6e61d51 59 name: liburcu_{version}_{buildtype}
e3022ad9
MJ
60 defaults: liburcu
61
62 project-type: matrix
0dc6aca0 63 node: 'x86-32 || x86-64' # Applies only to matrix flyweight task
e3022ad9
MJ
64 axes:
65 - axis:
66 type: slave
67 name: arch
b6e61d51 68 values: '{obj:arch}'
e3022ad9
MJ
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
9d0846f3 79 values: '{obj:build}'
e3022ad9
MJ
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)'
5c66b446 90 total-thresholds:
99e596d1
MJ
91 #failed:
92 # total-all: 0
93 # total-high: 0
94 # total-normal: 0
95 # total-low: 0
e3022ad9
MJ
96 - archive:
97 artifacts: 'build/**'
98 allow-empty: false
e3022ad9
MJ
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
e3022ad9
MJ
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:
6ea8351e 148 !include jobs/inc/liburcu-versions.yaml.inc
e3022ad9 149 jobs:
57ae8ff4
MJ
150 - 'liburcu_{version}_{buildtype}':
151 buildtype: build
b6e61d51 152 arch: !!python/tuple [x86-32, x86-64]
9d0846f3 153 build: !!python/tuple [std, oot, dist]
57ae8ff4
MJ
154 - 'liburcu_{version}_{buildtype}':
155 buildtype: portbuild
b6e61d51 156 arch: !!python/tuple [armhf, powerpc]
9d0846f3 157 build: !!python/tuple [std]
e3022ad9
MJ
158 - 'liburcu_{version}_cppcheck'
159 - 'liburcu_{version}_scan-build'
160
This page took 0.043062 seconds and 4 git commands to generate.