forked from oracle/graal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ci.jsonnet
51 lines (45 loc) · 1.38 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
{
local common = import '../common.jsonnet',
local regex_common = {
setup+: [
["cd", "./regex"],
],
timelimit: "30:00",
},
local regex_gate = regex_common + common.eclipse + common.jdt + {
name: 'gate-regex-oraclejdk' + self.jdk_version,
run: [["mx", "--strict-compliance", "gate", "--strict-mode"]],
targets: ["gate"],
},
local regex_gate_lite = regex_common + {
name: 'gate-regex-mac-lite-oraclejdk' + self.jdk_version,
run: [
["mx", "build"],
["mx", "unittest", "--verbose", "com.oracle.truffle.regex"],
],
notify_groups:: ["regex"],
targets: ["weekly"],
},
local regex_downstream_js = regex_common + {
name: 'gate-regex-downstream-js-oraclejdk' + self.jdk_version,
run: [
["mx", "testdownstream", "-R", ['mx', 'urlrewrite', 'https://github.com/graalvm/js-tests.git'], "--mx-command", "--strict-compliance gate --strict-mode --all-suites --tags build,Test262-default,TestV8-default,regex"]
],
targets: ["gate"],
},
local regex_unittest = {
environment+: {
"MX_TEST_RESULT_TAGS": "regex"
}
},
builds: std.flattenArrays([
[
common.linux_amd64 + jdk + regex_gate + regex_unittest,
common.linux_amd64 + jdk + regex_downstream_js,
common.darwin_amd64 + jdk + regex_gate_lite,
] for jdk in [
common.oraclejdk11,
common.oraclejdk17,
]
]),
}