Skip to content

Commit 0697c0d

Browse files
committed
macos
1 parent 0f16bdf commit 0697c0d

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/macOS.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
6868
- name: Build ESP32 port
6969
run: python3 make.py esp32 BOARD=ESP32_GENERIC_S3 BOARD_VARIANT=SPIRAM_OCT DISPLAY=rgb_display INDEV=gt911
70-
70+
7171

7272
- uses: actions/upload-artifact@v4
7373
with:

builder/macOS.py

+7-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,13 @@ def build_sdl(addl_commands):
5050

5151

5252
def submodules():
53-
pass
53+
berkeley_db = os.path.abspath('lib/micropython/lib/berkeley-db-1.xx/README')
54+
55+
if not os.path.exists(berkeley_db):
56+
return_code, _ = unix.spawn(unix.submodules_cmd)
57+
58+
if return_code != 0:
59+
sys.exit(return_code)
5460

5561

5662
def compile(*args): # NOQA

0 commit comments

Comments
 (0)