Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit19d449f

Browse files
Build more artifacts
1 parent57ca426 commit19d449f

File tree

2 files changed

+26
-12
lines changed

2 files changed

+26
-12
lines changed

‎.github/workflows/main.yml‎

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,6 @@ jobs:
1515
with:
1616
submodules:recursive
1717

18-
-name:Fetch tags for lib/SDL
19-
run:|
20-
# Unshallow a specific submodule (fetches full history)
21-
cd lvgl_micropython/lib/SDL
22-
git fetch --unshallow origin
23-
# Or fetch all refs without unshallowing (keeps it shallow but adds refs)
24-
git fetch origin 'refs/*:refs/*'
25-
cd ../../..
26-
2718
-name:Install dependencies
2819
run:|
2920
sudo apt-get update
@@ -61,7 +52,7 @@ jobs:
6152
libdecor-0-dev \
6253
git
6354
64-
-name:Build LVGL MicroPython
55+
-name:Build LVGL MicroPython for unix dev
6556
run:|
6657
./scripts/build_lvgl_micropython.sh unix dev
6758
@@ -71,3 +62,26 @@ jobs:
7162
name:lvgl_micropy_unix
7263
path:lvgl_micropython/build/lvgl_micropy_unix
7364
retention-days:7# Adjust as needed; artifacts can be downloaded from the workflow run summary
65+
66+
-name:Build LVGL MicroPython esp32 prod fri3d-2024
67+
run:|
68+
./scripts/build_lvgl_micropython.sh esp32 prod fri3d-2024
69+
70+
-name:Upload built binary as artifact
71+
uses:actions/upload-artifact@v4
72+
with:
73+
name:MicroPythonOS_fri3d-2024_prod
74+
path:lvgl_micropython/build/lvgl_micropy_ESP32_GENERIC_S3-SPIRAM_OCT-16.bin
75+
retention-days:7# Adjust as needed; artifacts can be downloaded from the workflow run summary
76+
77+
78+
-name:Build LVGL MicroPython esp32 prod fri3d-2024
79+
run:|
80+
./scripts/build_lvgl_micropython.sh esp32 dev fri3d-2024
81+
82+
-name:Upload built binary as artifact
83+
uses:actions/upload-artifact@v4
84+
with:
85+
name:MicroPythonOS_fri3d-2024_dev
86+
path:lvgl_micropython/build/lvgl_micropy_ESP32_GENERIC_S3-SPIRAM_OCT-16.bin
87+
retention-days:7# Adjust as needed; artifacts can be downloaded from the workflow run summary

‎scripts/build_lvgl_micropython.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ popd
3434

3535
echo"Check need to add esp32-camera..."
3636
idfile="$codebasedir"/lvgl_micropython/lib/micropython/ports/esp32/main/idf_component.yml
37-
ifgrep -v esp32-camera"$idfile";then
37+
if! grep esp32-camera"$idfile";then
3838
echo"Adding esp32-camera to$idfile"
3939
echo" espressif/esp32-camera:
4040
git: https://github.com/MicroPythonOS/esp32-camera">>"$idfile"
@@ -44,7 +44,7 @@ fi
4444

4545
echo"Check need to add asyncio..."
4646
manifile="$codebasedir"/lib/micropython/ports/unix/variants/manifest.py
47-
ifgrep -v asyncio"$manifile";then
47+
if! grep asyncio"$manifile";then
4848
echo"Adding asyncio to$manifile"
4949
echo'include("$(MPY_DIR)/extmod/asyncio") # needed to have asyncio, which is used by aiohttp, which has used by websockets'>>"$manifile"
5050
else

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp