forked from jruby/jruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ci.hocon
80 lines (69 loc) · 2.14 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
79
80
jt: [ruby, tool/jt.rb]
common: {
packages: {
git: ">=1.8.3"
maven: ">=3.3.9"
mercurial: ">=3.2.4"
ruby: ">=2.1.0"
}
downloads: {
JAVA_HOME: {
name: oraclejdk,
version: "8u66",
platformspecific: true
}
}
environment: {
CI: "true",
PATH: "$JAVA_HOME/bin:$PATH"
}
setup: [
${jt} [build]
]
timelimit: "30:00"
}
graal-core: {
setup: [
${jt} [bootstrap],
[rm, -rf, mx.jruby],
[mkdir, graal-workspace],
[cd, graal-workspace],
[mx, sclone, --kind, git, "https://github.com/graalvm/graal-core.git", graal-core],
[cd, graal-core],
[git, checkout, "3a28fca1b331f9912dabd231052354cffa9dee9c"],
[mx, sforceimports],
[mx, --vm, server, build],
[cd, ../..]
]
environment: {
GRAAL_BIN: graal-workspace/jvmci/jdk1.8.0_66/product/bin/java
}
}
graalvm: {
downloads: {
GRAALVM_DIR: {
name: graalvm-release,
version: "0.11",
platformspecific: true
}
}
environment: {
GRAAL_BIN: "$GRAALVM_DIR/bin/java"
}
}
gate-caps: {
capabilities: [linux, amd64, gate, post-push]
}
builds: [
{name: ruby-test-fast} ${common} ${gate-caps} {run: [${jt} [test, fast]]},
{name: ruby-test-specs-command-line} ${common} ${gate-caps} {run: [${jt} [test, specs, ":command_line"]]},
{name: ruby-test-specs-language} ${common} ${gate-caps} {run: [${jt} [test, specs, ":language"]]},
{name: ruby-test-specs-core} ${common} ${gate-caps} {run: [${jt} [test, specs, ":core"]]},
{name: ruby-test-specs-library} ${common} ${gate-caps} {run: [${jt} [test, specs, ":library"]]},
{name: ruby-test-specs-truffle} ${common} ${gate-caps} {run: [${jt} [test, specs, ":truffle"]]},
{name: ruby-test-integration} ${common} ${gate-caps} {run: [${jt} [test, integration]]},
{name: ruby-test-tck} ${common} ${gate-caps} {run: [${jt} [test, tck]]},
{name: ruby-tarball} ${common} ${gate-caps} {run: [${jt} [tarball]]},
{name: ruby-test-compiler-graal-core} ${common} ${graal-core} ${gate-caps} {run: [${jt} [test, compiler]]},
{name: ruby-test-compiler-graalvm} ${common} ${graalvm} ${gate-caps} {run: [${jt} [test, compiler]]}
]