Skip to content

Commit

Permalink
Debug mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoinvaz committed Dec 29, 2023
1 parent 102033c commit dfc05d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ jobs:

- name: Compiling source code
run: |
cmake -S . -B build ${{ matrix.cmake-args }} -D BUILD_SHARED_LIBS=OFF -D CMAKE_BUILD_TYPE=MinSizeRel
cmake --build build --config MinSizeRel
cmake -S . -B build ${{ matrix.cmake-args }} -D BUILD_SHARED_LIBS=OFF -D CMAKE_BUILD_TYPE=Debug
cmake --build build --config Debug
env:
CC: ${{ matrix.compiler }}
CXX: ${{ matrix.cxx-compiler }}

- name: Run tests
run: ctest --verbose -C MinSizeRel --output-on-failure
run: ctest --verbose -C Debug --output-on-failure
working-directory: build

0 comments on commit dfc05d8

Please sign in to comment.