Skip to content

Commit 74e2024

Browse files
committed
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: Matthias J. Kannwischer <matthias@kannwischer.eu>
1 parent d42381b commit 74e2024

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/baremetal.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
kat: true
2525
acvp: true
2626
alloc: true
27+
bench: true
2728
- runner: ubuntu-latest
2829
name: 'AVR ATmega128RFR2 (modified for 32K RAM)'
2930
makefile: test/baremetal/platform/avr/platform.mk
@@ -32,6 +33,7 @@ jobs:
3233
kat: true
3334
acvp: true
3435
alloc: false
36+
bench: false
3537
runs-on: ${{ matrix.target.runner }}
3638
steps:
3739
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
@@ -49,3 +51,11 @@ jobs:
4951
examples: false
5052
stack: false
5153
alloc: ${{ matrix.target.alloc }}
54+
- name: Baremetal bench
55+
if: ${{ matrix.target.bench }}
56+
shell: ${{ env.SHELL }}
57+
env:
58+
EXTRA_MAKEFILE: ${{ matrix.target.makefile }}
59+
run: |
60+
make clean
61+
./scripts/tests bench --opt=NO_OPT

0 commit comments

Comments
 (0)