Skip to content

Commit c8375df

Browse files
antonbaliasnikovhedgar2017
authored andcommitted
ci: add proper forge benchmarks for ToT using LLVM PR target branch
1 parent 50f670e commit c8375df

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/forge-benchmarks.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ on:
1515
description: 'LLVM candidate branch to use. If empty, the current branch will be used.'
1616
required: false
1717
default: ''
18+
compiler_llvm_reference_branch:
19+
description: 'LLVM reference branch to use. If empty, the default repository branch will be used.'
20+
required: false
21+
default: 'main'
1822
pull_request:
1923

2024
permissions:
@@ -35,4 +39,5 @@ jobs:
3539
solx_candidate_branch: ${{ inputs.solx_candidate_branch || 'main' }}
3640
solx_reference_branch: ${{ inputs.solx_reference_branch || 'main' }}
3741
compiler_llvm_candidate_branch: ${{ inputs.compiler_llvm_candidate_branch || github.head_ref }}
42+
compiler_llvm_reference_branch: ${{ inputs.compiler_llvm_reference_branch || github.base_ref || github.event.repository.default_branch }}
3843
compiler-llvm-repo: ${{ github.event.pull_request.head.repo.full_name || 'matter-labs/era-compiler-llvm' }} # required to properly test forks

0 commit comments

Comments
 (0)