Skip to content

Commit b135046

Browse files
committed
Change CI test to use Model API of dtype selective build
1 parent 5797608 commit b135046

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/trunk.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ jobs:
105105
cd $ARM_FVP_TUTORIALS_ROOT/models/${MODEL_NAME}/
106106
107107
# Build the zephyr elf
108-
west build -p always -b mps3/corstone300/fvp
108+
west build -p always -b mps3/corstone300/fvp -- \
109+
-DET_PTE_FILE_PATH_FOR_SELECTIVE_BUILD=$ZEPHYR_PROJ_ROOT/modules/lib/executorch/${MODEL_NAME}.pte
109110
110111
# Run the simulation
111112
FVP_Corstone_SSE-300_Ethos-U55 -a build/zephyr/zephyr.elf \
@@ -117,15 +118,15 @@ jobs:
117118
--simlimit 120
118119
119120
# Report failure if any of the ouptut verification checks fail
120-
grep -qF "ERROR" sim.out
121+
grep -F "ERROR" sim.out
121122
exit_status=$? #store 0 if found (failure), 1 if not (success)
122123
if [[ "$exit_status" -eq "0" ]]; then
123124
cat sim.out
124125
exit 1
125126
fi
126127
127128
# Report fail if simulation does not complete successfully
128-
grep -qF "SUCCESS: Program complete, exiting." sim.out
129+
grep -F "SUCCESS: Program complete, exiting." sim.out
129130
exit_status=$? #store 0 if found (success), 1 if not (failure)
130131
if [[ "$exit_status" -eq "1" ]]; then
131132
cat sim.out

0 commit comments

Comments
 (0)