From 11ebfa1f14e7508cc09ce411f237e469e31294a6 Mon Sep 17 00:00:00 2001 From: Florian Uhlig <f.uhlig@gsi.de> Date: Tue, 7 Jul 2020 10:31:14 +0200 Subject: [PATCH] Correct cmake build type for merge request Use build type CONTINUOUS for merge requests such that the MR are shown in CDash at the correct place. --- CbmRoot_test.cmake | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/CbmRoot_test.cmake b/CbmRoot_test.cmake index 8d2960c521..2d6619c044 100644 --- a/CbmRoot_test.cmake +++ b/CbmRoot_test.cmake @@ -28,10 +28,12 @@ Else() Set(CTEST_USE_LAUNCHERS 1) EndIf() -If(NOT $ENV{ctest_model} MATCHES Weekly) - String(TOUPPER $ENV{ctest_model} _Model) -Else() +If($ENV{ctest_model} MATCHES Weekly) Set(_Model PROFILE) +ElseIf($ENV{ctest_model} MATCHES MergeRequest) + Set(_Model CONTINUOUS) +Else() + String(TOUPPER $ENV{ctest_model} _Model) EndIf() If(EXTRA_FLAGS) -- GitLab