Skip to content

Commit 46fa733

Browse files
committed
ci(zephyr): test demo on native_sim
Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
1 parent 69ccc68 commit 46fa733

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/zephyr.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ jobs:
7575
build/zephyr/zephyr.bin
7676
build/zephyr/zephyr.dts
7777
build/zephyr/.config
78+
build/flash.bin
7879
7980
run-zephyr:
8081
name: Run
@@ -89,6 +90,7 @@ jobs:
8990
- native_sim/native/64
9091
app:
9192
- mini
93+
- demo
9294
steps:
9395
- name: Set sane board name
9496
run: |
@@ -100,12 +102,12 @@ jobs:
100102
with:
101103
name: ocre-zephyr-${{ env.BOARD_NAME }}-${{ matrix.app }}
102104

103-
- name: Run ${{ matrix.app }} on ${{ matrix.board }}
105+
- name: Run ${{ matrix.app }} on ${{ matrix.board }}
104106
run: |
105107
EXPECTED_LOG="powered by Ocre"
106108
echo "Running application..."
107-
chmod +x zephyr.exe
108-
stdbuf -oL -eL timeout 20s ./zephyr.exe | tee zephyr_run.log
109+
chmod +x zephyr/zephyr.exe
110+
stdbuf -oL -eL timeout 20s ./zephyr/zephyr.exe | tee zephyr_run.log
109111
echo "===== Checking for expected log ====="
110112
if grep -q "$EXPECTED_LOG" zephyr_run.log; then
111113
echo "[OK] Found expected log: $EXPECTED_LOG"

0 commit comments

Comments
 (0)