You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .agent/workflows/build_and_validate.md
+11-8Lines changed: 11 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,16 +4,19 @@ description: Build and validate new C code features
4
4
5
5
This workflow describes the process for building and validating any new C code features in the SOF repository.
6
6
7
-
**Note:** The QEMU build targets must be used for both building and testing.
7
+
**Note:** The QEMU build targets must be used for both building and testing. The user requires the build must be error and warning free and the ztests must all pass.
8
8
9
+
// turbo-all
9
10
1. Build the new C code feature using the `xtensa-build-zephyr.py` script.
10
-
```bash
11
-
./scripts/xtensa-build-zephyr.py
12
-
```
11
+
```bash
12
+
source ../.venv/bin/activate
13
+
./scripts/xtensa-build-zephyr.py qemu_xtensa
14
+
```
13
15
14
16
2. Validate the feature with a ztest run using the `sof-qemu-run.sh` script.
15
-
```bash
16
-
./scripts/sof-qemu-run.sh
17
-
```
17
+
```bash
18
+
source ../.venv/bin/activate
19
+
./scripts/sof-qemu-run.sh build-qemu_xtensa
20
+
```
18
21
19
-
3. Ensure that all new features and functions have appropriate Doxygen comments and that the Doxygen documentation builds without errors or warnings.
22
+
3. Ensure that all new features and functions have appropriate Doxygen comments and that the Doxygen documentation builds without errors or warnings.
0 commit comments