Skip to content

Commit d8d7b2f

Browse files
committed
[GR-62960] Skip compiler_gate_benchmark_runner() on GHA.
PullRequest: graal/20276
2 parents cc1577a + b5bb4ca commit d8d7b2f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

compiler/mx.compiler/mx_compiler.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,9 +753,12 @@ def compiler_gate_benchmark_runner(tasks, extraVMarguments=None, prefix='', task
753753
BootstrapTest('BootstrapWithSystemAssertionsRegisterPressure', _bootstrapFlags + _defaultFlags + _assertionFlags + _registerPressureFlags + _graalErrorFlags, tags=GraalTags.bootstrap),
754754
]
755755

756+
_runs_on_github_actions = 'GITHUB_ACTION' in os.environ
757+
756758
def _graal_gate_runner(args, tasks):
757759
compiler_gate_runner(['compiler', 'truffle'], graal_unit_test_runs, graal_bootstrap_tests, tasks, args.extra_vm_argument, args.extra_unittest_argument)
758-
compiler_gate_benchmark_runner(tasks, args.extra_vm_argument, task_report_component='compiler')
760+
if not _runs_on_github_actions:
761+
compiler_gate_benchmark_runner(tasks, args.extra_vm_argument, task_report_component='compiler')
759762

760763
class ShellEscapedStringAction(argparse.Action):
761764
"""Turns a shell-escaped string into a list of arguments.

0 commit comments

Comments
 (0)