File tree Expand file tree Collapse file tree 3 files changed +36
-0
lines changed Expand file tree Collapse file tree 3 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Benchmark (new)
2
+
3
+ on : [push, pull_request_target, workflow_dispatch]
4
+
5
+ jobs :
6
+ benchmark-new :
7
+ name : Performance regression check (new)
8
+ if : contains(toJSON(github.event.head_commit.message), 'Merge pull request ') == false
9
+ runs-on : ubuntu-22.04
10
+ steps :
11
+ - uses : actions/checkout@v4
12
+ - name : install-dependencies
13
+ run : |
14
+ sudo pip3 install numpy
15
+ shell : bash
16
+ - name : default build
17
+ run : make ENABLE_SDL=0
18
+ - name : Run benchmark
19
+ run : |
20
+ tests/bench-aggregator.py
21
+ - name : Store benchmark results
22
+ uses : benchmark-action/github-action-benchmark@v1
23
+ with :
24
+ name : Benchmarks
25
+ tool : ' customBiggerIsBetter'
26
+ output-file-path : benchmark_output.json
27
+ github-token : ${{ secrets.RV32EMU_BENCH_TOKEN }}
28
+ gh-repository : ' github.com/sysprog21/rv32emu-bench'
29
+ gh-pages-branch : ' master'
30
+ auto-push : true
31
+ comment-always : true
32
+ benchmark-data-dir-path : .
Original file line number Diff line number Diff line change 25
25
run : |
26
26
sudo pip3 install numpy
27
27
shell : bash
28
+ - name : default build
29
+ if : ${{ steps.changed-files.outputs.any_changed == 'true' ||
30
+ github.event_name == 'workflow_dispatch'}}
31
+ run : make
28
32
- name : Run benchmark
29
33
if : ${{ steps.changed-files.outputs.any_changed == 'true' ||
30
34
github.event_name == 'workflow_dispatch'}}
You can’t perform that action at this time.
0 commit comments