Skip to content

Commit 15058da

Browse files
committed
working on being able to share the SPI Bus
1 parent 3b2cd8a commit 15058da

File tree

1 file changed

+28
-2
lines changed

1 file changed

+28
-2
lines changed

.github/workflows/macOS.yml

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,31 @@ jobs:
2323
run: |
2424
brew install --force ninja
2525
26-
- name: Build macOS port
27-
run: python3 make.py macOS submodules clean mpy_cross DISPLAY=sdl_display INDEV=sdl_pointer
26+
- name: Cached Deps
27+
id: cache-deps
28+
uses: actions/cache@v4
29+
with:
30+
path: lib/
31+
key: ${{ runner.os }}-deps
32+
33+
- name: Get Build Deps
34+
if: steps.cache-deps.outputs.cache-hit != 'true'
35+
run: |
36+
git submodule update --init lib/pycparser
37+
38+
git submodule update --init -- lib/micropython
39+
cd lib/micropython && git checkout v1.23.0 && cd ../..
40+
41+
git submodule update --init -- lib/lvgl
42+
cd lib/lvgl && git checkout master && cd ../..
43+
44+
git submodule update --init -- lib/SDL
45+
cd lib/SDL && git checkout release-2.30.2 && cd ../..
46+
47+
git submodule update --init --recursive -- lib/esp-idf
48+
export "IDF_PATH=${GITHUB_WORKSPACE}/lib/esp-idf"
49+
./lib/esp-idf/install.sh all
50+
. ./lib/esp-idf/export.sh
2851
2952
- name: Build ESP32 port
3053
run: python3 make.py esp32 submodules clean mpy_cross BOARD=ESP32_GENERIC_S3 BOARD_VARIANT=SPIRAM_OCT DISPLAY=rgb_display INDEV=gt911
@@ -35,4 +58,7 @@ jobs:
3558
- name: Build Raspberry Pi PICO port
3659
run: python3 make.py rp2 submodules clean mpy_cross BOARD=RPI_PICO DISPLAY=rgb_display INDEV=gt911
3760

61+
- name: Build macOS port
62+
run: python3 make.py macOS submodules clean mpy_cross DISPLAY=sdl_display INDEV=sdl_pointer
63+
3864

0 commit comments

Comments
 (0)