Skip to content

Commit 1ecb93d

Browse files
committed
clears cached deps
1 parent 00e0fe2 commit 1ecb93d

File tree

2 files changed

+28
-24
lines changed

2 files changed

+28
-24
lines changed

.github/workflows/macOS.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@ jobs:
2121
- name: Install Dependencies
2222
run: |
2323
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 ../..
2434
2535
- name: Cached Deps
2636
id: cache-deps
@@ -31,19 +41,11 @@ jobs:
3141

3242
- name: Get Build Deps
3343
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
3448
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
4749
export "IDF_PATH=${GITHUB_WORKSPACE}/lib/esp-idf"
4850
./lib/esp-idf/install.sh all
4951
. ./lib/esp-idf/export.sh

.github/workflows/unix.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,8 @@ jobs:
2323
python-version: '3.10'
2424

2525
- 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'
3726
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
3828
git submodule update --init lib/pycparser
3929
4030
git submodule update --init -- lib/micropython
@@ -46,7 +36,19 @@ jobs:
4636
git submodule update --init -- lib/SDL
4737
cd lib/SDL && git checkout release-2.30.2 && cd ../..
4838
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: |
5052
export "IDF_PATH=${GITHUB_WORKSPACE}/lib/esp-idf"
5153
./lib/esp-idf/install.sh all
5254
. ./lib/esp-idf/export.sh

0 commit comments

Comments
 (0)