Skip to content

Commit bc1940a

Browse files
committed
Run jobs using emsdk on OL8
1 parent 6326c55 commit bc1940a

File tree

3 files changed

+26
-16
lines changed

3 files changed

+26
-16
lines changed

ci/common.jsonnet

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,24 @@ local common_json = import "../common.json";
323323
},
324324
},
325325

326+
wasm_ol8:: {
327+
downloads+: {
328+
WABT_DIR: {name: 'wabt', version: '1.0.36-ol8', platformspecific: true},
329+
},
330+
environment+: {
331+
WABT_DIR: '$WABT_DIR/bin',
332+
},
333+
},
334+
335+
emsdk_ol8:: {
336+
downloads+: {
337+
EMSDK_DIR: {name: 'emsdk', version: '4.0.10', platformspecific: true},
338+
},
339+
environment+: {
340+
EMCC_DIR: '$EMSDK_DIR/upstream/emscripten/'
341+
}
342+
},
343+
326344
fastr:: {
327345
# Note: On both Linux and MacOS, FastR depends on the gnur module and on gfortran
328346
# of a specific version (4.8.5 on Linux, 10.2.0 on MacOS)

wasm/ci/ci.jsonnet

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ jdks + wasm_common +
2828
$.jdkLatest + platform + $.tier3 + $.gate_graalwasm_full + {environment+: {GATE_TAGS: 'build,wasmtest'}} + {name: 'gate-graalwasm-unittest' + self.name_suffix}
2929
for platform in [$.linux_aarch64, $.windows_amd64, $.darwin_aarch64]
3030
] + [
31-
$.jdkLatest + $.linux_amd64 + $.tier2 + $.gate_graalwasm_emsdk_full + {environment+: {GATE_TAGS: 'buildall,wasmextratest'}} + {name: 'gate-graalwasm-extra-unittest' + self.name_suffix},
32-
$.jdkLatest + $.linux_amd64 + $.tier2 + $.gate_graalwasm_emsdk_full + {environment+: {GATE_TAGS: 'buildall,wasmbenchtest'}} + {name: 'gate-graalwasm-benchtest' + self.name_suffix},
31+
$.jdkLatest + $.linux_amd64_ol8 + $.tier2 + $.gate_graalwasm_emsdk_full + {environment+: {GATE_TAGS: 'buildall,wasmextratest'}} + {name: 'gate-graalwasm-extra-unittest' + self.name_suffix},
32+
$.jdkLatest + $.linux_amd64_ol8 + $.tier2 + $.gate_graalwasm_emsdk_full + {environment+: {GATE_TAGS: 'buildall,wasmbenchtest'}} + {name: 'gate-graalwasm-benchtest' + self.name_suffix},
3333

34-
$.jdkLatest + $.linux_amd64 + $.weekly + $.gate_graalwasm_coverage + tools_java_home + {name: 'weekly-graalwasm-coverage' + self.name_suffix},
34+
$.jdkLatest + $.linux_amd64_ol8 + $.weekly + $.gate_graalwasm_coverage + tools_java_home + {name: 'weekly-graalwasm-coverage' + self.name_suffix},
3535

3636
# Benchmark jobs.
37-
$.jdkLatest + $.linux_amd64 + $.bench_daily + $.bench_graalwasm_emsdk_full + {
37+
$.jdkLatest + $.linux_amd64_ol8 + $.bench_daily + $.bench_graalwasm_emsdk_full + {
3838
name: 'bench-graalwasm-c-micro' + self.name_suffix,
3939
environment+: {
4040
BENCH_RUNNER: 'run-c-micro-benchmarks',
@@ -43,7 +43,7 @@ jdks + wasm_common +
4343
},
4444
},
4545

46-
$.jdkLatest + $.linux_amd64 + $.bench_daily + $.bench_graalwasm_emsdk_full + {
46+
$.jdkLatest + $.linux_amd64_ol8 + $.bench_daily + $.bench_graalwasm_emsdk_full + {
4747
name: 'bench-graalwasm-wat-micro' + self.name_suffix,
4848
environment+: {
4949
BENCH_RUNNER: 'run-wat-micro-benchmarks',

wasm/ci/ci_common/common.jsonnet

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ local graal_suite_root = root_ci.graal_suite_root;
6767
},
6868

6969
linux_amd64:: common.linux_amd64 + self.linux_common,
70+
linux_amd64_ol8:: common.linux_amd64_ol8 + self.linux_common,
7071
linux_aarch64:: common.linux_aarch64 + self.linux_common,
7172

7273
darwin_aarch64:: common.darwin_aarch64,
@@ -78,15 +79,6 @@ local graal_suite_root = root_ci.graal_suite_root;
7879

7980
windows_amd64:: common.windows_amd64 + self.windows_common,
8081

81-
emsdk:: {
82-
downloads+: {
83-
EMSDK_DIR: {name: 'emsdk', version: '4.0.10', platformspecific: true},
84-
},
85-
environment+: {
86-
EMCC_DIR: '$EMSDK_DIR/upstream/emscripten/'
87-
}
88-
},
89-
9082
ocaml_dune:: {
9183
downloads+: {
9284
OCAML_DIR: {name: 'ocaml-dune', version: '3.16.1', platformspecific: true},
@@ -193,7 +185,7 @@ local graal_suite_root = root_ci.graal_suite_root;
193185
},
194186

195187
eclipse_jdt :: common.deps.pylint + common.deps.eclipse + common.deps.jdt,
196-
wabt_emsdk :: common.deps.wasm + self.emsdk,
197-
wabt_emsdk_ocamlbuild :: common.deps.wasm + self.emsdk + self.ocaml_dune,
188+
wabt_emsdk :: common.deps.wasm_ol8 + common.deps.emsdk_ol8,
189+
wabt_emsdk_ocamlbuild :: common.deps.wasm_ol8 + common.deps.emsdk_ol8 + self.ocaml_dune,
198190

199191
}

0 commit comments

Comments
 (0)