mirror of https://github.com/thesofproject/sof.git
.github/zephyr: add -Werror to AFLAGS, not just CFLAGS
Past Zephyr experience showed that CFLAGS is not enough to cover all cases: https://github.com/zephyrproject-rtos/zephyr/commit/8a603da6cde63 Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
parent
88c8c1eb27
commit
9cd7090345
|
@ -138,6 +138,7 @@ jobs:
|
|||
- name: build
|
||||
run: cd workspace && ./sof/zephyr/docker-run.sh
|
||||
./sof/zephyr/docker-build.sh --cmake-args=-DEXTRA_CFLAGS=-Werror
|
||||
--cmake-args=-DEXTRA_AFLAGS='-Werror -Wa,--fatal-warnings'
|
||||
--cmake-args=--warn-uninitialized ${{ matrix.IPC_platforms }}
|
||||
|
||||
- name: Upload build artifacts
|
||||
|
@ -282,6 +283,7 @@ jobs:
|
|||
run: python sof/scripts/xtensa-build-zephyr.py
|
||||
--no-interactive
|
||||
--cmake-args=-DEXTRA_CFLAGS=-Werror
|
||||
--cmake-args=-DEXTRA_AFLAGS='-Werror -Wa,--fatal-warnings'
|
||||
--cmake-args=--warn-uninitialized ${{ matrix.platforms }}
|
||||
|
||||
- name: Upload build artifacts
|
||||
|
|
Loading…
Reference in New Issue