Commit 6d9f2e48 authored by DIAZ Jerome's avatar DIAZ Jerome Committed by GILLES Sebastien
Browse files

#1489 Try Valgrind as a standalone CI test.

parent 12f7e535
......@@ -2,7 +2,10 @@ valgrind:
stage: analysis
image: registry.gitlab.inria.fr/morefem/analysistools/valgrind:latest
script:
- python Scripts/Tools/run_valgrind.py
- mkdir -p build_4_valgrind
- cd build_4_valgrind && python ../cmake/Scripts/configure_cmake.py --cache_file=../cmake/PreCache/linux.cmake --cmake_args="-G Ninja" --third_party_directory=/opt --mode="debug"
- ninja
- valgrind --error-exitcode=1 --log-file=memcheck_matrix_operations.txt --gen-suppressions=all --show-leak-kinds=all --show-reachable=yes --track-origins=yes --leak-check=full --suppressions=${HOME}/Codes/MoReFEM/CoreLibrary/ExternalTools/Valgrind/openmpi.suppr --suppressions=${HOME}/Codes/MoReFEM/CoreLibrary/ExternalTools/Valgrind/libgomp.suppr --suppressions=${HOME}/Codes/MoReFEM/CoreLibrary/ExternalTools/Valgrind/libc.suppr Sources/MoReFEMTestPetscMatrixOperations -i ${HOME}/Codes/MoReFEM/CoreLibrary/Sources/Test/ThirdParty/PETSc/MatrixOperations/demo.lua
dependencies: []
artifacts:
name: "artifact_${CI_PROJECT_ID}_${CI_COMMIT_REF_SLUG}_${OS}-valgrind"
......
......@@ -2,178 +2,178 @@ include:
- local: '/ExternalTools/Gitlab-CI/common.yml'
- local: '/ExternalTools/Gitlab-CI/analysis.yml'
build_ubuntu_gcc_debug_several_shared_libraries:
extends: .build_template_linux
tags:
- ubuntu
- gcc
- debug
variables:
OS: "ubuntu"
COMPILER: "gcc"
MODE: "debug"
LIB_NATURE: "shared"
OS: "ubuntu"
IS_ONLY_ONE_LIB: "False"
check_ubuntu_gcc_debug_several_shared_libraries:
extends: .check_compilation_warning_template_docker
tags:
- ubuntu
- gcc
- debug
variables:
OS: "ubuntu"
COMPILER: "gcc"
MODE: "debug"
LIB_NATURE: "shared"
OS: "ubuntu"
IS_ONLY_ONE_LIB: "False"
build_ubuntu_gcc_release_one_static_library:
extends: .build_template_linux
tags:
- ubuntu
- gcc
- release
variables:
OS: "ubuntu"
COMPILER: "gcc"
MODE: "release"
LIB_NATURE: "static"
OS: "ubuntu"
IS_ONLY_ONE_LIB: "True"
check_ubuntu_gcc_release_one_static_library:
extends: .check_compilation_warning_template_docker
tags:
- ubuntu
- gcc
- release
variables:
OS: "ubuntu"
COMPILER: "gcc"
MODE: "release"
LIB_NATURE: "static"
OS: "ubuntu"
IS_ONLY_ONE_LIB: "True"
build_fedora_gcc_debug_one_shared_library:
extends: .build_template_linux
tags:
- fedora
- gcc
- debug
variables:
OS: "fedora"
COMPILER: "gcc"
MODE: "debug"
LIB_NATURE: "shared"
OS: "fedora"
IS_ONLY_ONE_LIB: "True"
check_fedora_gcc_debug_one_shared_library:
extends: .check_compilation_warning_template_docker
tags:
- fedora
- gcc
- debug
variables:
OS: "fedora"
COMPILER: "gcc"
MODE: "debug"
LIB_NATURE: "shared"
OS: "fedora"
IS_ONLY_ONE_LIB: "True"
build_fedora_gcc_release_several_static_libraries:
extends: .build_template_linux
tags:
- fedora
- gcc
- release
variables:
OS: "fedora"
COMPILER: "gcc"
MODE: "release"
LIB_NATURE: "static"
OS: "fedora"
IS_ONLY_ONE_LIB: "False"
check_fedora_gcc_release_several_static_libraries:
extends: .check_compilation_warning_template_docker
tags:
- fedora
- gcc
- release
variables:
OS: "fedora"
COMPILER: "gcc"
MODE: "release"
LIB_NATURE: "static"
OS: "fedora"
IS_ONLY_ONE_LIB: "False"
build_fedora_clang_debug_several_shared_libraries:
extends: .build_template_linux
tags:
- fedora
- clang
- debug
variables:
OS: "fedora"
COMPILER: "clang"
MODE: "debug"
LIB_NATURE: "shared"
OS: "fedora"
IS_ONLY_ONE_LIB: "False"
check_fedora_clang_debug_several_shared_libraries:
extends: .check_compilation_warning_template_docker
tags:
- fedora
- clang
- debug
variables:
OS: "fedora"
COMPILER: "clang"
MODE: "debug"
LIB_NATURE: "shared"
OS: "fedora"
IS_ONLY_ONE_LIB: "False"
build_fedora_clang_release_one_static_library:
extends: .build_template_linux
tags:
- fedora
- clang
- release
variables:
OS: "fedora"
COMPILER: "clang"
MODE: "release"
LIB_NATURE: "static"
OS: "fedora"
IS_ONLY_ONE_LIB: "True"
check_fedora_clang_release_one_static_library:
extends: .check_compilation_warning_template_docker
tags:
- fedora
- clang
- release
variables:
OS: "fedora"
COMPILER: "clang"
MODE: "release"
LIB_NATURE: "static"
OS: "fedora"
IS_ONLY_ONE_LIB: "True"
#build_ubuntu_gcc_debug_several_shared_libraries:
# extends: .build_template_linux
# tags:
# - ubuntu
# - gcc
# - debug
# variables:
# OS: "ubuntu"
# COMPILER: "gcc"
# MODE: "debug"
# LIB_NATURE: "shared"
# OS: "ubuntu"
# IS_ONLY_ONE_LIB: "False"
#
#
#check_ubuntu_gcc_debug_several_shared_libraries:
# extends: .check_compilation_warning_template_docker
# tags:
# - ubuntu
# - gcc
# - debug
# variables:
# OS: "ubuntu"
# COMPILER: "gcc"
# MODE: "debug"
# LIB_NATURE: "shared"
# OS: "ubuntu"
# IS_ONLY_ONE_LIB: "False"
#
#
#build_ubuntu_gcc_release_one_static_library:
# extends: .build_template_linux
# tags:
# - ubuntu
# - gcc
# - release
# variables:
# OS: "ubuntu"
# COMPILER: "gcc"
# MODE: "release"
# LIB_NATURE: "static"
# OS: "ubuntu"
# IS_ONLY_ONE_LIB: "True"
#
#check_ubuntu_gcc_release_one_static_library:
# extends: .check_compilation_warning_template_docker
# tags:
# - ubuntu
# - gcc
# - release
# variables:
# OS: "ubuntu"
# COMPILER: "gcc"
# MODE: "release"
# LIB_NATURE: "static"
# OS: "ubuntu"
# IS_ONLY_ONE_LIB: "True"
#
#
#build_fedora_gcc_debug_one_shared_library:
# extends: .build_template_linux
# tags:
# - fedora
# - gcc
# - debug
# variables:
# OS: "fedora"
# COMPILER: "gcc"
# MODE: "debug"
# LIB_NATURE: "shared"
# OS: "fedora"
# IS_ONLY_ONE_LIB: "True"
#
#check_fedora_gcc_debug_one_shared_library:
# extends: .check_compilation_warning_template_docker
# tags:
# - fedora
# - gcc
# - debug
# variables:
# OS: "fedora"
# COMPILER: "gcc"
# MODE: "debug"
# LIB_NATURE: "shared"
# OS: "fedora"
# IS_ONLY_ONE_LIB: "True"
#
#
#build_fedora_gcc_release_several_static_libraries:
# extends: .build_template_linux
# tags:
# - fedora
# - gcc
# - release
# variables:
# OS: "fedora"
# COMPILER: "gcc"
# MODE: "release"
# LIB_NATURE: "static"
# OS: "fedora"
# IS_ONLY_ONE_LIB: "False"
#
#check_fedora_gcc_release_several_static_libraries:
# extends: .check_compilation_warning_template_docker
# tags:
# - fedora
# - gcc
# - release
# variables:
# OS: "fedora"
# COMPILER: "gcc"
# MODE: "release"
# LIB_NATURE: "static"
# OS: "fedora"
# IS_ONLY_ONE_LIB: "False"
#
#
#build_fedora_clang_debug_several_shared_libraries:
# extends: .build_template_linux
# tags:
# - fedora
# - clang
# - debug
# variables:
# OS: "fedora"
# COMPILER: "clang"
# MODE: "debug"
# LIB_NATURE: "shared"
# OS: "fedora"
# IS_ONLY_ONE_LIB: "False"
#
#check_fedora_clang_debug_several_shared_libraries:
# extends: .check_compilation_warning_template_docker
# tags:
# - fedora
# - clang
# - debug
# variables:
# OS: "fedora"
# COMPILER: "clang"
# MODE: "debug"
# LIB_NATURE: "shared"
# OS: "fedora"
# IS_ONLY_ONE_LIB: "False"
#
#
#build_fedora_clang_release_one_static_library:
# extends: .build_template_linux
# tags:
# - fedora
# - clang
# - release
# variables:
# OS: "fedora"
# COMPILER: "clang"
# MODE: "release"
# LIB_NATURE: "static"
# OS: "fedora"
# IS_ONLY_ONE_LIB: "True"
#
#check_fedora_clang_release_one_static_library:
# extends: .check_compilation_warning_template_docker
# tags:
# - fedora
# - clang
# - release
# variables:
# OS: "fedora"
# COMPILER: "clang"
# MODE: "release"
# LIB_NATURE: "static"
# OS: "fedora"
# IS_ONLY_ONE_LIB: "True"
#
#
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