Skip to content

[SKIP SOF-TEST] .github:: add pull request workflow for Zephyr shell builds#10763

Merged
lgirdwood merged 2 commits into
thesofproject:mainfrom
kv2019i:202605-ci-zephyr-shell
May 11, 2026
Merged

[SKIP SOF-TEST] .github:: add pull request workflow for Zephyr shell builds#10763
lgirdwood merged 2 commits into
thesofproject:mainfrom
kv2019i:202605-ci-zephyr-shell

Conversation

@kv2019i
Copy link
Copy Markdown
Collaborator

@kv2019i kv2019i commented May 11, 2026

Add zephyr-shell.yml GitHub Actions workflow that builds Intel 'tgl', 'mtl' and 'lnl' platforms with Zephyr shell support enabled via:
--overlay=sof/app/shell_overlay.conf

This catches regressions in shell-enabled builds on every pull request.

@kv2019i kv2019i requested a review from dbaluta as a code owner May 11, 2026 12:21
Copilot AI review requested due to automatic review settings May 11, 2026 12:21
@kv2019i kv2019i requested a review from lgirdwood as a code owner May 11, 2026 12:21
@kv2019i
Copy link
Copy Markdown
Collaborator Author

kv2019i commented May 11, 2026

As expected, test fails without the fix that is part of #10621

@kv2019i
Copy link
Copy Markdown
Collaborator Author

kv2019i commented May 11, 2026

V2 pushed:

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new GitHub Actions workflow to ensure Zephyr builds with SOF shell support enabled keep working across key Intel platforms, catching shell-overlay regressions on every pull request.

Changes:

  • Introduce a new Zephyr Shell workflow triggered on pull_request and workflow_dispatch.
  • Build Zephyr targets for tgl, mtl, and lnl using sof/app/shell_overlay.conf with warnings treated as errors.

@kv2019i
Copy link
Copy Markdown
Collaborator Author

kv2019i commented May 11, 2026

Now passing the newly added test (with the fix cherry-picked)!

kv2019i and others added 2 commits May 11, 2026 15:39
Add zephyr-shell.yml GitHub Actions workflow that builds Intel 'tgl', 'mtl'
and 'lnl' platforms with Zephyr shell support enabled via:
  --overlay=sof/app/shell_overlay.conf

This catches regressions in shell-enabled builds on every pull request.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
In file included from /home/lrg/work/sof2/sof/zephyr/sof_shell.c:14:
/home/lrg/work/sof2/sof/zephyr/sof_shell.c: In function 'cmd_sof_module_heap_usage':
/home/lrg/work/sof2/sof/zephyr/sof_shell.c:66:77: error: 'struct module_config' has no member named 'heap_bytes'
   66 |                             icd->id, usage, hwm, comp_mod(icd->cd)->priv.cfg.heap_bytes);
      |                                                                             ^
/home/lrg/work/sof2/zephyr/include/zephyr/shell/shell.h:1292:47: note: in definition of macro 'shell_print'
 1292 |         shell_fprintf_normal(_sh, _ft "\n", ##__VA_ARGS__)
      |                                               ^~~~~~~~~~~

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
@kv2019i kv2019i force-pushed the 202605-ci-zephyr-shell branch from fb88206 to 3c98c48 Compare May 11, 2026 12:40
@kv2019i
Copy link
Copy Markdown
Collaborator Author

kv2019i commented May 11, 2026

V3:

  • fix typo in commit
  • no functional change

Copy link
Copy Markdown
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Incidentally I have pipeline construction shell commands now working...

@lgirdwood
Copy link
Copy Markdown
Member

Not tested by internal CI.

@lgirdwood lgirdwood merged commit 0a55d75 into thesofproject:main May 11, 2026
42 of 43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants