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 53
53
sudo apt-get update
54
54
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
55
55
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
-
73
56
# Download and set up ESP-IDF (if not cached)
74
57
- name : Set up ESP-IDF
75
58
id : export-idf
91
74
git clone https://github.com/espressif/esp-adf-libs.git
92
75
cp -r ~/esp-adf-libs/esp_new_jpeg ~/esp-idf/components/
93
76
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
+
94
96
# Dynamically create jobs for each board
95
97
build :
96
98
needs : setup-environment
You can’t perform that action at this time.
0 commit comments