forked from oracle/graal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ci.jsonnet
60 lines (48 loc) · 1.29 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
55
56
57
58
59
60
# Compiler
local compiler = import 'compiler/ci.jsonnet';
# GraalWasm
local wasm = import 'wasm/ci.jsonnet';
# Espresso
local espresso = import 'espresso/ci.jsonnet';
# Regex
local regex = import 'regex/ci.jsonnet';
# SDK
local sdk = import 'sdk/ci.jsonnet';
# SubstrateVM
local substratevm = import 'substratevm/ci.jsonnet';
# Sulong
local sulong = import 'sulong/ci.jsonnet';
# Tools
local tools = import 'tools/ci.jsonnet';
# Truffle
local truffle = import 'truffle/ci.jsonnet';
# JavaDoc
local javadoc = import "ci_includes/publish-javadoc.jsonnet";
# VM
local vm = import 'vm/ci_includes/vm.jsonnet';
# Add a guard to `build` that prevents it from running in the gate
# for a PR that only touches *.md files, the docs, are config files for GitHub
local add_excludes_guard(build) = build + {
guard+: {
excludes+: ["**.md", "docs/**", ".github/**"]
}
};
{
# Ensure that entries in common.jsonnet can be resolved.
_checkCommon: (import 'common.jsonnet'),
ci_resources:: (import 'ci-resources.libsonnet'),
specVersion: "3",
builds: [add_excludes_guard(b) for b in (
compiler.builds +
wasm.builds +
espresso.builds +
regex.builds +
sdk.builds +
substratevm.builds +
sulong.builds +
tools.builds +
truffle.builds +
javadoc.builds +
vm.builds
)]
}