github/workflows: Test mpy-cross debug emitter.

This commit adds a new workflow step to the CI, to test the debug
emitter provided by mpy-cross.  The checks being done are limited to
make sure that the debug emitter does not crash and emits opcodes for a
simple test file that is guaranteed to work for all configurations.

Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
This commit is contained in:
Alessandro Gatti
2025-11-05 21:58:51 +01:00
committed by Damien George
parent 65f994e26a
commit 6b661ca3f6
2 changed files with 13 additions and 0 deletions

View File

@@ -6,6 +6,8 @@ on:
paths:
- '.github/workflows/*.yml'
- 'examples/**'
- 'mpy-cross/**'
- 'py/**'
- 'tests/**'
- 'tools/**'
@@ -22,3 +24,5 @@ jobs:
run: tools/ci.sh mpy_format_setup
- name: Test mpy-tool.py
run: tools/ci.sh mpy_format_test
- name: Test mpy-cross debug emitter
run: tools/ci.sh mpy_cross_debug_emitter