Commit 2451488a authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#1360 Yaml: first attempt to use the script to count warnings. ctest has been...

#1360 Yaml: first attempt to use the script to count warnings. ctest has been temporarily deactivated; the failure seems closely related to Docker as in a full-fledged Linux environement everything seems fine...
parent 64841b10
......@@ -15,11 +15,28 @@ stages:
untracked: true
paths:
- build
artifacts:
name: "${CI_COMMIT_REF_SLUG}_${OS}-${COMPILER}-${MODE}-${LIB_NATURE}-UniqueLib_${IS_ONLY_ONE_LIB}"
untracked: true
expire_in: 2 hours
paths:
- 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}
- ninja |& tee compilation.log
- ninja test # as asrtifact are limited in size, I can;'t unfortunately use a separate stage...
- 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}
- ninja |& tee compilation.log
# - 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!
script:
- python Scripts/Tools/find_warning_in_compilation_log.py --log build/compilation.log
allow_failure: true
# .test_template: &test_template
# stage: stage2
......@@ -84,6 +101,17 @@ build-Fedora-clang-debug-static-one_lib:
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