File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed
Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change 11name : ' Benchmark Frontier Releases'
22
3+ concurrency :
4+ group : bench-frontier
5+ cancel-in-progress : false
6+
37on :
8+ push :
9+ pull_request :
410 workflow_dispatch :
511 inputs :
612 tag :
713 description : ' tag to Benchmark'
814 required : true
915 default : ' v5.1.3'
10-
16+
1117jobs :
1218 self :
1319 name : " ${{ matrix.name }} (${{ matrix.device }}${{ matrix.interface != 'none' && format('-{0}', matrix.interface) || '' }})"
3844 env :
3945 ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION : node16
4046 ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION : true
47+ BENCH_TAG : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.tag != '' ? github.event.inputs.tag: 'v5.1.3' }}
4148 steps :
4249 - name : Clone - PR
4350 uses : actions/checkout@v4
4855 uses : actions/checkout@v4
4956 with :
5057 repository : MFlowCode/MFC
51- ref : ${{ github.event.inputs.tag }}
58+ ref : ${{ env.BENCH_TAG }}
5259 path : master
5360
5461 - name : Checkout PR repo
@@ -114,15 +121,13 @@ jobs:
114121 endif()
115122 endif()
116123 EOF
117- docker buildx create --name mfcbuilder --driver docker-container --use
118124
119125 - name : Setup & Build
120- if : matrix.build_script != ''
121- run : |
126+ run : |
122127 (cd master && ${{ matrix.build_script }}) &
123128 wait %1
124129
125- - name : Bench (Master v. PR )
130+ - name : Bench (Master)
126131 run : bash master/.github/scripts/run_parallel_benchmarks.sh ${{ matrix.device }} ${{ matrix.cluster }}
127132
128133 - name : Print Logs
You can’t perform that action at this time.
0 commit comments