mirror of
https://github.com/micropython/micropython.git
synced 2025-12-15 17:30:14 +01:00
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>
29 lines
607 B
YAML
29 lines
607 B
YAML
name: .mpy file format and tools
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
paths:
|
|
- '.github/workflows/*.yml'
|
|
- 'examples/**'
|
|
- 'mpy-cross/**'
|
|
- 'py/**'
|
|
- 'tests/**'
|
|
- 'tools/**'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: Install packages
|
|
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
|