forked from oracle/graal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ci.hocon
65 lines (60 loc) · 1.8 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
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"],
["mx", "build" ]
],
teardown : [
["bench-uploader.py", "--url", "${BENCH_SERVER_URL}", "${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"
}
# 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"
}
]