-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.config
259 lines (246 loc) · 10.6 KB
/
build.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
# -*- python -*-
# ex: set syntax=python:
# The base URL for the repo
BASE_URL = 'https://github.com/OpenLightingProject/'
# Stub to add to the base URL to pull from
REPO_STUB = '.git'
# Stub to add to the base URL to get revision links
REVLINK_STUB = '/commit/%s'
# The base URL for the OLA repo
OLA_REPO = 'ola'
# The base URL for the Ja-Rule repo
JA_RULE_REPO = 'ja-rule'
# The trunk branch name for the OLA repo
OLA_TRUNK_NAME = 'master'
# Extra branches to build for the OLA repo
OLA_EXTRA_BRANCHES = ['0.10']
# The trunk branch name for the Ja-Rule repo
JA_RULE_TRUNK_NAME = 'master'
# Extra branches to build for the Ja-Rule repo
JA_RULE_EXTRA_BRANCHES = []
# Title, 'project' is appended to the title.
TITLE = "Open Lighting"
# URL of the project
URL = "https://www.openlighting.org"
# URL of the buildbot
BUILDBOTURL = "https://buildbot.openlighting.org/"
# IRC server
IRCSERVER = "irc.freenode.org"
# IRC bot base name
IRCBOTBASENAME = "OLP-buildbot"
# Main IRC channel
# Reverting to one IRC bot, as buildbot doesn't seem to cope with two properly
# IRCCHANNEL = "#openlighting-buildbot"
# Bot IRC channel
IRCBOTCHANNEL = "#openlighting-build"
# The port the slaves connect to
SLAVE_PORT = 9989
OLA_CPP_LINT_ARGS = ('--filter=-legal/copyright,-readability/streams'
',-runtime/arrays')
# Todo, lint for JSDoc and add the strict option
# Possibly also run the closure compiler for any errors and warnings it throws
# out
OLA_JS_LINT_ARGS = '--nojsdoc'
# The slaves, broken down by:
# 'platform': {
# 'arch': {
# [slave names],
# },
# }
# Slow slaves will merge requests, good for those that are struggling to keep up
SLAVES = {
'debian-wheezy': {
'arm': [
Slave('noopenslp-1', is_slow=True, has_ola_ja_rule_deps=False),
# Simon (Beaglebone Black)
],
'armv6l': [ # Raspberry Pi slaves
Slave('noopenslp-1', has_js_lint=True, is_slow=True,
has_ola_ja_rule_deps=False), # Simon (Apt 402)
Slave('withopenslp-2', has_cpp_lint=True, no_build=True, is_slow=True,
ja_rule_slave=True, has_ola_ja_rule_deps=False), # Peter
],
'i686': [
Slave('docs', generate_conf=True, generate_doc=True, generate_man=True,
no_build=True, ja_rule_slave=True), # Simon, GCE VM
Slave('noopenslp'), # RenZO
],
'x86_64': [
Slave('noopenslp'), # RenZO
],
},
'debian-jessie': {
'armv7l': [ # New Raspberry Pi slaves
Slave('1', has_cpp_lint=True, is_slow=True,
ja_rule_slave=True, has_ola_ja_rule_deps=True), # Peter Pi 3
],
},
'freebsd': {
'amd64': [
Slave('noopenslp', has_ola_ja_rule_deps=False), # RenZO
],
},
'freebsd-10': {
'amd64': [
Slave('noopenslp', has_ola_ja_rule_deps=False), # RenZO
],
},
'freebsd-11': {
'amd64': [
Slave('noopenslp', has_ola_ja_rule_deps=False), # RenZO
],
},
'gentoo': {
'armv7l': [
Slave('noopenslp'), # kripton
],
},
'macos': {
'x86_64': [
Slave('1'), # Simon
Slave('2'), # mightymu
],
},
'mint-rebecca': {
'x86_64': [
Slave('1'), # massimocallegari
],
},
'netbsd': {
'amd64': [
Slave('noopenslp'), # RenZO
],
},
'openbsd': {
'amd64': [
Slave('noopenslp'), # RenZO
],
},
'ubuntu-tahr': {
'i686': [
Slave('noopenslp', has_cpp_lint=True, has_js_lint=True,
has_tcmalloc=True), # Simon
],
'x86_64': [
Slave('noopenslp', has_cpp_lint=True, has_js_lint=True,
has_tcmalloc=True), # RenZO
],
}
}
# The logfiles section is generated using the following command (regenerate
# when we add new folders):
# tree -f -i --noreport -P "Makefile.mk|Makefile.am" | grep -E
# "Makefile.(mk|am)" | perl -ne 'my $file = $_; chomp($file); $file =~
# s/Makefile\.(?>mk|am)$/test-suite.log/; $file =~ s/^\.\///; my $name = $file;
# $name =~ s/\//-/g; my $line = " \"$name\": \"$file\",\n"; print
# ((length($line) > 80) ? " \"$name\":\n \"$file\",\n" : $line)'
OLA_LOGFILES = {
"common-base-test-suite.log": "common/base/test-suite.log",
"common-dmx-test-suite.log": "common/dmx/test-suite.log",
"common-export_map-test-suite.log": "common/export_map/test-suite.log",
"common-file-test-suite.log": "common/file/test-suite.log",
"common-http-test-suite.log": "common/http/test-suite.log",
"common-io-test-suite.log": "common/io/test-suite.log",
"common-test-suite.log": "common/test-suite.log",
"common-math-test-suite.log": "common/math/test-suite.log",
"common-messaging-test-suite.log": "common/messaging/test-suite.log",
"common-network-test-suite.log": "common/network/test-suite.log",
"common-protocol-test-suite.log": "common/protocol/test-suite.log",
"common-rdm-test-suite.log": "common/rdm/test-suite.log",
"common-rpc-test-suite.log": "common/rpc/test-suite.log",
"common-strings-test-suite.log": "common/strings/test-suite.log",
"common-system-test-suite.log": "common/system/test-suite.log",
"common-testing-test-suite.log": "common/testing/test-suite.log",
"common-thread-test-suite.log": "common/thread/test-suite.log",
"common-timecode-test-suite.log": "common/timecode/test-suite.log",
"common-utils-test-suite.log": "common/utils/test-suite.log",
"common-web-test-suite.log": "common/web/test-suite.log",
"data-test-suite.log": "data/test-suite.log",
"data-rdm-test-suite.log": "data/rdm/test-suite.log",
"debian-test-suite.log": "debian/test-suite.log",
"doxygen-examples-test-suite.log": "doxygen/examples/test-suite.log",
"doxygen-test-suite.log": "doxygen/test-suite.log",
"examples-test-suite.log": "examples/test-suite.log",
"include-test-suite.log": "include/test-suite.log",
"include-ola-acn-test-suite.log": "include/ola/acn/test-suite.log",
"include-ola-base-test-suite.log": "include/ola/base/test-suite.log",
"include-ola-client-test-suite.log": "include/ola/client/test-suite.log",
"include-ola-dmx-test-suite.log": "include/ola/dmx/test-suite.log",
"include-ola-e133-test-suite.log": "include/ola/e133/test-suite.log",
"include-ola-file-test-suite.log": "include/ola/file/test-suite.log",
"include-ola-http-test-suite.log": "include/ola/http/test-suite.log",
"include-ola-io-test-suite.log": "include/ola/io/test-suite.log",
"include-ola-test-suite.log": "include/ola/test-suite.log",
"include-ola-math-test-suite.log": "include/ola/math/test-suite.log",
"include-ola-messaging-test-suite.log":
"include/ola/messaging/test-suite.log",
"include-ola-network-test-suite.log": "include/ola/network/test-suite.log",
"include-ola-rdm-test-suite.log": "include/ola/rdm/test-suite.log",
"include-ola-rpc-test-suite.log": "include/ola/rpc/test-suite.log",
"include-ola-stl-test-suite.log": "include/ola/stl/test-suite.log",
"include-ola-strings-test-suite.log": "include/ola/strings/test-suite.log",
"include-ola-system-test-suite.log": "include/ola/system/test-suite.log",
"include-ola-testing-test-suite.log": "include/ola/testing/test-suite.log",
"include-ola-thread-test-suite.log": "include/ola/thread/test-suite.log",
"include-ola-timecode-test-suite.log": "include/ola/timecode/test-suite.log",
"include-ola-util-test-suite.log": "include/ola/util/test-suite.log",
"include-ola-web-test-suite.log": "include/ola/web/test-suite.log",
"include-ola-win-test-suite.log": "include/ola/win/test-suite.log",
"include-olad-test-suite.log": "include/olad/test-suite.log",
"java-test-suite.log": "java/test-suite.log",
"javascript-test-suite.log": "javascript/test-suite.log",
"libs-acn-test-suite.log": "libs/acn/test-suite.log",
"libs-test-suite.log": "libs/test-suite.log",
"libs-usb-test-suite.log": "libs/usb/test-suite.log",
"test-suite.log": "test-suite.log",
"man-test-suite.log": "man/test-suite.log",
"ola-test-suite.log": "ola/test-suite.log",
"olad-test-suite.log": "olad/test-suite.log",
"olad-plugin_api-test-suite.log": "olad/plugin_api/test-suite.log",
"olad-www-test-suite.log": "olad/www/test-suite.log",
"plugins-artnet-test-suite.log": "plugins/artnet/test-suite.log",
"plugins-artnet-messages-test-suite.log":
"plugins/artnet/messages/test-suite.log",
"plugins-dmx4linux-test-suite.log": "plugins/dmx4linux/test-suite.log",
"plugins-dummy-test-suite.log": "plugins/dummy/test-suite.log",
"plugins-e131-test-suite.log": "plugins/e131/test-suite.log",
"plugins-e131-messages-test-suite.log":
"plugins/e131/messages/test-suite.log",
"plugins-espnet-test-suite.log": "plugins/espnet/test-suite.log",
"plugins-ftdidmx-test-suite.log": "plugins/ftdidmx/test-suite.log",
"plugins-gpio-test-suite.log": "plugins/gpio/test-suite.log",
"plugins-karate-test-suite.log": "plugins/karate/test-suite.log",
"plugins-kinet-test-suite.log": "plugins/kinet/test-suite.log",
"plugins-test-suite.log": "plugins/test-suite.log",
"plugins-milinst-test-suite.log": "plugins/milinst/test-suite.log",
"plugins-nanoleaf-test-suite.log": "plugins/nanoleaf/test-suite.log",
"plugins-opendmx-test-suite.log": "plugins/opendmx/test-suite.log",
"plugins-openpixelcontrol-test-suite.log":
"plugins/openpixelcontrol/test-suite.log",
"plugins-osc-test-suite.log": "plugins/osc/test-suite.log",
"plugins-pathport-test-suite.log": "plugins/pathport/test-suite.log",
"plugins-renard-test-suite.log": "plugins/renard/test-suite.log",
"plugins-sandnet-test-suite.log": "plugins/sandnet/test-suite.log",
"plugins-shownet-test-suite.log": "plugins/shownet/test-suite.log",
"plugins-spi-test-suite.log": "plugins/spi/test-suite.log",
"plugins-spidmx-test-suite.log": "plugins/spidmx/test-suite.log",
"plugins-stageprofi-test-suite.log": "plugins/stageprofi/test-suite.log",
"plugins-uartdmx-test-suite.log": "plugins/uartdmx/test-suite.log",
"plugins-usbdmx-test-suite.log": "plugins/usbdmx/test-suite.log",
"plugins-usbpro-test-suite.log": "plugins/usbpro/test-suite.log",
"plugins-usbpro-messages-test-suite.log":
"plugins/usbpro/messages/test-suite.log",
"protoc-test-suite.log": "protoc/test-suite.log",
"python-examples-test-suite.log": "python/examples/test-suite.log",
"python-test-suite.log": "python/test-suite.log",
"python-ola-test-suite.log": "python/ola/test-suite.log",
"python-ola-rpc-test-suite.log": "python/ola/rpc/test-suite.log",
"tools-e133-test-suite.log": "tools/e133/test-suite.log",
"tools-ja-rule-test-suite.log": "tools/ja-rule/test-suite.log",
"tools-logic-test-suite.log": "tools/logic/test-suite.log",
"tools-test-suite.log": "tools/test-suite.log",
"tools-ola_trigger-test-suite.log": "tools/ola_trigger/test-suite.log",
"tools-rdm-test-suite.log": "tools/rdm/test-suite.log",
"tools-rdmpro-test-suite.log": "tools/rdmpro/test-suite.log",
"tools-usbpro-test-suite.log": "tools/usbpro/test-suite.log",
}