File tree Expand file tree Collapse file tree 1 file changed +64
-0
lines changed
Expand file tree Collapse file tree 1 file changed +64
-0
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments