Skip to content

Commit 19e9d51

Browse files
Create main.yml
1 parent abd9491 commit 19e9d51

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed

.github/workflows/main.yml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: Build LVGL MicroPython on Push to add-submodules
2+
3+
on:
4+
push:
5+
branches:
6+
- add-submodules
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest # Ubuntu is Debian-based and commonly used in GitHub Actions
11+
12+
steps:
13+
- name: Checkout repository with submodules
14+
uses: actions/checkout@v4
15+
with:
16+
submodules: recursive
17+
18+
- name: Install dependencies
19+
run: |
20+
sudo apt-get update
21+
sudo apt-get install -y \
22+
build-essential \
23+
libffi-dev \
24+
pkg-config \
25+
cmake \
26+
ninja-build \
27+
gnome-desktop-testing \
28+
libasound2-dev \
29+
libpulse-dev \
30+
libaudio-dev \
31+
libjack-dev \
32+
libsndio-dev \
33+
libx11-dev \
34+
libxext-dev \
35+
libxrandr-dev \
36+
libxcursor-dev \
37+
libxfixes-dev \
38+
libxi-dev \
39+
libxss-dev \
40+
libxkbcommon-dev \
41+
libdrm-dev \
42+
libgbm-dev \
43+
libgl1-mesa-dev \
44+
libgles2-mesa-dev \
45+
libegl1-mesa-dev \
46+
libdbus-1-dev \
47+
libibus-1.0-dev \
48+
libudev-dev \
49+
fcitx-libs-dev \
50+
libpipewire-0.3-dev \
51+
libwayland-dev \
52+
libdecor-0-dev \
53+
git
54+
55+
- name: Build LVGL MicroPython
56+
run: |
57+
./scripts/build_lvgl_micropython.sh unix dev
58+
59+
- name: Upload built binary as artifact
60+
uses: actions/upload-artifact@v4
61+
with:
62+
name: lvgl_micropy_unix
63+
path: lvgl_micropython/build/lvgl_micropy_unix
64+
retention-days: 7 # Adjust as needed; artifacts can be downloaded from the workflow run summary

0 commit comments

Comments
 (0)