forked from oracle/graal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ci.hocon
78 lines (73 loc) · 2.15 KB
/
ci.hocon
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
truffleCommon: {
setup : [
[cd, "./truffle"]
]
timelimit : "30:00"
}
gateLite : ${truffleCommon} {
run : [
["mx", "build" ],
["mx", "unittest", "--verbose" ]
]
}
benchCommon: ${linux-amd64} ${labsjdk8} {
environment: {
BENCH_RESULTS_FILE_PATH: "bench-results.json"
},
targets: [bench, weekly],
timelimit: "1:00:00",
setup : [
["cd", ${compiler-suite-root}],
["mx", "build" ]
] ${download-hsdis.setup}
teardown : [
["bench-uploader.py", "${BENCH_RESULTS_FILE_PATH}"]
]
}
truffleWeekly: ${truffle-weekly-notifications} {
targets: ["weekly"]
}
builds += [
${linux-amd64} ${labsjdk8} ${truffleCommon} ${eclipse} ${jdt} {run : [["mx", "--strict-compliance", "gate", "--strict-mode"]], targets : [gate], name: "gate-truffle-8"},
${linux-amd64} ${oraclejdk11} ${truffleCommon} ${eclipse} {run : [["mx", "--strict-compliance", "gate", "--strict-mode"]], targets : [gate], name: "gate-truffle-11"},
${linux-amd64} ${labsjdk8} ${truffleCommon} {
run : [
["mx", "build"],
["mx", "javadoc"],
],
targets : [gate],
name: "gate-truffle-javadoc"
},
${solaris-sparcv9} ${labsjdk8} ${gateLite} ${truffleWeekly} {
name: "gate-truffle-solaris-lite-8"
}
${solaris-sparcv9} ${oraclejdk11} ${gateLite} ${truffleWeekly} {
name: "gate-truffle-solaris-lite-11"
}
${darwin-amd64} ${labsjdk8} ${gateLite} ${truffleWeekly} {
name: "gate-truffle-mac-lite-8"
}
${darwin-amd64} ${oraclejdk11} ${gateLite} ${truffleWeekly} {
name: "gate-truffle-mac-lite-11"
}
${windows-amd64} ${labsjdk8} ${truffleCommon} {
# TODO make that a full gate run
# currently, some truffle unittests fail on windows
run : [
["mx", "build" ],
["mx", "unittest", "truffle.nfi.test", "--verbose" ]
]
packages : {
msvc : "==10.0"
}
targets : [gate],
name: "gate-truffle-nfi-windows-8",
}
# BENCHMARKS
${benchCommon} ${truffle-bench-notifications} {
run: [
["mx", "--kill-with-sigquit", "benchmark", "--results-file", "${BENCH_RESULTS_FILE_PATH}", "truffle:*", "--", "--", "com.oracle.truffle.api.benchmark*"]
],
name: "bench-truffle-jmh"
}
]