fix(examples) fix MicroPython examples and run the examples with CI (#2339)

* Fixes to micropython examples

Added missing images and fonts under 'assets'. Since .bin is in gitignore, renamed fonts to .fnt

* Update build_micropython workflow

Build the unix port dev variant and run tests.

See: https://github.com/lvgl/lv_binding_micropython/issues/151
This commit is contained in:
Amir Gonnen
2021-07-01 15:37:57 +03:00
committed by GitHub
parent 3668e54f06
commit 4114dc30e8
18 changed files with 26 additions and 31 deletions

View File

@@ -33,11 +33,6 @@ jobs:
- name: Build mpy-cross
run: make -j $(nproc) -C mpy-cross
- name: Build the unix port
run: make -j $(nproc) -C ports/unix
- name: Run advanced_demo
run: >
echo "import gc,utime;
utime.sleep(5);
gc.collect();
utime.sleep(5)" |
ports/unix/micropython -i lib/lv_bindings/examples/advanced_demo.py
run: make -j $(nproc) -C ports/unix VARIANT=dev DEBUG=1
- name: Run tests
run: lib/lv_bindings/tests/run.sh