File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed
Expand file tree Collapse file tree 1 file changed +13
-13
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+ # Download and set up ESP-IDF (if not cached)
57+ - name : Set up ESP-IDF
58+ id : export-idf
59+ if : steps.cache_esp_idf.outputs.cache-hit != 'true'
60+ run : |
61+ cd ~
62+ # git clone --depth 1 --branch v5.5.1 https://github.com/espressif/esp-idf.git
63+ git clone --depth 1 --branch ${{ env.IDF_VER }} https://github.com/espressif/esp-idf.git
64+ git -C esp-idf submodule update --init --recursive --filter=tree:0
65+ cd esp-idf
66+ ./install.sh all
67+ source ./export.sh
68+
5669 # Clone the latest MicroPython release (if not cached)
5770 - name : Clone MicroPython latest release
5871 id : clone-micropython
7285 echo "Micropython setup successfully"
7386 source ~/micropython/tools/ci.sh && echo "IDF_VER=$IDF_VER" >> $GITHUB_ENV
7487
75- # Download and set up ESP-IDF (if not cached)
76- - name : Set up ESP-IDF
77- id : export-idf
78- if : steps.cache_esp_idf.outputs.cache-hit != 'true'
79- run : |
80- cd ~
81- # git clone --depth 1 --branch v5.5.1 https://github.com/espressif/esp-idf.git
82- git clone --depth 1 --branch ${{ env.IDF_VER }} https://github.com/espressif/esp-idf.git
83- git -C esp-idf submodule update --init --recursive --filter=tree:0
84- cd esp-idf
85- ./install.sh all
86- source ./export.sh
87-
8888 # Dynamically create jobs for each board
8989 build :
9090 needs : setup-environment
You can’t perform that action at this time.
0 commit comments