Skip to content

Commit 06572d2

Browse files
committed
updates unix ci build to add artifact output
1 parent c1b0351 commit 06572d2

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/unix.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,15 @@ jobs:
6161
run: python3 make.py rp2 submodules clean mpy_cross BOARD=RPI_PICO DISPLAY=rgb_display INDEV=gt911
6262

6363
- name: Build Unix port
64+
id: unix_port
65+
- uses: Kaven-Universe/github-action-current-date-time@v1
66+
with:
67+
format: "YYYY_MM_DD HH_mm_ss_SSS"
68+
69+
- uses: actions/upload-artifact@v4
70+
with:
71+
name: lvgl_micropy_unix-${{ steps.unix_port.outputs.month }}.${{ steps.unix_port.outputs.day }}.${{ steps.unix_port.outputs.year }}-${{ steps.unix_port.outputs.hours }}_${{ steps.unix_port.outputs.minutes }}_${{ steps.unix_port.outputs.seconds }}
72+
path: build/lvgl_micropy_unix
73+
if-no-files-found: ignore
74+
6475
run: python3 make.py unix submodules clean mpy_cross DISPLAY=sdl_display INDEV=sdl_pointer

builder/unix.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,6 @@ def compile(): # NOQA
252252

253253
os.remove(os.path.join('build', f))
254254

255-
256255
src = f'lib/micropython/ports/unix/build-{variant}/micropython'
257256
dst = f'build/lvgl_micropy_unix'
258257
shutil.copyfile(src, dst)

0 commit comments

Comments
 (0)