|
2 | 2 | overlay: "c25b1177db93290c2643d44f5eebc9f6ee4adac9", |
3 | 3 |
|
4 | 4 | // ====================================================================================================== |
5 | | - // |
| 5 | + // |
6 | 6 | // help: |
7 | 7 | // 1) to get the json out of the jsonnet configuration make sure the `jsonnet` executable is in path |
8 | 8 | // 2) execute the following command: jsonnet ci.jsonnet > ci.json |
|
41 | 41 |
|
42 | 42 | // ------------------------------------------------------------------------------------------------------ |
43 | 43 | // |
44 | | - // utility funcs |
| 44 | + // utility funcs |
45 | 45 | // |
46 | 46 | // ------------------------------------------------------------------------------------------------------ |
47 | 47 | local utils = { |
48 | 48 | download: function(name, version, platformSpecific = true) |
49 | 49 | {name: name, version: version, platformspecific: platformSpecific}, |
50 | | - |
| 50 | + |
51 | 51 | getValue: function(object, field) |
52 | 52 | if (!std.objectHas(object, field)) then |
53 | 53 | error "unknown field: "+field+" in "+object+", valid choices are: "+std.objectFields(object) |
|
57 | 57 | graalOption: function(name, value) |
58 | 58 | ["--Ja", "@-Dgraal."+name+"="+value], |
59 | 59 | }, |
60 | | - |
| 60 | + |
61 | 61 | // ------------------------------------------------------------------------------------------------------ |
62 | 62 | // |
63 | 63 | // platform mixins |
|
249 | 249 | // |
250 | 250 | // ------------------------------------------------------------------------------------------------------ |
251 | 251 | local gates = [ |
252 | | - // unittests |
| 252 | + // unittests |
253 | 253 | testGate(type="unittest", platform="linux"), |
254 | 254 | testGate(type="unittest", platform="darwin"), |
255 | 255 | testGate(type="svm-unittest", platform="linux"), |
256 | 256 | testGate(type="svm-unittest", platform="darwin"), |
257 | 257 |
|
258 | | - // junit |
| 258 | + // junit |
259 | 259 | testGate(type="junit", platform="linux"), |
260 | 260 | testGate(type="junit", platform="darwin"), |
261 | 261 |
|
262 | | - // style |
| 262 | + // style |
263 | 263 | styleGate, |
264 | 264 |
|
265 | 265 | // graalvm gates |
266 | 266 | graalVmGate, |
267 | 267 |
|
268 | | - // deploy binaries |
| 268 | + // deploy binaries |
269 | 269 | deployGate(platform="linux"), |
270 | 270 | deployGate(platform="darwin"), |
271 | 271 | ], |
|
0 commit comments