Skip to content

Commit 8d56e1f

Browse files
committed
Add ruby polybench jobs
1 parent fca0ddb commit 8d56e1f

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

vm/ci/ci_common/common-bench.jsonnet

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,30 @@ local repo_config = import '../../../ci/repo-configuration.libsonnet';
230230
],
231231
}
232232
*/
233+
] + [
234+
# TruffleRuby polybench jobs
235+
self.polybench_vm_gate('linux', 'amd64', 'ruby') + common.deps.truffleruby + {
236+
environment+: {
237+
RUBY_BENCHMARKS: 'true',
238+
},
239+
setup+: [
240+
['mx', '--dy', 'truffleruby', 'build']
241+
],
242+
run+: [
243+
self.polybench_wrap(['mx', '--dy', 'truffleruby', '--java-home', '${POLYBENCH_JVM}', 'polybench', 'run', '--suite', 'ruby:gate']),
244+
],
245+
},
246+
self.polybench_vm_daily('linux', 'amd64', 'ruby') + common.deps.truffleruby + {
247+
environment+: {
248+
RUBY_BENCHMARKS: 'true',
249+
},
250+
setup+: [
251+
['mx', '--dy', 'truffleruby', 'build']
252+
],
253+
run+: [
254+
self.polybench_wrap(['mx', '--dy', 'truffleruby', '--java-home', '${POLYBENCH_JVM}', 'polybench', 'run', '--suite', 'ruby:benchmark']),
255+
],
256+
}
233257
],
234258
# TODO (GR-60584): reimplement polybenchmarks jobs once polybench is unchained
235259

0 commit comments

Comments
 (0)