Commit bff8a0f1 authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#1360 - #1385 Add Doxygen to Yaml.

parent aa9dfa79
......@@ -9,7 +9,7 @@ stages:
.build_template: &build_template
stage: stage1
image: registry.gitlab.inria.fr/morefem/thirdpartycompilationfactory/${OS}-${COMPILER}-${MODE}:v19.09
image: registry.gitlab.inria.fr/morefem/thirdpartycompilationfactory/${OS}-${COMPILER}-${MODE}:nostromo
cache:
key: "${CI_COMMIT_REF_SLUG}_${OS}-${COMPILER}-${MODE}-${LIB_NATURE}-UniqueLib_${IS_ONLY_ONE_LIB}"
untracked: true
......@@ -23,15 +23,18 @@ stages:
- build/compilation.log
script:
- mkdir -p build
- cd build && python ../cmake/Scripts/configure_cmake.py --cache_file=../cmake/PreCache/linux.cmake --cmake_args="-G Ninja" --install_directory=/opt --third_party_directory=/opt --mode=${MODE} --library_type=${LIB_NATURE} --morefem_as_single_library=${IS_ONLY_ONE_LIB}
- cd build && python ../cmake/Scripts/configure_cmake.py --cache_file=../cmake/PreCache/linux.cmake --cmake_args="-G Ninja" --third_party_directory=/opt/MoReFEM --mode=${MODE} --library_type=${LIB_NATURE} --morefem_as_single_library=${IS_ONLY_ONE_LIB}
- ninja |& tee compilation.log
# - ninja test # as asrtifact are limited in size, I can;'t unfortunately use a separate stage...
- ninja test # as asrtifact are limited in size, I can;'t unfortunately use a separate stage...
.check_warning_template: &check_warning_template
stage: stage2
# dependencies: in the instantiations!
image: alpine:latest
before_script:
- apk add --update python && rm -rf /var/cache/apk/*
script:
- python Scripts/Tools/find_warning_in_compilation_log.py --log build/compilation.log
allow_failure: true
......@@ -92,26 +95,76 @@ stages:
#
build-Fedora-clang-debug-static-one_lib:
build-Ubuntu-gcc-debug-shared-several_libs:
<<: *build_template
tags:
- ubuntu
- gcc
- debug
variables:
OS: "fedora"
COMPILER: "clang"
OS: "ubuntu"
COMPILER: "gcc"
MODE: "debug"
LIB_NATURE: "static"
IS_ONLY_ONE_LIB: "True"
LIB_NATURE: "shared"
IS_ONLY_ONE_LIB: "False"
check_warning_Fedora-clang-debug-static-one_lib:
check_Ubuntu-gcc-debug-shared-several_libs:
<<: *check_warning_template
dependencies:
- build-Fedora-clang-debug-static-one_lib
# variables:
# OS: "fedora"
# COMPILER: "clang"
# MODE: "debug"
# LIB_NATURE: "static"
# IS_ONLY_ONE_LIB: "True"
- build-Ubuntu-gcc-debug-shared-several_libs
variables:
OS: "ubuntu"
COMPILER: "gcc"
MODE: "debug"
LIB_NATURE: "shared"
IS_ONLY_ONE_LIB: "False"
run_doxygen:
stage: stage1
image: alpine:latest
before_script:
- apk add --update doxygen && rm -rf /var/cache/apk/*
artifacts:
name: "doxygen"
expire_in: 2 hours
paths:
- complete.log
script:
- cd Documentation/Doxygen
- doxygen complete_dev_guide.dox
analyze_doxygen:
dependencies:
- run_doxygen
script:
- cd Documentation/Doxygen
- wc -l complete.log && grep -v "return type of" complete.log > filtered.txt && wc -l filtered.txt # Obvioulsy to be refined...
#
# build-Fedora-clang-debug-static-one_lib:
# <<: *build_template
# variables:
# OS: "fedora"
# COMPILER: "clang"
# MODE: "debug"
# LIB_NATURE: "static"
# IS_ONLY_ONE_LIB: "True"
#
#
# check_warning_Fedora-clang-debug-static-one_lib:
# <<: *check_warning_template
# dependencies:
# - build-Fedora-clang-debug-static-one_lib
# variables:
# OS: "fedora"
# COMPILER: "clang"
# MODE: "debug"
# LIB_NATURE: "static"
# IS_ONLY_ONE_LIB: "True"
# build-Fedora-clang-release-shared-several_libs:
......
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