Skip to content

Commit 87f7a12

Browse files
willieyzmkannwischer
authored andcommitted
Port: CI test benchmarking binary for M55-AN547 using qemu
The cycle counts will be zero, but it still tests the PMU code builds. Signed-off-by: willieyz <[email protected]>
1 parent 41f5863 commit 87f7a12

File tree

1 file changed

+24
-5
lines changed

1 file changed

+24
-5
lines changed

.github/workflows/baremetal.yml

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ jobs:
1919
name: 'M55-AN547'
2020
makefile: test/baremetal/platform/m55-an547/platform.mk
2121
nix-shell: arm-embedded
22+
func: true
23+
kat: true
24+
acvp: true
25+
alloc: true
26+
bench: true
27+
opt: no_opt
2228
runs-on: ${{ matrix.target.runner }}
2329
steps:
2430
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
@@ -29,11 +35,24 @@ jobs:
2935
with:
3036
nix-shell: ${{ matrix.target.nix-shell }}
3137
gh_token: ${{ secrets.GITHUB_TOKEN }}
32-
opt: no_opt
33-
func: true
34-
kat: true
35-
acvp: true
38+
opt: ${{ matrix.target.opt }}
39+
func: ${{ matrix.target.func }}
40+
kat: ${{ matrix.target.kat }}
41+
acvp: ${{ matrix.target.acvp }}
3642
examples: false
3743
stack: false
38-
alloc: true
44+
alloc: ${{ matrix.target.alloc }}
3945
rng_fail: true
46+
- name: Baremetal bench
47+
if: ${{ matrix.target.bench }}
48+
uses: ./.github/actions/bench
49+
env:
50+
EXTRA_MAKEFILE: ${{ matrix.target.makefile }}
51+
with:
52+
name: ${{ matrix.target.name }}
53+
nix-shell: ${{ matrix.target.nix-shell }}
54+
gh_token: ${{ secrets.GITHUB_TOKEN }}
55+
perf: PMU
56+
opt: false
57+
store_results: false
58+

0 commit comments

Comments
 (0)