From f9a6c815c2f64a7737becbd4f0c910663c729d80 Mon Sep 17 00:00:00 2001 From: Andre Sailer <andre.philippe.sailer@cern.ch> Date: Wed, 23 Oct 2019 13:29:59 +0200 Subject: [PATCH] CI: Proper return code for building static libs Co-Authored-By: Marko Petric <marko.petric@cern.ch> --- .dd4hep-ci.d/compile_and_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.dd4hep-ci.d/compile_and_test.sh b/.dd4hep-ci.d/compile_and_test.sh index bdc4b5f7f..dcd13fb00 100755 --- a/.dd4hep-ci.d/compile_and_test.sh +++ b/.dd4hep-ci.d/compile_and_test.sh @@ -19,7 +19,7 @@ cmake -GNinja -DDD4HEP_USE_GEANT4=ON \ if [[ "${SHARED}" == "OFF" ]]; then - exit 0; + exit $?; fi ninja install && \ -- GitLab