Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Commit eab764ac authored by Pierre Aubert's avatar Pierre Aubert
Browse files

Update doc and coverage

parent 1bd62dd7
Pipeline #99009 passed with stages
in 8 minutes and 50 seconds
......@@ -5,10 +5,6 @@ stages:
- DocCoverage
- deploy
#- build
#- test
#- deploy
dailyBuildMasterAll:
#cache:
#untracked: true
......@@ -24,7 +20,6 @@ dailyBuildMasterAll:
- >
cmake ..
-DCMAKE_INSTALL_PREFIX=/usr
-DRELEASE_MODE=yes
-DSELF_TESTS_MODE=yes
- make all
- make install
......@@ -79,7 +74,6 @@ Doc:
- >
cmake ..
-DCMAKE_INSTALL_PREFIX=/usr
-DRELEASE_MODE=yes
-DDOC_MODE=yes
- make all
- make doc
......
......@@ -28,10 +28,18 @@ function(phoenix_base_project programName programVersion programDescritpion prog
set(CMAKE_MODULE_PATH ${CMAKE_INSTALL_PREFIX}/share/cmake CACHE STRING "cmake module path")
set(PHOENIX_FORCE_PULL_MODULE no CACHE BOOL "Say if the submodule have to be pulled every time or not")
add_definitions(--std=c++11 -Wall -Werror -g -O2 -D__PROGRAM_VERSION__="${PROGRAM_VERSION}")
if(CMAKE_BUILD_TYPE STREQUAL "Coverage")
message(STATUS "Build for tests COVERAGE")
set(CTEST_COVERAGE_COMMAND "gcov")
set(SELF_TESTS_MODE yes)
set(CMAKE_CXX_FLAGS "--std=c++11 -Wall -Werror -g -O0 -fprofile-arcs -ftest-coverage" PARENT_SCOPE)
else()
set(CMAKE_CXX_FLAGS "--std=c++11 -Wall -Werror -g -O2" PARENT_SCOPE)
endif()
add_definitions(-D__PROGRAM_VERSION__="${PROGRAM_VERSION}")
if(DOC_MODE)
pull_extra_module("PhoenixTex2Html" "https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS/PhoenixTex2Html.git")
add_subdirectory(doc)
endif()
createLinuxPackages()
......
/** @mainpage Program which generates proxy library to handle automatically all kind of architectures and CPU extentions (AVX, AVX2, AVX512F, SSE4, etc)
*
*
* <a href="coverage/cov_report.html">See test coverage detail from gcovr</a><br />
<a href="coverage/Coverage.xml">See test coverage report</a>
*/
......
......@@ -113,7 +113,7 @@ bool createSourceFromConfig(const std::string & inputFile, const std::string & l
///Process all the input files
/** @param listInputFile : list of the input files
* @param libraryName : name of the library to be created
* @param libName : name of the library to be created
* @param vecArchLib : vector of library architecture to be used
* @param libDir : directory where the sub libraries are installed
* @param outputDir : output directory to be used
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment