diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 7a9d1d47..8b28e2cf 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -70,6 +70,14 @@ jobs: - name: Build LVGL MicroPython for unix run: | ./scripts/build_mpos.sh unix + mv lvgl_micropython/build/lvgl_micropy_unix lvgl_micropython/build/MicroPythonOS_amd64_linux_${{ steps.version.outputs.OS_VERSION }}.elf + + - name: Upload built binary as artifact + uses: actions/upload-artifact@v4 + with: + name: MicroPythonOS_amd64_linux_${{ steps.version.outputs.OS_VERSION }}.elf + path: lvgl_micropython/build/MicroPythonOS_amd64_linux_${{ steps.version.outputs.OS_VERSION }}.elf + retention-days: 7 - name: Run syntax tests on unix run: | @@ -79,16 +87,8 @@ jobs: - name: Run unit tests on unix run: | ./tests/unittest.sh - mv lvgl_micropython/build/lvgl_micropy_unix lvgl_micropython/build/MicroPythonOS_amd64_linux_${{ steps.version.outputs.OS_VERSION }}.elf continue-on-error: true - - name: Upload built binary as artifact - uses: actions/upload-artifact@v4 - with: - name: MicroPythonOS_amd64_linux_${{ steps.version.outputs.OS_VERSION }}.elf - path: lvgl_micropython/build/MicroPythonOS_amd64_linux_${{ steps.version.outputs.OS_VERSION }}.elf - retention-days: 7 - - name: Build LVGL MicroPython esp32 run: | ./scripts/build_mpos.sh esp32 diff --git a/scripts/build_mpos.sh b/scripts/build_mpos.sh index b7255e21..423d1def 100755 --- a/scripts/build_mpos.sh +++ b/scripts/build_mpos.sh @@ -202,7 +202,7 @@ PY STRIP= \ DISPLAY=sdl_display \ INDEV=sdl_pointer \ - SDL_FLAGS="-DSDL_OPENGL=OFF -DSDL_OPENGLES=OFF -DSDL_VULKAN=OFF -DSDL_KMSDRM=OFF -DSDL_IBUS=OFF -DSDL_DBUS=OFF" \ + SDL_FLAGS="-DSDL_OPENGL=OFF -DSDL_OPENGLES=OFF -DSDL_VULKAN=OFF -DSDL_KMSDRM=OFF -DSDL_IBUS=OFF -DSDL_DBUS=OFF SDL_LOADSO=OFF" \ "$frozenmanifest" popd