Skip to content

Commit

Permalink
workflows/build.yml: Fix conditional syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
rico-chet authored Nov 26, 2023
1 parent 62e40e3 commit 0972a2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +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 ${{ matrix.googletest == 'build' && '-D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC' }}
CMAKE_CXX_FLAGS_DEBUG: ${{ matrix.googletest == 'build' && '-g -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC' || '-g' }}
runs-on: ${{ matrix.os }}
steps:

Expand Down

0 comments on commit 0972a2f

Please sign in to comment.