Skip to content

Commit 77a8dcc

Browse files
committed
[GR-62041] Move JS coverage jobs to jdk-latest and remove jdk-21 nodejs jobs.
PullRequest: js/3411
2 parents 12493aa + 846aeec commit 77a8dcc

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

ci.jsonnet

+1
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ local graalNodeJs = import 'graal-nodejs/ci.jsonnet';
106106
common.jdk21 + common.linux_amd64,
107107
common.jdklatest + common.linux_amd64,
108108
],
109+
jdklatestPlatforms:: [p for p in $.supportedPlatforms if p.jdk_name == 'jdk-latest'],
109110

110111
local artifact_name(jdk, edition, os, arch, prefix='js', suffix='') =
111112
assert prefix != '' && edition != '' && jdk != '' && os != '' && arch != '';

graal-js/ci.jsonnet

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ local ci = import '../ci.jsonnet';
2121
},
2222
},
2323

24-
local gateCoverage = {
24+
local gateCoverage = common.oraclejdk21.tools_java_home + {
2525
coverage_gate_args:: ['--jacoco-omit-excluded', '--jacoco-relativize-paths', '--jacoco-omit-src-gen', '--jacoco-format', 'lcov', '--jacocout', 'coverage'],
2626
run+: [
2727
['mx', '--dynamicimports', '/wasm', 'gate', '-B=--force-deprecation-as-warning', '-B=-A-J-Dtruffle.dsl.SuppressWarnings=truffle', '--strict-mode', '--tags', 'build,coverage'] + self.coverage_gate_args,
@@ -178,7 +178,7 @@ local ci = import '../ci.jsonnet';
178178
# Note: weekly coverage is sync'ed with the graal repo (while ondemand is not).
179179
graalJs + common.weekly + gateCoverage + {name: 'coverage'},
180180
graalJs + common.ondemand + gateCoverage + {name: 'coverage'},
181-
], platforms=[common.jdk21 + common.linux_amd64]),
181+
], platforms=[common.jdklatest + common.linux_amd64]),
182182

183183
// Benchmark builds; need to run on a benchmark machine
184184
local benchBuilds = generateBuilds([

graal-nodejs/ci.jsonnet

+3-3
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ local cicommon = import '../ci/common.jsonnet';
7070
]) else []),
7171
},
7272

73-
local gateCoverage = {
73+
local gateCoverage = common.oraclejdk21.tools_java_home + {
7474
suiteimports+:: ['wasm', 'tools'],
7575
coverage_gate_args:: ['--jacoco-omit-excluded', '--jacoco-relativize-paths', '--jacoco-omit-src-gen', '--jacoco-format', 'lcov', '--jacocout', 'coverage'],
7676
run+: [
@@ -191,15 +191,15 @@ local cicommon = import '../ci/common.jsonnet';
191191

192192
graalNodeJs + vm_env + build + testNode(parallelHttp2, max_heap='4G') + {name: 'parallel-http2'} +
193193
promoteToTarget(common.postMerge, [ci.mainGatePlatform], override=true),
194-
]], defaultTarget=common.weekly),
194+
]], platforms=ci.jdklatestPlatforms, defaultTarget=common.weekly),
195195

196196
// Builds that only need to run on one platform
197197
local otherBuilds = generateBuilds([
198198
# Note: weekly coverage is sync'ed with the graal repo (while ondemand is not).
199199
graalNodeJs + common.weekly + gateCoverage + {name: 'coverage'},
200200
graalNodeJs + common.ondemand + gateCoverage + {name: 'coverage'},
201201

202-
], platforms=[common.jdk21 + common.linux_amd64]),
202+
], platforms=[common.jdklatest + common.linux_amd64]),
203203

204204
builds: styleBuilds + testingBuilds + otherBuilds,
205205
}

0 commit comments

Comments
 (0)