CI: Add release track in cdash
Signed-off-by: Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com> (cherry picked from commit 3a89b477f17983a2e0e68cf77ae5fbe25a96ce0f)
This commit is contained in:
parent
1cf9ebd5f0
commit
7aa0a54029
@ -52,10 +52,16 @@ if (NOT CTEST_CMAKE_GENERATOR)
|
||||
endif ()
|
||||
|
||||
# Determine the track to submit to.
|
||||
set(CTEST_TRACK "Experimental")
|
||||
if ("$ENV{CI_COMMIT_REF_NAME}" STREQUAL "master")
|
||||
set(CTEST_TRACK "merge-requests")
|
||||
if("$ENV{CI_COMMIT_REF_NAME}" STREQUAL "master")
|
||||
set(CTEST_TRACK "master")
|
||||
elseif("$ENV{CI_COMMIT_REF_NAME}" STREQUAL "release")
|
||||
set(CTEST_TRACK "release")
|
||||
endif()
|
||||
|
||||
if("$ENV{VTKM_CI_NIGHTLY}" STREQUAL "TRUE")
|
||||
set(CTEST_TRACK "Nightly")
|
||||
endif ()
|
||||
endif()
|
||||
|
||||
if (CTEST_CMAKE_GENERATOR STREQUAL "Unix Makefiles")
|
||||
include(ProcessorCount)
|
||||
|
Loading…
Reference in New Issue
Block a user