Commit 2c36807
committed
github: Add minimal Zephyr unit tests workflow for SOF CI
This commit introduces a functional CI workflow that builds and executes
SOF unit tests that have been ported from cmocka to Zephyr ztest.
Key features:
- Targets native_sim platform for unit test execution
- Installs minimal dependencies: clang, llvm, ninja-build,
device-tree-compiler
- Includes multilib support (gcc-multilib/g++-multilib) for i386
native_sim
- Runs tests using west twister with verbose output and inline logs
- 10-minute timeout for efficient CI resource usage
- Proper concurrency control to cancel previous runs
The workflow has been tested and verified to work in CI environment.
It provides a foundation for continuous integration of SOF unit tests
without requiring the full Zephyr SDK installation, making it faster
and more resource-efficient.
Future iterations can extend this workflow to include additional
test suites and platforms as they are developed.
Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>1 parent b788f03 commit 2c36807
1 file changed
+61
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
0 commit comments