Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
GILLES Sebastien
MoReFEM
Commits
bff8a0f1
Commit
bff8a0f1
authored
Feb 27, 2019
by
GILLES Sebastien
Browse files
#1360 - #1385 Add Doxygen to Yaml.
parent
aa9dfa79
Changes
1
Hide whitespace changes
Inline
Side-by-side
ExternalTools/Gitlab-CI/.gitlab-ci.yml
View file @
bff8a0f1
...
...
@@ -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
_lib
s
:
<<
:
*build_template
tags
:
-
ubuntu
-
gcc
-
debug
variables
:
OS
:
"
fedora
"
COMPILER
:
"
clang
"
OS
:
"
ubuntu
"
COMPILER
:
"
gcc
"
MODE
:
"
debug"
LIB_NATURE
:
"
s
tatic
"
IS_ONLY_ONE_LIB
:
"
Tru
e"
LIB_NATURE
:
"
s
hared
"
IS_ONLY_ONE_LIB
:
"
Fals
e"
check_
warning_Fedora-clang-debug-static-one
_lib
:
check_
Ubuntu-gcc-debug-shared-several
_lib
s
:
<<
:
*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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment