forked from oracle/graal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathci.jsonnet
83 lines (72 loc) · 2.4 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
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
{
local common_json = import '../common.json',
local common = import '../common.jsonnet',
local composable = (import '../common-utils.libsonnet').composable,
local devkits = composable(common_json.devkits),
local tools_common = composable(common_json.deps.common) + common.mx + {
setup+: [
["cd", "./tools"],
],
timelimit: "30:00",
},
local tools_gate = tools_common + common.eclipse + common.jdt + {
name: 'gate-tools-oraclejdk' + self.jdk_version + '-' + self.os + '-' + self.arch,
run: [["mx", "--strict-compliance", "gate", "--strict-mode"]],
targets: ["gate"],
},
local tools_gate_lite = tools_common + {
name: 'gate-tools-lite-oraclejdk' + self.jdk_version + '-' + self.os + '-' + self.arch,
run: [
["mx", "build"],
["mx", "unittest", "--verbose"],
["mx", "sigtest"],
],
notify_groups:: ["tools"],
targets: ["weekly"],
},
local tools_javadoc = tools_common + {
name: "gate-tools-javadoc",
run: [
["mx", "build"],
["mx", "javadoc"],
],
targets: ["gate"],
},
local coverage_whitelisting = [
"--jacoco-whitelist-package",
"org.graalvm.tools",
"--jacoco-whitelist-package",
"com.oracle.truffle.tools"
],
local tools_coverage_weekly = tools_common + common.eclipse + common.jdt + {
name: "weekly-tools-coverage",
run: [
["mx"] + coverage_whitelisting + [
"--strict-compliance",
"gate",
"--strict-mode",
"--jacoco-omit-excluded",
"--jacocout",
"html",
],
["mx"] + coverage_whitelisting + ["coverage-upload"],
],
targets: ["weekly"],
},
local tools_unittest = {
environment+: {
"MX_TEST_RESULT_TAGS": "tools"
}
},
builds: [
common.linux_amd64 + common.oraclejdk11 + tools_gate + tools_unittest,
common.linux_amd64 + common.oraclejdk17 + tools_gate + tools_unittest,
common.linux_amd64 + common.oraclejdk11 + tools_javadoc,
common.linux_amd64 + common.oraclejdk17 + tools_coverage_weekly,
common.linux_aarch64 + common.labsjdk17 + tools_gate_lite,
common.windows_amd64 + common.oraclejdk11 + tools_gate_lite + devkits["windows-jdk11"],
common.windows_amd64 + common.oraclejdk17 + tools_gate_lite + devkits["windows-jdk17"],
common.darwin_amd64 + common.oraclejdk11 + tools_gate_lite,
common.darwin_amd64 + common.oraclejdk17 + tools_gate_lite,
],
}