File tree Expand file tree Collapse file tree 1 file changed +3
-32
lines changed Expand file tree Collapse file tree 1 file changed +3
-32
lines changed Original file line number Diff line number Diff line change @@ -44,39 +44,10 @@ jobs:
4444 with :
4545 python-version : 3.10.16
4646
47- - name : Prepare to Build Tensorflow Micropython Firmware for ESP32
47+ - name : Build and check firmware
4848 run : |
49- git submodule init
50- git submodule update --recursive
51- cd third_party/micropython
52- git submodule update --init lib/axtls
53- git submodule update --init lib/berkeley-db-1.xx
54- cd ports/esp32
55- make BOARD= submodules
56- cd ../../../
57-
58- - name : Setup IDF
59- run : |
60- source ./third_party/micropython/tools/ci.sh && ci_esp32_idf_setup
61-
62- - name : Setup Build for Tensorflow
63- run : |
64- source ./esp-idf/export.sh
65- pip3 install Pillow numpy Wave
66-
67- - name : Build micropython cross compiler
68- run : |
69- source ./esp-idf/export.sh
70- cd ./third_party/micropython
71- make -C mpy-cross V=1 clean all
72-
73- - name : Build Firmware
74- run : |
75- source ./esp-idf/export.sh
76- cd ./boards/${{ matrix.board_type }}
77- rm -rf build
78- idf.py clean build
79- chmod +x ../../scripts/assemble-unified-image-esp.sh
49+ chmod +x ./scripts/build_and_check.sh
50+ ./scripts/build_and_check.sh ${{ matrix.board_type }}
8051
8152 - name : Archive Firmware
8253 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments