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
Loading
Loading
Loading
Loading
Loading
+13 −2
Original line number Diff line number Diff line
@@ -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