Commit graph

26 commits

Author SHA1 Message Date
Alexander Grund
64fa700f2d
GHA: Fix CMake tests on MinGW
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.
2026-07-04 12:37:03 +02:00
Alexander Grund
adcd02ec05
Ignore some lcov warnings/errors 2026-07-04 12:37:02 +02:00
Alexander Grund
2b5f9788a5
Fix coverage job
Use GCC 13 for coverage
Using a container seems to conflict with the upload action, likely as
paths are different.
2026-07-04 12:37:02 +02:00
Alexander Grund
8e7bcd2be9
Pin github actions to commit for security 2026-07-03 19:46:48 +02:00
Alexander Grund
df41ca9b84
Silence c2y-extensions warning
Triggered by use of `__COUNTER__` in Boost.Test
2026-07-03 19:46:45 +02:00
Alexander Grund
e88fa7db49 CI: Fix C++ standard handling for CMake build 2026-06-29 12:30:11 +02:00
Alexander Grund
4caab62ae0 Add newer compilers to GHA CI 2026-06-29 12:30:11 +02:00
Alexander Grund
943f39440f Show b2 invocation 2026-06-29 12:30:09 +02:00
Alexander Grund
68e66eefb4 Workaround file-too-big error on MinGW CI 2025-06-12 09:28:40 +02:00
Alexander Grund
2f02e9c870 Use MinGW generator for GCC on Windows 2025-06-12 09:18:11 +02:00
Alexander Grund
3980cc97e1
Fix CMake parallel flag for MSVC 2025-06-09 18:27:33 +02:00
Alexander Grund
66bfbe115c
Set stage dir as boost root 2025-06-09 14:18:33 +02:00
Alexander Grund
6683b829c3
CI: Add Boost debug output to CMake search 2025-06-09 14:18:33 +02:00
Alexander Grund
29c7e2d067
GHA: Separate out doc and inspect builds
Don't run doc build on Windows due to missing dependencies.
Use separate steps for different builds to easier differentiate them.
2025-06-09 14:18:32 +02:00
Alexander Grund
1d2fb3f3df
GHA: Add Windows builds 2025-06-09 14:18:32 +02:00
Flamefire
d7c80fbf28 GHA: Fix ownership of repo in container
Avoid:
> fatal: detected dubious ownership in repository at '/__w/turtle/turtle'

by adding that path to the git `safe.path`.
This is caused by the command(s) running inside the container but the
folder being created outside the container so the owner inside the container is not what is expected by git.
2025-04-30 09:11:20 +02:00
Alexander Grund
cd6f5ea70d Fix GHA CI
Move Ubuntu 20.04 tests to containers as that runner image has been removed.
2025-04-21 11:21:25 +02:00
Mathieu Champlon
80f8cc5e49 Test more recent compiler and boost versions 2024-09-29 14:08:56 +02:00
Mathieu Champlon
6b735c4c03 Bump actions/checkout to v4 2024-09-28 12:25:38 +02:00
Mathieu Champlon
f6f3990ddf Rename master branch to main 2024-09-28 11:06:17 +02:00
Alexander Grund
5aff52fcca Use newer CMake for Ubuntu 18 to make it find newer Boost 2023-08-15 09:47:38 +02:00
Alexander Grund
418d12b637
GHA: Update deprecated images and workflows
The Ubuntu 18.04 runners were deprecated and removed.
`actions/checkout@v2` uses node12 which is deprecated.
Same for `actions/cache@v2`
2023-08-13 20:33:25 +02:00
Alexander Grund
50ea9982ed Move the boost-root to a sibling folder
This keeps the correct paths of our files in the coverage data.
2022-02-09 11:47:37 +01:00
Alexander Grund
f186dfbab0 Fix root path of coverage upload
The repo files were moved to a subfolder which confuses the coverage UI
2022-02-09 11:47:37 +01:00
Alexander Grund
ee72e8b9d8
Format code using Clang-Format 10 and enforce via CI
Makes the format of the code base uniform.
2022-01-24 16:30:59 +01:00
Alexander Grund
23ed9584a0
Update CI
- Move travis to GHA (travis is dead for OSS)
- Update Boost on appveyor
2022-01-07 23:17:08 +01:00