Skip to content

Commit df629ea

Browse files
.github: add macOS build
1 parent cf67068 commit df629ea

File tree

2 files changed

+43
-1
lines changed

2 files changed

+43
-1
lines changed

.github/workflows/macos.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Build LVGL MicroPython for MacOS
2+
3+
on:
4+
push:
5+
branches:
6+
- add-submodules
7+
pull_request:
8+
branches: [add-submodules]
9+
workflow_dispatch:
10+
11+
jobs:
12+
build:
13+
runs-on: macos-14
14+
15+
steps:
16+
- name: Checkout repository with submodules
17+
uses: actions/checkout@v4
18+
with:
19+
submodules: recursive
20+
21+
- name: Install dependencies via Homebrew
22+
run: |
23+
xcode-select --install
24+
brew install pkg-config libffi ninja make SDL2
25+
26+
- name: Install additional MicroPythonOS dependencies
27+
run: |
28+
sudo apt-get update
29+
sudo apt-get install -y libv4l-dev
30+
31+
- name: Build LVGL MicroPython for unix dev
32+
run: |
33+
./scripts/build_lvgl_micropython.sh macOS dev
34+
35+
- name: Upload built binary as artifact
36+
uses: actions/upload-artifact@v4
37+
with:
38+
name: lvgl_micropy_macOS
39+
path: lvgl_micropython/build/lvgl_micropy_macOS
40+
retention-days: 7 # Adjust as needed; artifacts can be downloaded from the workflow run summary
41+
42+

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
fcitx-libs-dev \
5050
libpipewire-0.3-dev \
5151
libwayland-dev \
52-
libdecor-0-dev \
52+
libdecor-0-dev
5353
5454
- name: Install additional MicroPythonOS dependencies
5555
run: |

0 commit comments

Comments
 (0)