File tree Expand file tree Collapse file tree 2 files changed +28
-24
lines changed Expand file tree Collapse file tree 2 files changed +28
-24
lines changed Original file line number Diff line number Diff line change 21
21
- name : Install Dependencies
22
22
run : |
23
23
brew install --force ninja
24
+ git submodule update --init lib/pycparser
25
+
26
+ git submodule update --init -- lib/micropython
27
+ cd lib/micropython && git checkout v1.23.0 && cd ../..
28
+
29
+ git submodule update --init -- lib/lvgl
30
+ cd lib/lvgl && git checkout master && cd ../..
31
+
32
+ git submodule update --init -- lib/SDL
33
+ cd lib/SDL && git checkout release-2.30.2 && cd ../..
24
34
25
35
- name : Cached Deps
26
36
id : cache-deps
@@ -31,19 +41,11 @@ jobs:
31
41
32
42
- name : Get Build Deps
33
43
if : steps.cache-deps.outputs.cache-hit != 'true'
44
+ run : git submodule update --init --recursive -- lib/esp-idf
45
+
46
+
47
+ - name : Setup ESP-IDF
34
48
run : |
35
- git submodule update --init lib/pycparser
36
-
37
- git submodule update --init -- lib/micropython
38
- cd lib/micropython && git checkout v1.23.0 && cd ../..
39
-
40
- git submodule update --init -- lib/lvgl
41
- cd lib/lvgl && git checkout master && cd ../..
42
-
43
- git submodule update --init -- lib/SDL
44
- cd lib/SDL && git checkout release-2.30.2 && cd ../..
45
-
46
- git submodule update --init --recursive -- lib/esp-idf
47
49
export "IDF_PATH=${GITHUB_WORKSPACE}/lib/esp-idf"
48
50
./lib/esp-idf/install.sh all
49
51
. ./lib/esp-idf/export.sh
Original file line number Diff line number Diff line change 23
23
python-version : ' 3.10'
24
24
25
25
- name : Install Deps
26
- run : sudo apt-get update && sudo apt-get install --assume-yes --allow-downgrades --allow-remove-essential --allow-change-held-packages build-essential pkg-config cmake ninja-build libffi-dev gnome-desktop-testing libasound2-dev libpulse-dev libaudio-dev libjack-dev libsndio-dev libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev libxss-dev libxkbcommon-dev libdrm-dev libgbm-dev libgl1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev libdbus-1-dev libibus-1.0-dev libudev-dev fcitx-libs-dev libpipewire-0.3-dev libwayland-dev libdecor-0-dev ccache
27
-
28
- - name : Cached Deps
29
- id : cache-deps
30
- uses : actions/cache@v4
31
- with :
32
- path : lib/esp-idf
33
- key : ${{ runner.os }}-v1-deps
34
-
35
- - name : Get Build Deps
36
- if : steps.cache-deps.outputs.cache-hit != 'true'
37
26
run : |
27
+ sudo apt-get update && sudo apt-get install --assume-yes --allow-downgrades --allow-remove-essential --allow-change-held-packages build-essential pkg-config cmake ninja-build libffi-dev gnome-desktop-testing libasound2-dev libpulse-dev libaudio-dev libjack-dev libsndio-dev libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev libxss-dev libxkbcommon-dev libdrm-dev libgbm-dev libgl1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev libdbus-1-dev libibus-1.0-dev libudev-dev fcitx-libs-dev libpipewire-0.3-dev libwayland-dev libdecor-0-dev ccache
38
28
git submodule update --init lib/pycparser
39
29
40
30
git submodule update --init -- lib/micropython
46
36
git submodule update --init -- lib/SDL
47
37
cd lib/SDL && git checkout release-2.30.2 && cd ../..
48
38
49
- git submodule update --init --recursive -- lib/esp-idf
39
+ - name : Cached Deps
40
+ id : cache-deps
41
+ uses : actions/cache@v4
42
+ with :
43
+ path : lib/esp-idf
44
+ key : ${{ runner.os }}-v1-deps
45
+
46
+ - name : Get Build Deps
47
+ if : steps.cache-deps.outputs.cache-hit != 'true'
48
+ run : git submodule update --init --recursive -- lib/esp-idf
49
+
50
+ - name : Setup ESP-IDF
51
+ run : |
50
52
export "IDF_PATH=${GITHUB_WORKSPACE}/lib/esp-idf"
51
53
./lib/esp-idf/install.sh all
52
54
. ./lib/esp-idf/export.sh
You can’t perform that action at this time.
0 commit comments