.github/zephyr: add -Werror to LP64 compilation

Now that all 64bits warnings have just been fixed, let's keep that build
clean.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
Marc Herbert 2023-11-30 11:22:40 -08:00 committed by Kai Vehmanen
parent e36b77c380
commit 6328ed6a53
1 changed files with 4 additions and 4 deletions

View File

@ -82,13 +82,13 @@ jobs:
- name: Download docker image && ls /opt/toolchains/
run: cd workspace && ./sof/zephyr/docker-run.sh ls -l /opt/toolchains/
- name: build with many warnings, work in progress
- name: 64 bits build
run: |
# One of the main problems: the old sof-logger is hardcoded to
# four 32bits parameters.
cd workspace && ./sof/zephyr/docker-run.sh /bin/sh -c \
'ln -s /opt/toolchains/zephyr-sdk-* ~/;
west build --board mimx93_evk_a55 sof/app'
west build --board mimx93_evk_a55 sof/app \
-- -DEXTRA_CFLAGS=-Werror -DEXTRA_CXXFLAGS=-Werror \
-DEXTRA_AFLAGS=-Werror'
build-linux: