Skip to content

Commit e5360ec

Browse files
committed
caches files
1 parent b0af6c1 commit e5360ec

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

.github/workflows/macOS.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,16 @@ jobs:
1919
with:
2020
python-version: '3.10'
2121

22+
- name: Cache libs
23+
uses: actions/cache@v4
24+
with:
25+
path: |
26+
lib/micropython
27+
lib/esp-idf
28+
lib/pycparser
29+
lib/SDL
30+
key: ${{ runner.os }}-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/lockfiles') }}
31+
2232
- name: Install Dependencies
2333
run: brew install --force gcc libffi cmake ninja make
2434

.github/workflows/unix.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,16 @@ jobs:
2020
with:
2121
python-version: '3.10'
2222

23+
- name: Cache libs
24+
uses: actions/cache@v4
25+
with:
26+
path: |
27+
lib/micropython
28+
lib/esp-idf
29+
lib/pycparser
30+
lib/SDL
31+
key: ${{ runner.os }}-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/lockfiles') }}
32+
2333
- name: Install Deps
2434
run: sudo apt-get install --force-yes -y 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
2535

.github/workflows/windows.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,16 @@ jobs:
2525
winget install --accept-source-agreements --accept-package-agreements ezwinports.make
2626
python3 -m pip install pyMSVC requests
2727
28+
- name: Cache libs
29+
uses: actions/cache@v4
30+
with:
31+
path: |
32+
lib/micropython
33+
lib/esp-idf
34+
lib/pycparser
35+
lib/SDL
36+
key: ${{ runner.os }}-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/lockfiles') }}
37+
2838
- name: Build ESP32 port
2939
run: python3 make.py esp32 submodules clean mpy_cross BOARD=ESP32_GENERIC_S3 BOARD_VARIANT=SPIRAM_OCT DISPLAY=rgb_display INDEV=gt911
3040

0 commit comments

Comments
 (0)