@@ -10,6 +10,10 @@ local sc = (import "ci_common/sulong-common.jsonnet");
10
10
local basicTags = "build,sulongBasic,nwcc,llvm" ,
11
11
local basicTagsNoNWCC= "build,sulongBasic,llvm" ,
12
12
13
+ local tier1 = common.frequencies.tier1,
14
+ local tier2 = common.frequencies.tier2,
15
+ local tier3 = common.frequencies.tier3,
16
+
13
17
sulong:: {
14
18
suite:: "sulong" ,
15
19
extra_mx_args+:: if self ._jdkIsGraalVM then [] else [ "--dynamicimport" , "/compiler" ],
@@ -18,7 +22,7 @@ local sc = (import "ci_common/sulong-common.jsonnet");
18
22
],
19
23
},
20
24
21
- gate (standalone=false, style=false):: sc.gate + {
25
+ common (standalone=false, style=false):: {
22
26
setup+: [
23
27
['apply-predicates' , '--delete-excluded' , '--process-hidden' , '--pattern-root' , '..' ] # we are in the sulong directory
24
28
+ (if std.objectHasAll (self .guard, 'excludes' ) then ['--exclude=' + e for e in self .guard.excludes] else [])
@@ -66,33 +70,34 @@ local sc = (import "ci_common/sulong-common.jsonnet");
66
70
},
67
71
68
72
regular_builds:: [
69
- $.sulong + $.gate(style=true ) + sc.labsjdkLatest + sc.linux_amd64 + sc.style + { name: "gate-sulong-style-fullbuild-jdk-latest-linux-amd64" },
70
- $.sulong + $.gate(standalone=true ) + sc.labsjdkLatest + sc.linux_amd64 + sc.llvmBundled + sc.requireGMP + sc.gateTags("build,sulongMisc,parser" ) + $.sulong_test_toolchain + { name: "gate-sulong-misc-parser-jdk-latest-linux-amd64" },
71
- $.sulong + $.gate() + sc.labsjdkLatest + sc.linux_amd64 + sc.llvmBundled + sc.requireGMP + sc.gateTags("build,gcc_c" ) + { name: "gate-sulong-gcc_c-jdk-latest-linux-amd64" , timelimit: "45:00" },
72
- $.sulong + $.gate() + sc.labsjdkLatest + sc.linux_amd64 + sc.llvmBundled + sc.requireGMP + sc.gateTags("build,gcc_cpp" ) + { name: "gate-sulong-gcc_cpp-jdk-latest-linux-amd64" , timelimit: "45:00" },
73
+ $.sulong + tier1 + $.common(style=true ) + sc.labsjdkLatest + sc.linux_amd64 + sc.style + { name: "gate-sulong-style-jdk-latest-linux-amd64" },
74
+ $.sulong + tier1 + $.common(style=true ) + sc.labsjdkLatest + sc.linux_amd64 + sc.fullbuild + { name: "gate-sulong-fullbuild-jdk-latest-linux-amd64" },
75
+ $.sulong + tier2 + $.common(standalone=true ) + sc.labsjdkLatest + sc.linux_amd64 + sc.llvmBundled + sc.requireGMP + sc.gateTags("build,sulongMisc,parser" ) + $.sulong_test_toolchain + { name: "gate-sulong-misc-parser-jdk-latest-linux-amd64" },
76
+ $.sulong + tier2 + $.common() + sc.labsjdkLatest + sc.linux_amd64 + sc.llvmBundled + sc.requireGMP + sc.gateTags("build,gcc_c" ) + { name: "gate-sulong-gcc_c-jdk-latest-linux-amd64" , timelimit: "45:00" },
77
+ $.sulong + tier2 + $.common() + sc.labsjdkLatest + sc.linux_amd64 + sc.llvmBundled + sc.requireGMP + sc.gateTags("build,gcc_cpp" ) + { name: "gate-sulong-gcc_cpp-jdk-latest-linux-amd64" , timelimit: "45:00" },
73
78
74
- $.sulong + $.gate () + sc.labsjdkLatest + sc.darwin_amd64 + sc.llvmBundled + sc.gateTags(basicTags) + { name: "daily-sulong-basic-nwcc-llvm-jdk-latest-darwin-amd64" , timelimit: "0:45:00" , capabilities+: ["ram16gb" ], targets: []} + sc.daily ,
79
+ $.sulong + sc.daily + $.common () + sc.labsjdkLatest + sc.darwin_amd64 + sc.llvmBundled + sc.gateTags(basicTags) + { name: "daily-sulong-basic-nwcc-llvm-jdk-latest-darwin-amd64" , timelimit: "0:45:00" , capabilities+: ["ram16gb" ] } ,
75
80
76
- $.sulong + $.gate () + sc.labsjdkLatest + sc.linux_amd64 + sc.llvmBundled + sc.requireGMP + sc.gateTags(basicTags) + { name: "gate-sulong-basic-nwcc-llvm-jdk-latest-linux-amd64" },
81
+ $.sulong + tier2 + $.common () + sc.labsjdkLatest + sc.linux_amd64 + sc.llvmBundled + sc.requireGMP + sc.gateTags(basicTags) + { name: "gate-sulong-basic-nwcc-llvm-jdk-latest-linux-amd64" },
77
82
78
- $.sulong + $.gate () + sc.labsjdkLatest + sc.linux_aarch64 + sc.llvmBundled + sc.requireGMP + sc.gateTags(basicTagsNoNWCC) + { name: "gate-sulong-basic-llvm-jdk-latest-linux-aarch64" , timelimit: "30:00" },
83
+ $.sulong + tier3 + $.common () + sc.labsjdkLatest + sc.linux_aarch64 + sc.llvmBundled + sc.requireGMP + sc.gateTags(basicTagsNoNWCC) + { name: "gate-sulong-basic-llvm-jdk-latest-linux-aarch64" , timelimit: "30:00" },
79
84
80
- $.sulong + $.gate () + sc.labsjdkLatest + sc.darwin_aarch64 + sc.llvmBundled + sc.requireGMP + sc.gateTags(basicTagsNoNWCC) + { name: "gate-sulong-basic-llvm-jdk-latest-darwin-aarch64" , timelimit: "30:00" },
85
+ $.sulong + tier3 + $.common () + sc.labsjdkLatest + sc.darwin_aarch64 + sc.llvmBundled + sc.requireGMP + sc.gateTags(basicTagsNoNWCC) + { name: "gate-sulong-basic-llvm-jdk-latest-darwin-aarch64" , timelimit: "30:00" },
81
86
82
- $.sulong + $.gate () + sc.labsjdkLatest + sc.windows_amd64 + sc.llvmBundled + sc.gateTags("build,sulongStandalone,interop" ) + { name: "gate-sulong-standalone-interop-jdk-latest-windows-amd64" , timelimit: "1:00:00" },
83
- $.sulong + $.gate () + sc.labsjdkLatest + sc.windows_amd64 + sc.llvmBundled + sc.gateTags("build,nwcc,llvm" ) + { name: "gate-sulong-nwcc-llvm-jdk-latest-windows-amd64" },
84
- $.sulong + $.gate () + sc.labsjdkLatest + sc.windows_amd64 + sc.llvmBundled + sc.requireGMP + sc.gateTags("build,gcc_c" ) + { name: "gate-sulong-gcc_c-jdk-latest-windows-amd64" , timelimit: "45:00" },
85
- $.sulong + $.gate () + sc.labsjdkLatest + sc.windows_amd64 + sc.llvmBundled + sc.requireGMP + sc.gateTags("build,gcc_cpp" ) + { name: "gate-sulong-gcc_cpp-jdk-latest-windows-amd64" , timelimit: "45:00" },
87
+ $.sulong + tier3 + $.common () + sc.labsjdkLatest + sc.windows_amd64 + sc.llvmBundled + sc.gateTags("build,sulongStandalone,interop" ) + { name: "gate-sulong-standalone-interop-jdk-latest-windows-amd64" , timelimit: "1:00:00" },
88
+ $.sulong + tier3 + $.common () + sc.labsjdkLatest + sc.windows_amd64 + sc.llvmBundled + sc.gateTags("build,nwcc,llvm" ) + { name: "gate-sulong-nwcc-llvm-jdk-latest-windows-amd64" },
89
+ $.sulong + tier3 + $.common () + sc.labsjdkLatest + sc.windows_amd64 + sc.llvmBundled + sc.requireGMP + sc.gateTags("build,gcc_c" ) + { name: "gate-sulong-gcc_c-jdk-latest-windows-amd64" , timelimit: "45:00" },
90
+ $.sulong + tier3 + $.common () + sc.labsjdkLatest + sc.windows_amd64 + sc.llvmBundled + sc.requireGMP + sc.gateTags("build,gcc_cpp" ) + { name: "gate-sulong-gcc_cpp-jdk-latest-windows-amd64" , timelimit: "45:00" },
86
91
],
87
92
88
93
standalone_builds::
89
94
sc.mapPrototypePlatformName(
90
95
[
91
- $.sulong + $.gate (standalone=true ) + sc.gateTags("standalone" ) {
96
+ $.sulong + $.common (standalone=true ) + sc.gateTags("standalone" ) {
92
97
job:: "test-ce-standalones-jvm" ,
93
98
extra_mx_args+:: ["--env" , "ce-llvm-standalones" , "--use-llvm-standalone=jvm" ],
94
99
},
95
- $.sulong + $.gate (standalone=true ) + sc.gateTags("standalone" ) {
100
+ $.sulong + $.common (standalone=true ) + sc.gateTags("standalone" ) {
96
101
job:: "test-ce-standalones-native" ,
97
102
extra_mx_args+:: ["--env" , "ce-llvm-standalones" , "--use-llvm-standalone=native" ],
98
103
},
@@ -105,16 +110,16 @@ local sc = (import "ci_common/sulong-common.jsonnet");
105
110
[sc.darwin_aarch64, [sc.labsjdkLatest]],
106
111
],
107
112
[
108
- { name: "gate-sulong-test-ce-standalones-jvm-jdk-latest-linux-amd64" , timelimit: "1:00:00" },
109
- { name: "daily-sulong-test-ce-standalones-jvm-jdk-latest-darwin-amd64" , timelimit: "1:00:00" , targets: [] } + sc.daily ,
110
- { name: "daily-sulong-test-ce-standalones-jvm-jdk-latest-windows-amd64" , timelimit: "1:00:00" , targets: [] } + sc.daily /* GR-50165 */ ,
111
- { name: "gate-sulong-test-ce-standalones-jvm-jdk-latest-linux-aarch64" , timelimit: "1:00:00" },
112
- { name: "gate-sulong-test-ce-standalones-jvm-jdk-latest-darwin-aarch64" , timelimit: "1:00:00" },
113
- { name: "gate-sulong-test-ce-standalones-native-jdk-latest-linux-amd64" , timelimit: "1:30:00" },
114
- { name: "daily-sulong-test-ce-standalones-native-jdk-latest-darwin-amd64" , timelimit: "1:00:00" , targets: [] } + sc.daily ,
115
- { name: "daily-sulong-test-ce-standalones-native-jdk-latest-windows-amd64" , timelimit: "1:00:00" , targets: [] } + sc.daily /* GR-50165 */ ,
116
- { name: "gate-sulong-test-ce-standalones-native-jdk-latest-linux-aarch64" , timelimit: "1:00:00" },
117
- { name: "gate-sulong-test-ce-standalones-native-jdk-latest-darwin-aarch64" , timelimit: "1:00:00" },
113
+ tier2 + { name: "gate-sulong-test-ce-standalones-jvm-jdk-latest-linux-amd64" , timelimit: "1:00:00" },
114
+ sc.daily + { name: "daily-sulong-test-ce-standalones-jvm-jdk-latest-darwin-amd64" , timelimit: "1:00:00" , targets: [] },
115
+ sc.daily + { name: "daily-sulong-test-ce-standalones-jvm-jdk-latest-windows-amd64" , timelimit: "1:00:00" , targets: [] } /* GR-50165 */ ,
116
+ tier3 + { name: "gate-sulong-test-ce-standalones-jvm-jdk-latest-linux-aarch64" , timelimit: "1:00:00" },
117
+ tier3 + { name: "gate-sulong-test-ce-standalones-jvm-jdk-latest-darwin-aarch64" , timelimit: "1:00:00" },
118
+ tier2 + { name: "gate-sulong-test-ce-standalones-native-jdk-latest-linux-amd64" , timelimit: "1:30:00" },
119
+ sc.daily + { name: "daily-sulong-test-ce-standalones-native-jdk-latest-darwin-amd64" , timelimit: "1:00:00" , targets: [] },
120
+ sc.daily + { name: "daily-sulong-test-ce-standalones-native-jdk-latest-windows-amd64" , timelimit: "1:00:00" , targets: [] } /* GR-50165 */ ,
121
+ tier3 + { name: "gate-sulong-test-ce-standalones-native-jdk-latest-linux-aarch64" , timelimit: "1:00:00" },
122
+ tier3 + { name: "gate-sulong-test-ce-standalones-native-jdk-latest-darwin-aarch64" , timelimit: "1:00:00" },
118
123
]),
119
124
120
125
coverage_builds::
0 commit comments