File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -46,10 +46,27 @@ jobs:
4646 run : Add-Content -Path $env:GITHUB_PATH -Value "${{ github.workspace }}\\target\\ffmpeg\\bin"
4747
4848 - name : Run performance suite
49+ id : performance_suite
50+ continue-on-error : true
4951 run : cargo run --release -p cap-test -- suite performance --recording-path performance-fixtures/reference-recording.cap --duration 8 --output performance-results.json --gate
5052
5153 - name : Upload results
54+ if : always()
5255 uses : actions/upload-artifact@v4
5356 with :
5457 name : performance-results-${{ matrix.runner }}
5558 path : performance-results.json
59+
60+ - name : Print results
61+ if : always()
62+ shell : bash
63+ run : |
64+ if [ -f performance-results.json ]; then
65+ cat performance-results.json
66+ else
67+ echo "performance-results.json not found"
68+ fi
69+
70+ - name : Enforce suite gate
71+ if : always() && steps.performance_suite.outcome != 'success'
72+ run : exit 1
You can’t perform that action at this time.
0 commit comments