File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 1717 run : source tools/ci.sh && ci_build_packages_check_manifest
1818 - name : Compile package index
1919 run : source tools/ci.sh && ci_build_packages_compile_index
20+ - name : Compile package examples
21+ run : source tools/ci.sh && ci_build_packages_examples
2022 - name : Publish packages for branch
2123 if : vars.MICROPY_PUBLISH_MIP_INDEX && github.event_name == 'push' && ! github.event.deleted
2224 run : source tools/ci.sh && ci_push_package_index
Original file line number Diff line number Diff line change @@ -41,6 +41,12 @@ function ci_build_packages_compile_index {
4141 python3 tools/build.py --micropython /tmp/micropython --output $PACKAGE_INDEX_PATH
4242}
4343
44+ function ci_build_packages_examples {
45+ for example in $( find -path \* example\* .py) ; do
46+ /tmp/micropython/mpy-cross/build/mpy-cross $example
47+ done
48+ }
49+
4450function ci_push_package_index {
4551 set -euo pipefail
4652
You can’t perform that action at this time.
0 commit comments