Enhance CI#135
Merged
Merged
Conversation
Triggered by use of `__COUNTER__` in Boost.Test
Use GCC 13 for coverage Using a container seems to conflict with the upload action, likely as paths are different.
The runners have MinGW installed in 2 locations: - C:\Program Files\Git\mingw64 uses msvcrt.dll and ucrtbase.dll - C:\mingw64 uses only (the new) ucrtbase.dll CMake is using the compiler from C:\mingw64 but at runtime it is still loading the `libstdc++-6.dll` from the Git-MinGW as it is started from the Git bash. This causes conflicts with functions compiled into the executable and those used by the runtime. Most notably the string from `abi::__cxa_demangle` is allocated on a different heap so freeing it with `free` called from the executable corrupts the heap leading to a SIGSEGV / Exit code 0xc0000374 in the tests. B2 doesn't suffer from this as it modifies `$PATH` when running each test such that the right libraries are used. Do it similarly in the GHA-CI config.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
-Wc2y-extensionson CI emitted by Clang 22 due to Boost.Testinconsistent,mismatch,unused, false positives mostly due to Boost.Test magiclibstdc++-6.dll(/mingw64and Git-MinGW)