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 17
17
run : source tools/ci.sh && ci_build_packages_check_manifest
18
18
- name : Compile package index
19
19
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
20
22
- name : Publish packages for branch
21
23
if : vars.MICROPY_PUBLISH_MIP_INDEX && github.event_name == 'push' && ! github.event.deleted
22
24
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 {
41
41
python3 tools/build.py --micropython /tmp/micropython --output $PACKAGE_INDEX_PATH
42
42
}
43
43
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
+
44
50
function ci_push_package_index {
45
51
set -euo pipefail
46
52
You can’t perform that action at this time.
0 commit comments