Use ninja -k option in CI
Some users of the OAI CI complain that since we build with -Werror, it is difficult to see all warnings/errors and fix them, necessitating multiple attempts at times to see all warnings. To allow them to see more warnings, use ninja option -k10 to keep going after errors, and show more errors at once.
This commit is contained in:
@@ -38,7 +38,7 @@ RUN dnf install -y libasan libubsan
|
||||
RUN /bin/sh oaienv && \
|
||||
cd cmake_targets && \
|
||||
mkdir -p log && \
|
||||
./build_oai --phy_simulators --ninja --sanitize --noavx512 -c --cmake-opt -DCMAKE_C_FLAGS=-Werror --cmake-opt -DCMAKE_CXX_FLAGS=-Werror
|
||||
./build_oai --phy_simulators --ninja --build-tool-opt -k10 --sanitize --noavx512 -c --cmake-opt -DCMAKE_C_FLAGS=-Werror --cmake-opt -DCMAKE_CXX_FLAGS=-Werror
|
||||
|
||||
#start from scratch for target executable
|
||||
FROM registry.access.redhat.com/ubi9/ubi:latest AS oai-physim
|
||||
|
||||
Reference in New Issue
Block a user