Commit graph

946 commits

Author SHA1 Message Date
Alexander Grund
cb9e7e226b
Enable -Wsuggest-override for tests in CMake 2026-07-05 11:31:58 +02:00
Alexander Grund
53aa393d53
Merge pull request #135 from Flamefire/enhance-ci
Some checks are pending
CI / Build (master, clang-18, 14,17,20,23,2c, ubuntu-24.04) (push) Waiting to run
CI / Formatting (push) Waiting to run
CI / Build (17, MinGW Makefiles, windows-2022, gcc) (push) Waiting to run
CI / Build (20, Visual Studio 17 2022, windows-2022, msvc-14.3) (push) Waiting to run
CI / Build (20, Visual Studio 18 2026, windows-2025-vs2026, msvc-14.5) (push) Waiting to run
CI / Build (boost-1.86.0, clang-14, 14,17,20, ubuntu-24.04) (push) Waiting to run
CI / Build (boost-1.86.0, clang-18, 14,17,20,23,2c, ubuntu-24.04) (push) Waiting to run
CI / Build (boost-1.86.0, clang-19, 14,17,20,23,2c, ubuntu-24.04) (push) Waiting to run
CI / Build (boost-1.86.0, clang-20, 14,17,20,23,2c, ubuntu-24.04) (push) Waiting to run
CI / Build (boost-1.86.0, clang-21, 14,17,20,23,2c, ubuntu-26.04) (push) Waiting to run
CI / Build (boost-1.86.0, clang-22, -Wno-c2y-extensions, 14,17,20,23,2c, ubuntu-26.04) (push) Waiting to run
CI / Build (boost-1.86.0, gcc-10, 14,17,20, ubuntu-22.04) (push) Waiting to run
CI / Build (boost-1.86.0, gcc-13, yes, 14,2b, Collect coverage, ubuntu-24.04) (push) Waiting to run
CI / Build (boost-1.86.0, gcc-14, 14,17,20,23,2c, ubuntu-24.04) (push) Waiting to run
CI / Build (boost-1.86.0, gcc-15, 14,17,20,23,2c, ubuntu-26.04) (push) Waiting to run
CI / Build (boost-1.86.0, gcc-16, 14,17,20,23,26, ubuntu-26.04) (push) Waiting to run
CI / Build (boost-1.86.0, gcc-7, ubuntu:20.04, 14,17, ubuntu-latest) (push) Waiting to run
CI / Build (latest, Visual Studio 18 2026, windows-2025-vs2026, msvc-14.5) (push) Waiting to run
CI / Build (master, clang-22, -Wno-c2y-extensions, 14,17,20,23,2c, ubuntu-26.04) (push) Waiting to run
CI / Build (master, gcc-12, 14,17,20, ubuntu-22.04) (push) Waiting to run
CI / Build (master, gcc-14, 14,17,20,23,2c, ubuntu-24.04) (push) Waiting to run
CI / Build (master, gcc-16, 14,17,20,23,26, ubuntu-26.04) (push) Waiting to run
Release / Create Release (push) Waiting to run
Enhance CI
2026-07-05 11:24:08 +02:00
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
888cdde37a
Appveyor: Split VS 2026 job due to timeout 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
fdff688202 Update appveyor config 2026-06-29 12:30:11 +02:00
Alexander Grund
943f39440f Show b2 invocation 2026-06-29 12:30:09 +02:00
Alexander Grund
2a9438ea7e
Merge pull request #132 from Farmer-Markus/android
Added boost source build support
2025-08-24 12:21:17 +02:00
Farmer_Markus
bfd964961e Added boost source build support 2025-08-15 19:38:06 +02:00
Alexander Grund
ad456c684b
Merge pull request #131 from Flamefire/gha-windows
Add Windows runners to GHA CI
2025-06-15 11:08:45 +02:00
Alexander Grund
f974db3b08 Increase verbosity of Boost tests in Appveyor 2025-06-13 15:40:37 +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
d8809dca2a Improve check for std::uncaught_exceptions
GCC 8 on MinGW still warns about that.
Check the version of the feature macro and add parens to ensure correct
evaluation.
2025-06-11 15:16:36 +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
0d4a9f1e33
Remove std::bind1st test for C++17 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
Alexander Grund
8151fe20c7
Merge pull request #130 from Flamefire/appveyor-cxx
Enhance CI
2025-05-02 12:37:41 +02:00
Alexander Grund
a334c4fb3b Split appveyor jobs to fit time limit 2025-04-30 15:40:17 +02:00
Alexander Grund
78a4fbe129 Fix test in C++17 and up 2025-04-30 12:36:56 +02:00
Alexander Grund
c34cbb56ab Add MOCK_CXX_VERSION macro 2025-04-30 12:32:02 +02:00
Alexander Grund
f18da714f2 Make inspect target explicit 2025-04-30 09:28:18 +02:00
Alexander Grund
2e2a6525ba Appveyor: Add VS 2022 builds 2025-04-30 09:28:18 +02:00
Alexander Grund
3555de3c89 Appveyor: Update Boost version for VS 2019 2025-04-30 09:11:20 +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
20dafe08a6 Remove some detail macros and rename parameters for readability 2025-04-21 11:58:18 +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
Alexander Grund
26583bebf3
GHA: Fix doc build
Use Boost 1.87 to include fix for libxslt 1.1.35:  https://github.com/boostorg/boostbook/issues/14
2025-04-05 18:38:43 +02:00
Alexander Grund
d675a05d95
Require CMake 3.16
With CMake 4 compatibility with CMake 3.5 was dropped and 3.10 deprecated.
Use a reasonably new lower bound based on Ubuntu 20
2025-04-05 18:27:25 +02:00
Mathieu Champlon
d8808f56e9
Merge pull request #125 from mat007/prepare-release
Prepare v2.0.0
2024-10-02 13:33:51 +02:00
Mathieu Champlon
e9f6716aa8 Bump version to 2.0.0 2024-09-29 20:42:36 +02:00
Mathieu Champlon
2a54301cc3
Merge pull request #123 from mat007/prepare-release
Prepare v2.0.0 release
2024-09-29 19:50:20 +02:00
Mathieu Champlon
5b498ff551 Add more prominent link to documentation 2024-09-29 17:54:26 +02:00
Mathieu Champlon
9d5689a588 Bump requirement to a C++14 compiler 2024-09-29 17:54:26 +02:00
Mathieu Champlon
ebadb64b6e Prepare v2.0.0 release 2024-09-29 17:54:26 +02:00
Mathieu Champlon
636c59b93a
Merge pull request #124 from mat007/fix-ci
Fix CI
2024-09-29 14:52:23 +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
a3c9605237
Merge pull request #122 from mat007/rename-master-to-main
Rename master branch to main
2024-09-28 11:47:52 +02:00
Mathieu Champlon
f6f3990ddf Rename master branch to main 2024-09-28 11:06:17 +02:00
Alexander Grund
1796f40e58
Merge pull request #119 from Flamefire/update-gha
GHA: Update deprecated images and workflows
2023-08-15 12:13:27 +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