Commit c4cf988d authored by Norby, Tom's avatar Norby, Tom
Browse files

Setup valgrind for mac mem check.

parent 3a90d834
Pipeline #101446 failed with stages
in 12 minutes and 10 seconds
...@@ -11,7 +11,7 @@ mac_gcc_testing: ...@@ -11,7 +11,7 @@ mac_gcc_testing:
script: script:
- which git - which git
- git --version - git --version
- module load cmake gcc/4.8.5 qt/5.9.1 vtk/8.1.0 - module load cmake gcc/4.8.5 qt/5.9.1 vtk/8.1.0 valgrind
- which cmake - which cmake
- which python - which python
- python --version - python --version
...@@ -20,6 +20,7 @@ mac_gcc_testing: ...@@ -20,6 +20,7 @@ mac_gcc_testing:
- cd build - cd build
- cmake -DTasmanian_DIR=/opt/tasmanian/6.0 ^ - cmake -DTasmanian_DIR=/opt/tasmanian/6.0 ^
-DBUILDNAME=$(uname -s)-GCC-4.8.5-Debug-${CI_BUILD_REF_NAME} ^ -DBUILDNAME=$(uname -s)-GCC-4.8.5-Debug-${CI_BUILD_REF_NAME} ^
-DMEMCHECK_COMMAND=$(which valgrind) ^
-DCMAKE_BUILD_TYPE=DEBUG ^ -DCMAKE_BUILD_TYPE=DEBUG ^
-Dradix_ENABLE_TESTS=ON ^ -Dradix_ENABLE_TESTS=ON ^
-Dradix_ENABLE_SECONDARY_TESTED_CODE=ON ^ -Dradix_ENABLE_SECONDARY_TESTED_CODE=ON ^
...@@ -39,7 +40,7 @@ mac_llvm_testing: ...@@ -39,7 +40,7 @@ mac_llvm_testing:
script: script:
- which git - which git
- git --version - git --version
- module load cmake qt/5.9.1 vtk/8.1.0 - module load cmake qt/5.9.1 vtk/8.1.0 valgrind
- which python - which python
- python --version - python --version
- python TriBITS/tribits/ci_support/clone_extra_repos.py - python TriBITS/tribits/ci_support/clone_extra_repos.py
...@@ -49,6 +50,7 @@ mac_llvm_testing: ...@@ -49,6 +50,7 @@ mac_llvm_testing:
- export radix_ENABLE_Fortran=OFF - export radix_ENABLE_Fortran=OFF
- cmake -DTasmanian_DIR=/opt/tasmanian/6.0 ^ - cmake -DTasmanian_DIR=/opt/tasmanian/6.0 ^
-DBUILDNAME=$(uname -s)-LLVM-Debug-${CI_BUILD_REF_NAME} ^ -DBUILDNAME=$(uname -s)-LLVM-Debug-${CI_BUILD_REF_NAME} ^
-DMEMCHECK_COMMAND=$(which valgrind) ^
-DCMAKE_BUILD_TYPE=DEBUG ^ -DCMAKE_BUILD_TYPE=DEBUG ^
-Dradix_ENABLE_TESTS=ON ^ -Dradix_ENABLE_TESTS=ON ^
-Dradix_ENABLE_SECONDARY_TESTED_CODE=ON ^ -Dradix_ENABLE_SECONDARY_TESTED_CODE=ON ^
...@@ -75,7 +77,6 @@ linux_gcc_testing: ...@@ -75,7 +77,6 @@ linux_gcc_testing:
- cd build - cd build
- module load cmake qt/5.9.0 vtk/8.1.0 - module load cmake qt/5.9.0 vtk/8.1.0
- which cmake - which cmake
- module load valgrind
- cmake -DTasmanian_DIR=/opt/vendors/tasmanian/6.0 ^ - cmake -DTasmanian_DIR=/opt/vendors/tasmanian/6.0 ^
-DBUILDNAME=$(uname -s)-GCC-4.8.5-Release-${CI_BUILD_REF_NAME} ^ -DBUILDNAME=$(uname -s)-GCC-4.8.5-Release-${CI_BUILD_REF_NAME} ^
-DCMAKE_BUILD_TYPE=Release ^ -DCMAKE_BUILD_TYPE=Release ^
...@@ -102,9 +103,8 @@ linux_analysis: ...@@ -102,9 +103,8 @@ linux_analysis:
- python TriBITS/tribits/ci_support/clone_extra_repos.py - python TriBITS/tribits/ci_support/clone_extra_repos.py
- mkdir build - mkdir build
- cd build - cd build
- module load cmake - module load cmake valgrind
- which cmake - which cmake
- module load valgrind
- cmake -DTasmanian_DIR=/opt/vendors/tasmanian/6.0/ ^ - cmake -DTasmanian_DIR=/opt/vendors/tasmanian/6.0/ ^
-DCOVERAGE_EXTRA_FLAGS="-s ${CI_PROJECT_DIR}/googletest -d" ^ -DCOVERAGE_EXTRA_FLAGS="-s ${CI_PROJECT_DIR}/googletest -d" ^
-DMEMCHECK_COMMAND=$(which valgrind) ^ -DMEMCHECK_COMMAND=$(which valgrind) ^
......
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