-
Notifications
You must be signed in to change notification settings - Fork 200
/
Copy pathci.jsonnet
54 lines (47 loc) · 1.25 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
52
53
54
{
local graalvmBuild = {
targets: ['gate'],
timelimit: '00:59:59',
run+: [
['mvn', 'clean'],
['mvn', 'package', '-Pnative'],
['./sl', 'language/tests/Add.sl'],
['./standalone/target/slnative', 'language/tests/Add.sl'],
['./generate_parser.sh'],
['mvn', 'package'],
['./sl', 'language/tests/Add.sl'],
]
},
local graalvm21 = {
downloads+: {
JAVA_HOME: { name: 'graalvm-community-java21', version: '23.1.0', platformspecific: true },
},
},
local linux = {
capabilities+: ['linux', 'amd64'],
packages+: {
maven: '==3.3.9',
devtoolset: "==7", # GCC 7.3.1, make 4.2.1, binutils 2.28, valgrind 3.13.0
},
docker: {
image: "buildslave_ol7",
mount_modules: true,
},
},
local darwin = {
capabilities+: ['darwin_sierra', 'amd64'],
environment+: {
MACOSX_DEPLOYMENT_TARGET: '10.11',
},
},
local fixDarwinJavaHome = {
environment+: {
JAVA_HOME: '$JAVA_HOME/Contents/Home'
},
},
builds: [
graalvmBuild + linux + graalvm21 + { name: 'linux-graalvm21' },
graalvmBuild + darwin + fixDarwinJavaHome + graalvm21 + { name: 'darwin-graalvm21' },
# Blocked by the sl script being unable to find maven repo
],
}