forked from oracle/graal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathci.hocon
129 lines (112 loc) · 4.64 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
sulong-common: ${common} ${labsjdk8} {
setup: [
[cd, "./sulong"]
]
}
sulong-gateCommon: ${sulong-common} {
targets: [gate]
}
sulong-gateStyle: ${sulong-gateCommon} ${linux-amd64} ${eclipse} {
packages: {
ruby: "==2.1.0" # for mdl
llvm: "==3.8"
}
}
sulong-gateTest-linux: ${sulong-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"
LDFLAGS: "-L$LIBGMP/lib"
}
}
sulong-gateTest38-linux: ${sulong-gateTest-linux} {
packages: {
llvm: "==3.8"
}
}
sulong-gateTest40-linux: ${sulong-gateTest-linux} {
packages: {
llvm: "==4.0.1"
}
}
sulong-gateTest60-linux: ${sulong-gateTest-linux} {
packages: {
llvm: "==6.0.1"
}
}
darwin-llvm : {
packages: {
llvm: "==4.0.1"
}
}
sulong-gateTest40-darwin: ${sulong-gateCommon} ${darwin-amd64} ${darwin-llvm} {
environment: {
CPPFLAGS: "-g"
}
}
requireGCC: {
packages: {
gcc: "==6.1.0"
}
downloads: {
DRAGONEGG_GCC: {name: "gcc+dragonegg", version: "4.6.4-1", platformspecific: true}
DRAGONEGG_LLVM: {name: "clang+llvm", version: "3.2", platformspecific: true}
}
}
sulong-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"]
]
timelimit: "45:00"
}
sulong-python-downstream-test: {
packages: {
python: "==3.4.1"
gcc: "==4.9.1"
llvm: ">=4.0"
}
run: [
[mx, testdownstream, --repo, "https://github.com/graalvm/graalpython.git",
--mx-command, "--dynamicimports /sulong gate -B=--force-deprecation-as-warning --tags build,python-cpyext"]
]
}
sulong-gate-asm-parser: ${sulong-gateCommon} ${linux-amd64} {
run: [
["mx", "create-asm-parser"]
["git", "diff", "--exit-code", "projects/com.oracle.truffle.llvm.asm.amd64/src/com/oracle/truffle/llvm/asm/amd64/InlineAssemblyLexer.java"]
["git", "diff", "--exit-code", "projects/com.oracle.truffle.llvm.asm.amd64/src/com/oracle/truffle/llvm/asm/amd64/InlineAssemblyParser.java"]
]
}
sulong-coverage-linux: ${sulong-gateTest38-linux} ${requireGCC} ${sulong-weekly-notifications} {
run: [
[mx, --jacoco-whitelist-package, com.oracle.truffle.llvm, --jacoco-exclude-annotation, "@GeneratedBy", gate, --tags, "build,sulongCoverage", --jacocout, html]
[mx, --jacoco-whitelist-package, com.oracle.truffle.llvm, --jacoco-exclude-annotation, "@GeneratedBy", sonarqube-upload, "-Dsonar.host.url=$SONAR_HOST_URL", "-Dsonar.projectKey=com.oracle.graalvm.sulong", "-Dsonar.projectName=GraalVM - Sulong", --exclude-generated]
]
targets: [weekly]
timelimit: "1:00:00"
}
builds += [
${sulong-gateStyle} { name: gate-sulong-style, run: [[mx, gate, --tags, "style"]] }
${sulong-gateStyle} ${jdt} { name: gate-sulong-fullbuild, run: [[mx, gate, --tags, "fullbuild"]] }
${sulong-gate-asm-parser} { name: gate-sulong-asm-parser }
${sulong-gateTest38-linux} { name: gate-sulong-misc0, run: [[mx, gate, --tags, "build,assembly,args,callback,vaargs"]] }
${sulong-gateTest38-linux} ${requireGCC} { name: gate-sulong-misc1, run: [[mx, gate, --tags, "build,benchmarks,type,pipe"]] }
${sulong-gateTest38-linux} ${requireGCC} { name: gate-sulong-parser, run: [[mx, gate, --tags, "build,parser"]] }
${sulong-gateTest38-linux} { name: gate-sulong-gcc_c, run: [[mx, gate, --tags, "build,gcc_c"]], timelimit: "45:00" }
${sulong-gateTest38-linux} { name: gate-sulong-gcc_cpp, run: [[mx, gate, --tags, "build,gcc_cpp"]] }
${sulong-gateTest38-linux} ${requireGCC} { name: gate-sulong-gcc_fortran, run: [[mx, gate, --tags, "build,gcc_fortran"]] }
${sulong-gateTest38-linux} ${requireGCC} { name: gate-sulong-basic_v38, run: [[mx, gate, --tags, "build,sulongBasic,nwcc,llvm"]] }
${sulong-gateTest40-linux} ${requireGCC} { name: gate-sulong-basic_v40, run: [[mx, gate, --tags, "build,sulongBasic,nwcc,llvm"]] }
${sulong-gateTest60-linux} ${requireGCC} { name: gate-sulong-basic_v60, run: [[mx, gate, --tags, "build,sulongBasic,nwcc,llvm"]] }
${sulong-gateTest40-darwin} { name: gate-sulong-basic_mac, run: [[mx, gate, --tags, "build,sulongBasic,nwcc,llvm"]] }
${sulong-gateTest38-linux} ${sulong-ruby-downstream-test} { name: gate-sulong-ruby-downstream }
${sulong-gateTest38-linux} ${sulong-python-downstream-test} { name: gate-sulong-python-downstream }
${sulong-coverage-linux} { name: weekly-sulong-coverage }
]