Skip to content

Commit d52f596

Browse files
committed
[ot] .github: add ibexdemo smoketest
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
1 parent 30b833a commit d52f596

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build_test.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
strip build-clang/qemu-system-riscv32
3737
- name: Create minimal test binaries
3838
run: |
39+
scripts/opentitan/swexit.py -t ibexdemo -o build-clang/exit_id.bin
3940
scripts/opentitan/swexit.py -t earlgrey -o build-clang/exit_eg.bin
4041
scripts/opentitan/swexit.py -t darjeeling -o build-clang/exit_dj.bin
4142
- name: Upload QEMU binary artifacts
@@ -118,8 +119,13 @@ jobs:
118119
- name: Check machine availability
119120
run: |
120121
chmod +x ./qemu-system-riscv32 &&
122+
./qemu-system-riscv32 -M help | grep ibexdemo &&
121123
./qemu-system-riscv32 -M help | grep ot-earlgrey &&
122124
./qemu-system-riscv32 -M help | grep ot-darjeeling
125+
- name: Check IbexDemo VM execution
126+
run: |
127+
timeout -s KILL 4 ./qemu-system-riscv32 -M ibexdemo -nographic \
128+
-device loader,addr=0x100080,file=exit_id.bin -d in_asm,int
123129
- name: Check EarlGrey VM execution
124130
run: |
125131
timeout -s KILL 4 ./qemu-system-riscv32 -M ot-earlgrey,no_epmp_cfg=true -nographic \

0 commit comments

Comments
 (0)