forked from oracle/graalpython
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ci.jsonnet
55 lines (46 loc) · 2.15 KB
/
ci.jsonnet
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
local utils = import 'ci_common/utils.libsonnet';
local const = import 'ci_common/constants.libsonnet';
local builder = import 'ci_common/builder.libsonnet';
{
overlay: "9c948fac4c5424a79d957f0e62bed7cc71489ed2",
// ======================================================================================================
//
// help:
// 1) to get the json out of the jsonnet configuration make sure the `jsonnet` executable is in path
// 2) execute the following command: jsonnet ci.jsonnet > ci.json
// 3) a helper script which does just that is located in: ./scripts/jsonnet_json.sh
//
// ======================================================================================================
// ------------------------------------------------------------------------------------------------------
//
// the gates
//
// ------------------------------------------------------------------------------------------------------
local gates = [
// unittests
builder.testGate(type="unittest", platform="linux"),
builder.testGate(type="unittest", platform="darwin"),
builder.testGateTime(type="tagged-unittest", platform="linux", timelimit=const.TIME_LIMIT["2h"]),
builder.testGateTime(type="tagged-unittest", platform="darwin", timelimit=const.TIME_LIMIT["2h"]),
builder.testGate(type="svm-unittest", platform="linux"),
builder.testGate(type="svm-unittest", platform="darwin"),
// junit
builder.testGate(type="junit", platform="linux"),
builder.testGate(type="junit", platform="darwin"),
// style
builder.styleGate,
// coverage
builder.coverageGate,
// graalvm gates
builder.graalVmGate,
// deploy binaries
builder.deployGate(platform="linux"),
builder.deployGate(platform="darwin"),
],
// ======================================================================================================
//
// the builds (the public section)
//
// ======================================================================================================
builds: gates,
}