Skip to content

Commit

Permalink
workflows/build.yml: Use debug std C++ library
Browse files Browse the repository at this point in the history
This only has effect on platforms with the GLib C++ library.

Refer to https://gcc.gnu.org/onlinedocs/libstdc++/manual/debug_mode.html.
  • Loading branch information
rico-chet authored Nov 26, 2023
1 parent 51adc5f commit 39fc16e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
${{format(matrix.generator != 'Default Generator' && '-G "{0}"' || '', matrix.generator)}}
CMAKE_INSTALL_PREFIX: "${{ github.workspace }}/install-prefix"
CMAKE_BUILD_TYPE: Debug
CMAKE_CXX_FLAGS_DEBUG: -g -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC
runs-on: ${{ matrix.os }}
steps:

Expand Down

0 comments on commit 39fc16e

Please sign in to comment.