From 1a089a2b5c522c989b6aaa44cb4cb9668413c8d3 Mon Sep 17 00:00:00 2001 From: xiaenling Date: Tue, 18 Jun 2024 18:11:50 +0800 Subject: [PATCH] Fix github actions run failed. --- .github/workflows/release.yml | 8 ++++++-- micropython_port/3d-party/freetype/Makefile | 8 +++++--- micropython_port/3d-party/lvgl/Makefile | 8 +++++--- micropython_port/3d-party/wrap/Makefile | 8 +++++--- 4 files changed, 21 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c3e070d..385b5ad 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -139,7 +139,9 @@ jobs: git config --global --add safe.directory $PWD git config --global --add safe.directory $PWD/k230_sdk git config --global --add safe.directory $PWD/micropython - git config --global --add safe.directory $PWD/micropython_port/lvgl/lv_binding_micropython + git config --global --add safe.directory $PWD/micropython_port/3d-party/freetype/freetype + git config --global --add safe.directory $PWD/micropython_port/3d-party/lvgl/lv_binding_micropython + git config --global --add safe.directory $PWD/micropython_port/3d-party/wrap/micropython-wrap git config --global --list ls -alht echo "download toolchain and build env" @@ -182,7 +184,9 @@ jobs: git config --global --add safe.directory $PWD; \ git config --global --add safe.directory $PWD/k230_sdk; \ git config --global --add safe.directory $PWD/micropython; \ - git config --global --add safe.directory $PWD/micropython_port/lvgl/lv_binding_micropython; \ + git config --global --add safe.directory $PWD/micropython_port/3d-party/freetype/freetype; \ + git config --global --add safe.directory $PWD/micropython_port/3d-party/lvgl/lv_binding_micropython; \ + git config --global --add safe.directory $PWD/micropython_port/3d-party/wrap/micropython-wrap; \ time make CONF=$CONF || exit 1; \ echo '---show docker build output---'; \ ls -alht output/${CONF}/images || exit 1" diff --git a/micropython_port/3d-party/freetype/Makefile b/micropython_port/3d-party/freetype/Makefile index 7d07990..ab8b4a0 100644 --- a/micropython_port/3d-party/freetype/Makefile +++ b/micropython_port/3d-party/freetype/Makefile @@ -16,7 +16,9 @@ sync_overlay: $(overlay_dir) $(overlay_file) @rsync -a -q overlay/ freetype/ @touch freetype/.ready_sync_file -submodule_init: +sync_submodule: @git submodule update --init -f freetype - -sync_submodule: submodule_init sync_overlay + @git -C freetype clean -fdq + @rsync -a -q overlay/ freetype/ + @touch freetype/.ready_sync_dir + @touch freetype/.ready_sync_file diff --git a/micropython_port/3d-party/lvgl/Makefile b/micropython_port/3d-party/lvgl/Makefile index eca7549..8102e9e 100644 --- a/micropython_port/3d-party/lvgl/Makefile +++ b/micropython_port/3d-party/lvgl/Makefile @@ -16,7 +16,9 @@ sync_overlay: $(overlay_dir) $(overlay_file) @rsync -a -q overlay/ lv_binding_micropython/ @touch lv_binding_micropython/.ready_sync_file -submodule_init: +sync_submodule: @git submodule update --init -f lv_binding_micropython - -sync_submodule: submodule_init sync_overlay + @git -C lv_binding_micropython clean -fdq + @rsync -a -q overlay/ lv_binding_micropython/ + @touch lv_binding_micropython/.ready_sync_dir + @touch lv_binding_micropython/.ready_sync_file diff --git a/micropython_port/3d-party/wrap/Makefile b/micropython_port/3d-party/wrap/Makefile index ed13918..c49dd1f 100644 --- a/micropython_port/3d-party/wrap/Makefile +++ b/micropython_port/3d-party/wrap/Makefile @@ -16,7 +16,9 @@ sync_overlay: $(overlay_dir) $(overlay_file) @rsync -a -q overlay/ micropython-wrap/ @touch micropython-wrap/.ready_sync_file -submodule_init: +sync_submodule: @git submodule update --init -f micropython-wrap - -sync_submodule: submodule_init sync_overlay + @git -C micropython-wrap clean -fdq + @rsync -a -q overlay/ micropython-wrap/ + @touch micropython-wrap/.ready_sync_dir + @touch micropython-wrap/.ready_sync_file