Skip to content
Snippets Groups Projects
Commit d04a2187 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

ci: don't mask failing targets

If multiple targets are built, any breaking should fail the build, so
stop when any of them fail. Otherwise a further target that passes would
mask the prior failure.
parent 51da08a8
Branches
Tags
No related merge requests found
......@@ -51,6 +51,10 @@ foreach (target IN LISTS targets_to_build)
math(EXPR num_warnings "${num_warnings} + ${num_warnings_target}")
ctest_submit(PARTS Build)
if (build_result)
break ()
endif ()
endforeach ()
if ("$ENV{CMAKE_CONFIGURATION}" MATCHES "doxygen")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment