Commit 1e96795
Bruce Ashfield
infra: Install device-tree-compiler in CI workflows
The tests require dtc (Device Tree Compiler) to compile device tree
files. Without it, lopper_sanity.py fails when trying to invoke dtc:
AttributeError: 'NoneType' object has no attribute 'split'
at: dtcargs = (os.environ.get('LOPPER_DTC') or shutil.which("dtc")).split()
This commit adds installation of the device-tree-compiler package
from apt before running tests in both CI and release workflows.
Signed-off-by: Bruce Ashfield <bruce.ashfield@amd.com>1 parent 63341d5 commit 1e96795
2 files changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
28 | 33 | | |
29 | 34 | | |
30 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
27 | 32 | | |
28 | 33 | | |
29 | 34 | | |
| |||
0 commit comments