File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Expand file tree Collapse file tree 2 files changed +34
-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
+ sudo apt install libsdl2-dev libsdl2-mixer-dev
16
+ shell : bash
17
+ - name : default build
18
+ run : make
19
+ - name : Run benchmark
20
+ run : |
21
+ tests/bench-aggregator.py
22
+ - name : Store benchmark results
23
+ uses : benchmark-action/github-action-benchmark@v1
24
+ with :
25
+ name : Benchmarks
26
+ tool : ' customBiggerIsBetter'
27
+ output-file-path : benchmark_output.json
28
+ github-token : ${{ secrets.RV32EMU_BENCH_TOKEN }}
29
+ gh-repository : ' github.com/sysprog21/rv32emu-bench'
30
+ gh-pages-branch : ' master'
31
+ auto-push : true
32
+ comment-always : true
33
+ benchmark-data-dir-path : .
Original file line number Diff line number Diff line change 24
24
github.event_name == 'workflow_dispatch'}}
25
25
run : |
26
26
sudo pip3 install numpy
27
+ sudo apt install libsdl2-dev libsdl2-mixer-dev
27
28
shell : bash
28
29
- name : default build
29
30
if : ${{ steps.changed-files.outputs.any_changed == 'true' ||
You can’t perform that action at this time.
0 commit comments