Skip to content
Snippets Groups Projects
Commit e1e081be authored by Mark Meredith's avatar Mark Meredith Committed by Deepak Rangarajan
Browse files

Run CTests for both Debug and Release

parent 2437e3dc
No related branches found
No related tags found
1 merge request!52Run CTests for both Debug and Release
Pipeline #22382 passed with warnings
......@@ -14,12 +14,23 @@ test:meson:
tags:
- mfix-exa
test:cmake:
.test:cmake: &cmake_def
script:
- python -m pip install cmake ninja conan
- cmake -S. -Bbuild -GNinja -DCMAKE_BUILD_TYPE=Debug
- cmake -S. -Bbuild -GNinja -DCMAKE_BUILD_TYPE=$BUILD_TYPE
- cmake --build build --target unit_tests_csg
- cd build
- ctest
tags:
- mfix-exa
test:cmake:debug:
variables:
BUILD_TYPE: "Debug"
<<: *cmake_def
test:cmake:release:
variables:
BUILD_TYPE: "Release"
allow_failure: true
<<: *cmake_def
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment