forked from oracle/graal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathci.jsonnet
36 lines (30 loc) · 831 Bytes
/
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
# Compiler
local compiler = import 'compiler/ci.jsonnet';
# GraalWasm
local wasm = import 'wasm/ci.jsonnet';
# Espresso
local espresso = import 'espresso/ci.jsonnet';
# Sulong
local sulong = import 'sulong/ci.jsonnet';
# JavaDoc
local javadoc = import "ci_includes/publish-javadoc.jsonnet";
# Add a guard to `build` that prevents it from running in the gate
# for a PR that only touches *.md flles.
local add_markdown_guard(build) = build + {
guard+: {
excludes+: ["**.md", "docs/**"]
}
};
{
# ensure that entries in common.jsonnet can be resolved
_checkCommon: (import 'common.jsonnet'),
ci_resources:: (import 'ci-resources.libsonnet'),
specVersion: "2",
builds: [add_markdown_guard(b) for b in (
compiler.builds +
wasm.builds +
espresso.builds +
sulong.builds +
javadoc.builds
)]
}