Skip to content

Commit 3b7fdf5

Browse files
committed
the Github Action is executing the wrong workflow file version
1 parent 0da80e1 commit 3b7fdf5

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed

.github/workflows/benchmark-new.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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: .

.github/workflows/benchmark.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ jobs:
2525
run: |
2626
sudo pip3 install numpy
2727
shell: bash
28+
- name: default build
29+
if: ${{ steps.changed-files.outputs.any_changed == 'true' ||
30+
github.event_name == 'workflow_dispatch'}}
31+
run: make
2832
- name: Run benchmark
2933
if: ${{ steps.changed-files.outputs.any_changed == 'true' ||
3034
github.event_name == 'workflow_dispatch'}}

build/rv32emu

-133 KB
Binary file not shown.

0 commit comments

Comments
 (0)