File tree Expand file tree Collapse file tree 1 file changed +21
-7
lines changed Expand file tree Collapse file tree 1 file changed +21
-7
lines changed Original file line number Diff line number Diff line change @@ -3,22 +3,36 @@ name: Forge benchmarks
33on :
44 workflow_dispatch :
55 inputs :
6- solx-version :
7- description : ' Prebuilt `solx` version to use. For example: `0.1.0` without `v` prefix. If empty, `solx` will be built .'
6+ solx_candidate_branch :
7+ description : ' Solidity candidate branch to use. If empty, the current branch will be used .'
88 required : false
99 default : ' '
10- llvm-ref :
11- description : ' LLVM reference branch to use. If empty, the current branch will be used.'
10+ solx_reference_branch :
11+ description : ' Solidity reference branch to use. If empty, the current branch will be used.'
12+ required : false
13+ default : ' '
14+ compiler_llvm_candidate_branch :
15+ description : ' LLVM candidate branch to use. If empty, the current branch will be used.'
1216 required : false
1317 default : ' '
1418 pull_request :
1519
20+ permissions :
21+ contents : read
22+ pull-requests : write
23+
24+ concurrency :
25+ group : ${{ github.repository_id }}-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
26+ cancel-in-progress : true
27+
1628jobs :
1729 forge-benchmarks :
1830 uses : matter-labs/era-compiler-ci/.github/workflows/forge-benchmarks.yaml@v1
1931 secrets : inherit
2032 with :
21- solx-version : ${{ inputs.solx-version || '' }}
22- upload-reports : ${{ github.event_name == 'pull_request' }}
2333 print-markdown-tables : ' false' # do not print markdown tables to PRs
24- llvm-ref : ${{ inputs.llvm-ref || github.ref }}
34+ upload-reports : ${{ github.event_name == 'pull_request' }}
35+ solx_candidate_branch : ${{ inputs.solx_candidate_branch || 'main' }}
36+ solx_reference_branch : ${{ inputs.solx_reference_branch || 'main' }}
37+ compiler_llvm_candidate_branch : ${{ inputs.compiler_llvm_candidate_branch || github.head_ref }}
38+ compiler-llvm-repo : ${{ github.event.pull_request.head.repo.full_name || 'matter-labs/era-compiler-llvm' }} # required to properly test forks
You can’t perform that action at this time.
0 commit comments