Skip to content

Commit

Permalink
github: workflow: Add get-lvgl-lib task to build cLvgl project
Browse files Browse the repository at this point in the history
The cLvgl project needs the lvgl library, and this is cloned when the
project is opened the first time. So, to have this behavior we are
running the tasks if the folder is cLvgl.

Signed-off-by: Matheus Castello <[email protected]>
  • Loading branch information
microhobby committed Jan 20, 2025
1 parent 03b2822 commit 07db7b0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-ccpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,8 @@ jobs:
json.dump(settings_json, file, indent=4)
xonsh ./.vscode/tasks.xsh run run-torizon-binfmt
if os.environ['PROJECT_FOLDER'] == 'cLvgl':
xonsh ./.vscode/tasks.xsh run get-lvgl-lib
xonsh ./.vscode/tasks.xsh run @(f"build-container-torizon-release-{os.environ['PROJECT_ARCH']}")
4 changes: 4 additions & 0 deletions .github/workflows/build-debug-ccpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,9 @@ jobs:
chmod a+rw -R .
xonsh ./.vscode/tasks.xsh run run-torizon-binfmt
if os.environ['PROJECT_FOLDER'] == 'cLvgl':
xonsh ./.vscode/tasks.xsh run get-lvgl-lib
xonsh ./.vscode/tasks.xsh run @(f"build-debug-{os.environ['PROJECT_ARCH']}")
xonsh ./.vscode/tasks.xsh run @(f"build-container-torizon-debug-{os.environ['PROJECT_ARCH']}")

0 comments on commit 07db7b0

Please sign in to comment.