forked from graalvm/sulong
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathci.hocon
140 lines (116 loc) · 3.71 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
java8: {name: labsjdk, version: "8u121-jvmci-0.29", platformspecific: true}
eclipse: {name: eclipse, version: "4.5.2", platformspecific: true}
dragonegg: {name: dragonegg, version: "3.2", platformspecific: true}
linux-amd64: {
capabilities: [linux, amd64]
}
darwin-amd64: {
capabilities: [darwin_sierra, amd64]
}
common: {
packages: {
git: ""
}
downloads: {
JAVA_HOME: ${java8}
}
timelimit: 1:30:00
}
gateCommon: ${common} {
targets: [gate]
}
gateStyle: ${gateCommon} ${linux-amd64} {
packages: {
ruby: "==2.1.0" # for mdl
llvm: "==3.8"
"pip:astroid" : "==1.1.0"
"pip:pylint" : "==1.1.0"
}
downloads: {
ECLIPSE: ${eclipse}
}
environment: {
ECLIPSE_EXE: "$ECLIPSE/eclipse"
}
}
gateTest-linux: ${gateCommon} ${linux-amd64} {
downloads: {
LIBGMP: {name: libgmp, version: "6.1.0", platformspecific: true}
}
environment: {
CPPFLAGS: "-g -I$LIBGMP/include"
LD_LIBRARY_PATH: "$LIBGMP/lib:$LD_LIBRARY_PATH"
}
}
gateTest38-linux: ${gateTest-linux} {
packages: {
llvm: "==3.8"
}
}
gateTest40-linux: ${gateTest-linux} {
packages: {
llvm: "==4.0.1"
}
}
darwin-llvm : {
packages: {
llvm: "==4.0.1"
}
}
gateTest40-darwin: ${gateCommon} ${darwin-amd64} ${darwin-llvm} {
environment: {
CPPFLAGS: "-g"
}
}
requireGCC: {
downloads: {
DRAGONEGG_GCC: {name: "gcc+dragonegg", version: "4.6.4-1", platformspecific: true}
DRAGONEGG_LLVM: {name: "clang+llvm", version: "3.2", platformspecific: true}
}
}
requireJDT: {
downloads: {
JDT : {name: ecj, version: "4.5.1", platformspecific: false}
}
}
deploy-command: [
["mx", "build"]
["mx", "deploy-binary", "--skip-existing", "lafo-snapshots"]
]
deploy-binaries: ${common} {
targets: [post-merge, deploy]
run : ${deploy-command}
}
deploy-binaries-linux: ${deploy-binaries} ${linux-amd64} ${requireGCC} {
packages: {
llvm: "==3.8"
maven: ">=3.3.9"
}
}
deploy-binaries-darwin: ${deploy-binaries} ${darwin-amd64} ${darwin-llvm} {
}
ruby-downstream-test: {
packages: {
ruby: "==2.1.0"
}
run: [
[mx, testdownstream, --repo, "https://github.com/graalvm/truffleruby.git",
--mx-command, "--dynamicimports sulong ruby_testdownstream_sulong"]
]
}
builds = [
${gateStyle} { name: gate-style, run: [[mx, gate, --tags, "style"]] }
${gateStyle} ${requireJDT} { name: gate-fullbuild, run: [[mx, gate, --tags, "fullbuild"]] }
${gateTest38-linux} { name: gate-misc0, run: [[mx, gate, --tags, "build,assembly,args,callback,vaargs"]] }
${gateTest38-linux} ${requireGCC} { name: gate-misc1, run: [[mx, gate, --tags, "build,benchmarks,type,pipe"]] }
${gateTest38-linux} ${requireGCC} { name: gate-parser, run: [[mx, gate, --tags, "build,parser"]] }
${gateTest38-linux} { name: gate-gcc_c, run: [[mx, gate, --tags, "build,gcc_c"]] }
${gateTest38-linux} { name: gate-gcc_cpp, run: [[mx, gate, --tags, "build,gcc_cpp"]] }
${gateTest38-linux} ${requireGCC} { name: gate-gcc_fortran, run: [[mx, gate, --tags, "build,gcc_fortran"]] }
${gateTest38-linux} ${requireGCC} { name: gate-basic_v38, run: [[mx, gate, --tags, "build,nwcc,llvm,sulong,interop"]] }
${gateTest40-linux} ${requireGCC} { name: gate-basic_v40, run: [[mx, gate, --tags, "build,nwcc,llvm,sulong,interop"]] }
${gateTest40-darwin} { name: gate-basic_mac, run: [[mx, gate, --tags, "build,nwcc,llvm,sulong,interop"]] }
${gateTest38-linux} ${ruby-downstream-test} { name: gate-ruby-downstream }
${deploy-binaries-linux} { name: postmerge-deploy-binaries-linux-amd64 }
${deploy-binaries-darwin} { name: postmerge-deploy-binaries-darwin-amd64 }
]