Skip to content

Commit a0d8113

Browse files
committed
fixup! ci: Test CMake edge cases
Now flags from depends are followed by the per-configuration flags. We have to override the default "-O0 -g" flags to achieve the same flags as in the master branch. For any other configuration, which does not define specific macros etc, it will be enough to use the "None" configuration to do not override the flags from depends.
1 parent f8b3df2 commit a0d8113

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.github/workflows/ci.yml

Whitespace-only changes.

.github/workflows/cmake.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ jobs:
270270
triplet: 'x86_64-w64-mingw32'
271271
packages: 'g++-mingw-w64-x86-64-posix'
272272
depends_options: 'DEBUG=1'
273-
configure_options: '-DCMAKE_BUILD_TYPE=Debug'
273+
configure_options: '-DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS_DEBUG="-O1 -g"'
274274
cache_suffix: '-debug'
275275
exe_extension: '.exe'
276276

0 commit comments

Comments
 (0)