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
3
3
on :
4
4
workflow_dispatch :
5
5
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 .'
8
8
required : false
9
9
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.'
12
16
required : false
13
17
default : ' '
14
18
pull_request :
15
19
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
+
16
28
jobs :
17
29
forge-benchmarks :
18
30
uses : matter-labs/era-compiler-ci/.github/workflows/forge-benchmarks.yaml@v1
19
31
secrets : inherit
20
32
with :
21
- solx-version : ${{ inputs.solx-version || '' }}
22
- upload-reports : ${{ github.event_name == 'pull_request' }}
23
33
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