File tree Expand file tree Collapse file tree 1 file changed +19
-17
lines changed Expand file tree Collapse file tree 1 file changed +19
-17
lines changed Original file line number Diff line number Diff line change 5353 sudo apt-get update
5454 sudo apt-get install -y git wget flex bison gperf python3 python3-pip python3-venv cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0
5555
56- # Clone the latest MicroPython release (if not cached)
57- - name : Clone MicroPython latest release
58- id : clone-micropython
59- if : steps.cache_esp_idf.outputs.cache-hit != 'true'
60- run : |
61- echo "Cloning MicroPython release: $MPY_RELEASE"
62- cd ~
63- git clone --depth 1 --branch ${{ env.MPY_RELEASE }} https://github.com/micropython/micropython.git
64- cd micropython
65- git submodule update --init --depth 1
66- cd mpy-cross
67- make
68- cd ~/micropython/ports/esp32
69- make submodules
70- echo "Micropython setup successfully"
71- source ~/micropython/tools/ci.sh && echo "IDF_VER=$IDF_VER" >> $GITHUB_ENV
72-
7356 # Download and set up ESP-IDF (if not cached)
7457 - name : Set up ESP-IDF
7558 id : export-idf
9174 git clone https://github.com/espressif/esp-adf-libs.git
9275 cp -r ~/esp-adf-libs/esp_new_jpeg ~/esp-idf/components/
9376
77+ # Clone the latest MicroPython release (if not cached)
78+ - name : Clone MicroPython latest release
79+ id : clone-micropython
80+ if : steps.cache_esp_idf.outputs.cache-hit != 'true'
81+ run : |
82+ echo "Cloning MicroPython release: $MPY_RELEASE"
83+ cd ~/esp-idf/
84+ source ./export.sh
85+ cd ~
86+ git clone --depth 1 --branch ${{ env.MPY_RELEASE }} https://github.com/micropython/micropython.git
87+ cd micropython
88+ # git submodule update --init --depth 1
89+ cd mpy-cross
90+ make
91+ cd ~/micropython/ports/esp32
92+ make submodules
93+ echo "Micropython setup successfully"
94+ source ~/micropython/tools/ci.sh && echo "IDF_VER=$IDF_VER" >> $GITHUB_ENV
95+
9496 # Dynamically create jobs for each board
9597 build :
9698 needs : setup-environment
You can’t perform that action at this time.
0 commit comments