• Damien George's avatar
    github/workflows: Add CI to run tests against zephyr with qemu. · c8838b50
    Damien George authored
    With this change, the zephyr port is tested against the standard test suite
    via the following scheme:
    - the zephyr port is built with the `qemu_cortex_m3` board and the
      `prj_minimal.conf` configuration
    - `qemu-system-arm` runs `zephyr.elf`
    - the zephyr console is redirected to a pts/pty
    - `tests/run-tests.py` is run in bare-metal mode against the pts/pty device
    
    This allows testing the zephyr port as though it were a physical board
    attached over a serial port.
    Signed-off-by: default avatarDamien George <damien@micropython.org>
    c8838b50
ci.sh 26.5 KB