Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions ci/cscs/dashboard-configure-build.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
cmake_minimum_required(VERSION 3.20)

set(DASHBOARD_PROJECT "IPPL")

if(NOT DEFINED BUILD_TYPE)
set(BUILD_TYPE Debug)
endif()
Expand All @@ -12,9 +14,8 @@ if(NOT DEFINED BUILD_DIR)
message(FATAL_ERROR "BUILD_DIR must be defined")
endif()

if(NOT DEFINED TEST_INFO)
set(TEST_INFO "build")
endif()
# The full build name here gets overwritten in test phase, so leave this blank for now
set(TEST_INFO "")

# --- CDash metadata ---
set(CTEST_SITE "${CTEST_SITE}")
Expand Down Expand Up @@ -97,3 +98,15 @@ if(configure_result OR build_result)
# make sure to fail the build if configure or build failed
message(FATAL_ERROR "CTest reported configure/build failures")
endif()

string(ASCII 27 ESC)
set(BLUE "${ESC}[34m")
set(RESET "${ESC}[0m")
message("${BLUE}# ---------------------------------${RESET}")
message("${BLUE}To view ALL configure/build/test results and error logs visit: ${RESET}")
message("${BLUE}https://my.cdash.org/index.php?project=${DASHBOARD_PROJECT}${RESET}")
message("${BLUE}For this PR visit: ${RESET}")
message(
"${BLUE}https://my.cdash.org/index.php?project=${DASHBOARD_PROJECT}&filtercount=1&showfilters=1&field1=buildname&compare1=63&value1=${CDASH_LABEL}${RESET}"
)
message("${BLUE}# ---------------------------------${RESET}")
14 changes: 14 additions & 0 deletions ci/cscs/dashboard-test.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
cmake_minimum_required(VERSION 3.20)

set(DASHBOARD_PROJECT "IPPL")

if(NOT DEFINED BUILD_TYPE)
set(BUILD_TYPE Debug)
endif()
Expand Down Expand Up @@ -36,3 +38,15 @@ ctest_submit()
if(test_result)
message(FATAL_ERROR "CTest reported test failures")
endif()

string(ASCII 27 ESC)
set(BLUE "${ESC}[34m")
set(RESET "${ESC}[0m")
message("${BLUE}# ---------------------------------${RESET}")
message("${BLUE}To view ALL configure/build/test results and error logs visit: ${RESET}")
message("${BLUE}https://my.cdash.org/index.php?project=${DASHBOARD_PROJECT}${RESET}")
message("${BLUE}For this PR visit: ${RESET}")
message(
"${BLUE}https://my.cdash.org/index.php?project=${DASHBOARD_PROJECT}&filtercount=1&showfilters=1&field1=buildname&compare1=63&value1=${CDASH_LABEL}${RESET}"
)
message("${BLUE}# ---------------------------------${RESET}")
Loading