Skip to content

Commit

Permalink
Merge branch 'fix_github' into 'dev'
Browse files Browse the repository at this point in the history
Fix github actions run failed.

See merge request maix_sw/k230_canmv!251
  • Loading branch information
kendryte747 committed Jun 18, 2024
2 parents dd43095 + 1a089a2 commit 4e81831
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 11 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
8 changes: 5 additions & 3 deletions micropython_port/3d-party/freetype/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 5 additions & 3 deletions micropython_port/3d-party/lvgl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 5 additions & 3 deletions micropython_port/3d-party/wrap/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4e81831

Please sign in to comment.