Skip to content
Snippets Groups Projects
Commit 936ac936 authored by Franck Pérignon's avatar Franck Pérignon
Browse files

cdash config. First try.

parent 78858eec
No related branches found
No related tags found
No related merge requests found
......@@ -479,12 +479,26 @@ endif()
# ============= Tests =============
if(WITH_TESTS)
include(CTest)
set(CTEST_PROJECT_NAME "HySoP")
set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC")
set(CTEST_DROP_METHOD "http")
set(CTEST_DROP_SITE "my.cdash.org")
set(CTEST_DROP_LOCATION "/submit.php?project=HySoP")
set(CTEST_DROP_SITE_CDASH TRUE)
message(" spodposopds ${CTEST_DROP_SITE}")
# Number of mpi processes used to run tests.
set(NBPROCS_FOR_TESTS "8" CACHE STRING "Number of mpi processes used to run tests")
include(ProcessorCount)
ProcessorCount(NBPROCS_FOR_TESTS)
if(NOT N EQUAL 0)
set(CTEST_BUILD_FLAGS -j${NBPROCS_FOR_TESTS})
set(ctest_test_args ${ctest_test_args} PARALLEL_LEVEL ${NBPROCS_FOR_TESTS})
endif()
if(NOT USE_MPI)
set(WITH_MPI_TESTS "OFF")
endif()
include(HySoPTests)
endif(WITH_TESTS)
......
......@@ -41,5 +41,10 @@ image: fperignon/hysop:debian
The image will be pulled from docker hub.
yml driver
----------
See gitlab-ci documentation : http://docs.gitlab.com/ce/ci/yaml/README.html
In script, use -DCI_CONFIG=<something> option for cmake to send runner information to dashboard.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment