Skip to content

Commit 6cdb4fe

Browse files
author
Minh Hai Chu
authored
Update cicd.yml
1 parent 77fa633 commit 6cdb4fe

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/cicd.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,4 +133,24 @@ jobs:
133133
python3 -m mlonmcu.cli.main setup -v --progress -c cmake.use_system=true
134134
135135
echo "Setup completed successfully!"
136+
137+
- name: Run KWS Model Simulation
138+
shell: bash
139+
run: |
140+
source $GITHUB_WORKSPACE/mlonmcu/venv/bin/activate
141+
cd /tmp
142+
echo "Testing mlonmcu import:"
143+
python3 -c "import mlonmcu; print(f'mlonmcu: {mlonmcu.__file__}')"
144+
python3 -c "import mlonmcu.setup.gen_requirements; print('OK')"
145+
python3 $GITHUB_WORKSPACE/run.py kws_1 --print simulate --core_model esp32c3
146+
147+
- name: Upload simulation results
148+
uses: actions/upload-artifact@v4
149+
if: always()
150+
with:
151+
name: simulation-results
152+
path: |
153+
mlonmcu/workspace_kws/temp/sessions/latest/report.csv
154+
mlonmcu/workspace_kws/temp/sessions/latest/*.log
155+
retention-days: 7
136156

0 commit comments

Comments
 (0)