From 0094f1403d771f5deb42357be2d7a49070c01126 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Tue, 23 Jun 2026 08:49:38 +0200 Subject: [PATCH 01/18] GHA: Use the shared workflow from Boost.CI for tests --- .github/workflows/ci.yml | 614 ++------------------------------------- 1 file changed, 30 insertions(+), 584 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 24a0b1466b..281e084596 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,12 +1,23 @@ +# # Copyright 2020-2021 Peter Dimov # Copyright 2021 Andrey Semashev -# Copyright 2021 Alexander Grund -# Copyright 2022 James E. King III +# Copyright 2021-2026 Alexander Grund +# Copyright 2022-2025 James E. King III # # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt) +# +# This workflow uses the Boost.CI reusable workflow which builds a variety of +# configurations of your project, runs tests, and generates code coverage reports. +# +# To use it, copy this file into your repository as `.github/workflows/ci.yml` and +# customize it appropriately. +# --- -name: CI +name: Boost.CI + +permissions: + contents: read on: pull_request: @@ -17,587 +28,22 @@ on: - bugfix/** - feature/** - fix/** + - github/** - pr/** - -concurrency: - group: ${{format('{0}:{1}', github.repository, github.ref)}} - cancel-in-progress: true - -env: - GIT_FETCH_JOBS: 8 - NET_RETRY_COUNT: 5 - DEFAULT_BUILD_VARIANT: release + paths-ignore: + - LICENSE + - meta/** + - README.md jobs: - posix: - defaults: - run: - shell: bash - - strategy: - fail-fast: false - matrix: - include: - - toolset: gcc-5 - cxxstd: "11" - address_model: 64 - os: ubuntu-latest - container: ubuntu:16.04 - install: - - g++-5-multilib - - toolset: gcc-5 - cxxstd: "11-gnu" - address_model: 64 - os: ubuntu-latest - container: ubuntu:16.04 - install: - - g++-5-multilib - - toolset: gcc-6 - cxxstd: "11,14" - address_model: 64 - os: ubuntu-latest - container: ubuntu:18.04 - install: - - g++-6-multilib - - toolset: gcc-7 - cxxstd: "14,17" - address_model: 64 - os: ubuntu-latest - container: ubuntu:18.04 - install: - - g++-7-multilib - - toolset: gcc-8 - cxxstd: "17,2a" - address_model: 64 - os: ubuntu-latest - container: ubuntu:18.04 - install: - - g++-8-multilib - - toolset: gcc-9 - cxxstd: "17,2a" - address_model: 64 - os: ubuntu-latest - container: ubuntu:20.04 - install: - - g++-9-multilib - - toolset: gcc-9 - cxxstd: "17-gnu,2a-gnu" - address_model: 64 - os: ubuntu-latest - container: ubuntu:20.04 - install: - - g++-9-multilib - - toolset: gcc-10 - cxxstd: "17,20" - address_model: 64 - os: ubuntu-latest - container: ubuntu:20.04 - install: - - g++-10-multilib - - toolset: gcc-11 - cxxstd: "20,23" - address_model: 64 - os: ubuntu-22.04 - install: - - g++-11-multilib - - toolset: gcc-12 - cxxstd: "20,23" - address_model: 64 - os: ubuntu-22.04 - install: - - g++-12-multilib - - toolset: gcc-12 - cxxstd: "20-gnu,23-gnu" - address_model: 64 - os: ubuntu-22.04 - install: - - g++-12-multilib - - name: UBSAN - toolset: gcc-13 - cxxstd: "11" - address_model: 64 - ubsan: 1 - os: ubuntu-24.04 - install: - - g++-13-multilib - - # Linux, clang - - toolset: clang - compiler: clang++-3.8 - cxxstd: "11" - os: ubuntu-latest - container: ubuntu:16.04 - install: - - clang-3.8 - - toolset: clang - compiler: clang++-3.9 - cxxstd: "11,14" - os: ubuntu-latest - container: ubuntu:18.04 - install: - - clang-3.9 - - toolset: clang - compiler: clang++-4.0 - cxxstd: "11" - os: ubuntu-latest - container: ubuntu:18.04 - install: - - clang-4.0 - - toolset: clang - compiler: clang++-5.0 - cxxstd: "11,14" - os: ubuntu-latest - container: ubuntu:18.04 - install: - - clang-5.0 - - toolset: clang - compiler: clang++-6.0 - cxxstd: "14,1z" - os: ubuntu-latest - container: ubuntu:18.04 - install: - - clang-6.0 - - toolset: clang - compiler: clang++-7 - cxxstd: "14,17" - os: ubuntu-latest - container: ubuntu:18.04 - install: - - clang-7 - # Note: clang-8 does not fully support C++20, so it is not compatible with libstdc++-8 in this mode - - toolset: clang - compiler: clang++-8 - cxxstd: "14,17" - os: ubuntu-latest - container: ubuntu:18.04 - install: - - clang-8 - - g++-7 - gcc_toolchain: 7 - - toolset: clang - compiler: clang++-9 - cxxstd: "17,2a" - os: ubuntu-latest - container: ubuntu:20.04 - install: - - clang-9 - - toolset: clang - compiler: clang++-10 - cxxstd: "17,20" - os: ubuntu-latest - container: ubuntu:20.04 - install: - - clang-10 - - toolset: clang - compiler: clang++-11 - cxxstd: "17" - os: ubuntu-22.04 - install: - - clang-11 - - toolset: clang - compiler: clang++-12 - cxxstd: "17" - os: ubuntu-22.04 - install: - - clang-12 - - toolset: clang - compiler: clang++-13 - cxxstd: "17" - os: ubuntu-22.04 - install: - - clang-13 - - toolset: clang - compiler: clang++-14 - cxxstd: "17" - os: ubuntu-22.04 - install: - - clang-14 - - toolset: clang - compiler: clang++-14 - cxxstd: "17-gnu" - os: ubuntu-22.04 - install: - - clang-14 - - toolset: clang - compiler: clang++-15 - cxxstd: "20" - os: ubuntu-22.04 - install: - - clang-15 - sources: - - "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-15 main" - source_keys: - - "https://apt.llvm.org/llvm-snapshot.gpg.key" - - toolset: clang - compiler: clang++-15 - cxxstd: "20" - os: ubuntu-22.04 - install: - - clang-15 - - libc++-15-dev - - libc++abi-15-dev - sources: - - "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-15 main" - source_keys: - - "https://apt.llvm.org/llvm-snapshot.gpg.key" - cxxflags: -stdlib=libc++ - linkflags: -stdlib=libc++ - - name: UBSAN - toolset: clang - compiler: clang++-14 - cxxstd: "17" - cxxflags: -stdlib=libc++ - linkflags: -stdlib=libc++ - ubsan: 1 - os: ubuntu-22.04 - install: - - clang-14 - - libc++-14-dev - - libc++abi-14-dev - - - toolset: clang - cxxstd: "20" - os: macos-14 - - toolset: clang - cxxstd: "20" - os: macos-15 - - runs-on: ${{matrix.os}} - container: - image: ${{matrix.container}} - volumes: - - /node20217:/node20217:rw,rshared - - ${{ startsWith(matrix.container, 'ubuntu:1') && '/node20217:/__e/node20:ro,rshared' || ' ' }} - - steps: - - name: Setup environment - run: | - if [ -f "/etc/debian_version" ] - then - echo "DEBIAN_FRONTEND=noninteractive" >> $GITHUB_ENV - export DEBIAN_FRONTEND=noninteractive - fi - if [ -n "${{matrix.container}}" ] - then - echo "GHA_CONTAINER=${{matrix.container}}" >> $GITHUB_ENV - if [ -f "/etc/debian_version" ] - then - apt-get -o Acquire::Retries=$NET_RETRY_COUNT update - if [ "$(apt-cache search "^python-is-python3$" | wc -l)" -ne 0 ] - then - PYTHON_PACKAGE="python-is-python3" - else - PYTHON_PACKAGE="python" - fi - apt-get -o Acquire::Retries=$NET_RETRY_COUNT install -y sudo software-properties-common tzdata wget curl apt-transport-https ca-certificates make build-essential g++ $PYTHON_PACKAGE python3 perl git cmake - fi - if [[ "${{matrix.container}}" == "ubuntu:1"* ]]; then - # Node 20 doesn't work with Ubuntu 16/18 glibc: https://github.com/actions/checkout/issues/1590 - curl -sL https://archives.boost.io/misc/node/node-v20.9.0-linux-x64-glibc-217.tar.xz | tar -xJ --strip-components 1 -C /node20217 - fi - fi - git config --global pack.threads 0 - - uses: actions/checkout@v4 - - - name: Install packages - if: matrix.install - run: | - declare -a SOURCE_KEYS SOURCES - if [ -n "${{join(matrix.source_keys, ' ')}}" ] - then - SOURCE_KEYS=("${{join(matrix.source_keys, '" "')}}") - fi - if [ -n "${{join(matrix.sources, ' ')}}" ] - then - SOURCES=("${{join(matrix.sources, '" "')}}") - fi - for key in "${SOURCE_KEYS[@]}" - do - for i in {1..$NET_RETRY_COUNT} - do - echo "Adding key: $key" - wget -O - "$key" | sudo apt-key add - && break || sleep 2 - done - done - if [ ${#SOURCES[@]} -gt 0 ] - then - APT_ADD_REPO_COMMON_ARGS=("-y") - APT_ADD_REPO_SUPPORTED_ARGS="$(apt-add-repository --help | perl -ne 'if (/^\s*-n/) { print "n"; } elsif (/^\s*-P/) { print "P"; } elsif (/^\s*-S/) { print "S"; } elsif (/^\s*-U/) { print "U"; }')" - if [ -n "$APT_ADD_REPO_SUPPORTED_ARGS" -a -z "${APT_ADD_REPO_SUPPORTED_ARGS##*n*}" ] - then - APT_ADD_REPO_COMMON_ARGS+=("-n") - fi - APT_ADD_REPO_HAS_SOURCE_ARGS="$([ -n "$APT_ADD_REPO_SUPPORTED_ARGS" -a -z "${APT_ADD_REPO_SUPPORTED_ARGS##*P*}" -a -z "${APT_ADD_REPO_SUPPORTED_ARGS##*S*}" -a -z "${APT_ADD_REPO_SUPPORTED_ARGS##*U*}" ] && echo 1 || echo 0)" - for source in "${SOURCES[@]}" - do - for i in {1..$NET_RETRY_COUNT} - do - APT_ADD_REPO_ARGS=("${APT_ADD_REPO_COMMON_ARGS[@]}") - if [ $APT_ADD_REPO_HAS_SOURCE_ARGS -ne 0 ] - then - case "$source" in - "ppa:"*) - APT_ADD_REPO_ARGS+=("-P") - ;; - "deb "*) - APT_ADD_REPO_ARGS+=("-S") - ;; - *) - APT_ADD_REPO_ARGS+=("-U") - ;; - esac - fi - APT_ADD_REPO_ARGS+=("$source") - echo "apt-add-repository ${APT_ADD_REPO_ARGS[@]}" - sudo -E apt-add-repository "${APT_ADD_REPO_ARGS[@]}" && break || sleep 2 - done - done - fi - sudo apt-get -o Acquire::Retries=$NET_RETRY_COUNT update - sudo apt-get -o Acquire::Retries=$NET_RETRY_COUNT install -y ${{join(matrix.install, ' ')}} - - name: Setup GCC Toolchain - if: matrix.gcc_toolchain - run: | - GCC_TOOLCHAIN_ROOT="$HOME/gcc-toolchain" - echo "GCC_TOOLCHAIN_ROOT=\"$GCC_TOOLCHAIN_ROOT\"" >> $GITHUB_ENV - MULTIARCH_TRIPLET="$(dpkg-architecture -qDEB_HOST_MULTIARCH)" - mkdir -p "$GCC_TOOLCHAIN_ROOT" - ln -s /usr/include "$GCC_TOOLCHAIN_ROOT/include" - ln -s /usr/bin "$GCC_TOOLCHAIN_ROOT/bin" - mkdir -p "$GCC_TOOLCHAIN_ROOT/lib/gcc/$MULTIARCH_TRIPLET" - ln -s "/usr/lib/gcc/$MULTIARCH_TRIPLET/${{matrix.gcc_toolchain}}" "$GCC_TOOLCHAIN_ROOT/lib/gcc/$MULTIARCH_TRIPLET/${{matrix.gcc_toolchain}}" - - name: Setup Boost - run: | - echo GITHUB_REPOSITORY: $GITHUB_REPOSITORY - LIBRARY=${GITHUB_REPOSITORY#*/} - echo LIBRARY: $LIBRARY - echo "LIBRARY=$LIBRARY" >> $GITHUB_ENV - echo GITHUB_BASE_REF: $GITHUB_BASE_REF - echo GITHUB_REF: $GITHUB_REF - REF=${GITHUB_BASE_REF:-$GITHUB_REF} - REF=${REF#refs/heads/} - echo REF: $REF - BOOST_BRANCH=develop && [ "$REF" = "master" ] && BOOST_BRANCH=master || true - echo BOOST_BRANCH: $BOOST_BRANCH - BUILD_JOBS=$((nproc || sysctl -n hw.ncpu) 2> /dev/null) - echo "BUILD_JOBS=$BUILD_JOBS" >> $GITHUB_ENV - echo "CMAKE_BUILD_PARALLEL_LEVEL=$BUILD_JOBS" >> $GITHUB_ENV - DEPINST_ARGS=() - GIT_VERSION="$(git --version | sed -e 's/git version //')" - GIT_HAS_JOBS=1 - if [ -f "/etc/debian_version" ] - then - if $(dpkg --compare-versions "$GIT_VERSION" lt 2.8.0) - then - GIT_HAS_JOBS=0 - fi - else - declare -a GIT_VER=(${GIT_VERSION//./ }) - declare -a GIT_MIN_VER=(2 8 0) - for ((i=0; i<${#GIT_VER[@]}; i++)) - do - if [ -z "${GIT_MIN_VER[i]}" ] - then - GIT_MIN_VER[i]=0 - fi - if [ "${GIT_VER[i]}" -lt "${GIT_MIN_VER[i]}" ] - then - GIT_HAS_JOBS=0 - break - fi - done - fi - if [ "$GIT_HAS_JOBS" -ne 0 ] - then - DEPINST_ARGS+=("--git_args" "--jobs $GIT_FETCH_JOBS") - fi - cd .. - git clone -b "$BOOST_BRANCH" --depth 1 "https://github.com/boostorg/boost.git" "boost-root" - cd boost-root - mkdir -p libs/$LIBRARY - cp -r $GITHUB_WORKSPACE/* libs/$LIBRARY - git submodule update --init tools/boostdep - DEPINST_ARGS+=("$LIBRARY") - python tools/boostdep/depinst/depinst.py -I doc/examples "${DEPINST_ARGS[@]}" - if [ -z "${{matrix.cmake_tests}}" ] - then - ./bootstrap.sh - ./b2 headers - if [ -n "${{matrix.compiler}}" -o -n "$GCC_TOOLCHAIN_ROOT" ] - then - echo -n "using ${{matrix.toolset}} : : ${{matrix.compiler}}" > ~/user-config.jam - if [ -n "$GCC_TOOLCHAIN_ROOT" ] - then - echo -n " : \"--gcc-toolchain=$GCC_TOOLCHAIN_ROOT\" \"--gcc-toolchain=$GCC_TOOLCHAIN_ROOT\"" >> ~/user-config.jam - fi - echo " ;" >> ~/user-config.jam - fi - fi - - name: Run tests - if: matrix.cmake_tests == '' - run: | - cd ../boost-root - B2_ARGS=("-j" "$BUILD_JOBS" "toolset=${{matrix.toolset}}" "cxxstd=${{matrix.cxxstd}}" "link=static,shared") - if [ -n "${{matrix.build_variant}}" ] - then - B2_ARGS+=("variant=${{matrix.build_variant}}") - else - B2_ARGS+=("variant=$DEFAULT_BUILD_VARIANT") - fi - if [ -n "${{matrix.threading}}" ] - then - B2_ARGS+=("threading=${{matrix.threading}}") - fi - if [ -n "${{matrix.ubsan}}" ] - then - export UBSAN_OPTIONS="print_stacktrace=1" - B2_ARGS+=("cxxflags=-fsanitize=undefined -fno-sanitize-recover=undefined" "linkflags=-fsanitize=undefined -fuse-ld=gold" "define=UBSAN=1" "debug-symbols=on" "visibility=global") - fi - if [ -n "${{matrix.cxxflags}}" ] - then - B2_ARGS+=("cxxflags=${{matrix.cxxflags}}") - fi - if [ -n "${{matrix.linkflags}}" ] - then - B2_ARGS+=("linkflags=${{matrix.linkflags}}") - fi - if [ -n "${{matrix.address_model}}" ] - then - B2_ARGS+=("address-model=${{matrix.address_model}}") - fi - B2_ARGS+=("libs/$LIBRARY/test") - ./b2 "${B2_ARGS[@]}" - - windows: - strategy: - fail-fast: false - matrix: - include: - - toolset: msvc-14.3 - cxxstd: "20" - addrmd: 64 - os: windows-2022 - - toolset: clang-win - cxxstd: "17" - addrmd: 64 - os: windows-2022 - - toolset: gcc - cxxstd: "17" - addrmd: 64 - os: windows-2022 - - runs-on: ${{matrix.os}} - - steps: - - uses: actions/checkout@v3 - - - name: Setup Boost - shell: cmd - run: | - echo GITHUB_REPOSITORY: %GITHUB_REPOSITORY% - for /f %%i in ("%GITHUB_REPOSITORY%") do set LIBRARY=%%~nxi - echo LIBRARY: %LIBRARY% - echo LIBRARY=%LIBRARY%>>%GITHUB_ENV% - echo GITHUB_BASE_REF: %GITHUB_BASE_REF% - echo GITHUB_REF: %GITHUB_REF% - if "%GITHUB_BASE_REF%" == "" set GITHUB_BASE_REF=%GITHUB_REF% - set BOOST_BRANCH=develop - for /f %%i in ("%GITHUB_BASE_REF%") do if "%%~nxi" == "master" set BOOST_BRANCH=master - echo BOOST_BRANCH: %BOOST_BRANCH% - cd .. - git clone -b %BOOST_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root - cd boost-root - xcopy /s /e /q %GITHUB_WORKSPACE% libs\%LIBRARY%\ - git submodule update --init tools/boostdep - python tools/boostdep/depinst/depinst.py -I doc/examples --git_args "--jobs 3" %LIBRARY% - cmd /c bootstrap - b2 -d0 headers - - - name: Run tests - shell: cmd - run: | - cd ../boost-root - b2 -j3 libs/%LIBRARY%/test toolset=${{matrix.toolset}} cxxstd=${{matrix.cxxstd}} address-model=${{matrix.addrmd}} variant=release link=static,shared embed-manifest-via=linker - - CMake: - defaults: - run: - shell: bash - - strategy: - fail-fast: false - matrix: - include: - - { os: ubuntu-22.04, build_shared: ON, build_type: Debug, generator: 'Unix Makefiles' } - - { os: ubuntu-22.04, build_shared: OFF, build_type: Debug, generator: 'Unix Makefiles' } - - { os: windows-2025, build_shared: ON, build_type: Debug, generator: 'Visual Studio 17 2022' } - - { os: windows-2025, build_shared: OFF, build_type: Debug, generator: 'Visual Studio 17 2022' } - - timeout-minutes: 120 - runs-on: ${{matrix.os}} - - steps: - - uses: actions/checkout@v3 - - name: Fetch Boost.CI - uses: actions/checkout@v3 - with: - repository: boostorg/boost-ci - ref: master - path: boost-ci-cloned - - name: Get CI scripts folder - run: | - # Copy ci folder if not testing Boost.CI - [[ "$GITHUB_REPOSITORY" =~ "boost-ci" ]] || cp -r boost-ci-cloned/ci . - rm -rf boost-ci-cloned - - name: Setup Boost - env: {B2_DONT_BOOTSTRAP: 1} - run: source ci/github/install.sh - - - name: Run CMake tests - run: | - cd "$BOOST_ROOT" - mkdir __build_cmake_test__ && cd __build_cmake_test__ - cmake -G "${{matrix.generator}}" -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DBOOST_INCLUDE_LIBRARIES=$SELF -DBUILD_SHARED_LIBS=${{matrix.build_shared}} -DBUILD_TESTING=ON -DBoost_VERBOSE=ON .. - cmake --build . --target tests --config ${{matrix.build_type}} -j$B2_JOBS - ctest --output-on-failure --build-config ${{matrix.build_type}} - - - name: Run CMake subdir tests - run: | - cmake_test_folder="$BOOST_ROOT/libs/$SELF/test/cmake_test" # New unified folder - [ -d "$cmake_test_folder" ] || cmake_test_folder="$BOOST_ROOT/libs/$SELF/test/cmake_subdir_test" - cd "$cmake_test_folder" - mkdir __build_cmake_subdir_test__ && cd __build_cmake_subdir_test__ - extra_args="" - # On Windows DLLs need to be either in PATH or in the same folder as the executable, so put all binaries into the same folder - if [[ "$RUNNER_OS" == "Windows" ]] && [[ "${{matrix.build_shared}}" == "ON" ]]; then - extra_args="-DCMAKE_RUNTIME_OUTPUT_DIRECTORY='$(pwd)/bin'" - fi - cmake -G "${{matrix.generator}}" -DBOOST_CI_INSTALL_TEST=OFF -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DBUILD_SHARED_LIBS=${{matrix.build_shared}} $extra_args .. - cmake --build . --config ${{matrix.build_type}} -j$B2_JOBS - ctest --output-on-failure --build-config ${{matrix.build_type}} - - - name: Install Library - run: | - BCM_INSTALL_PATH=/tmp/boost_install - echo "BCM_INSTALL_PATH=$BCM_INSTALL_PATH" >> $GITHUB_ENV - cd "$BOOST_ROOT" - mkdir __build_cmake_install_test__ && cd __build_cmake_install_test__ - cmake -G "${{matrix.generator}}" -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DBOOST_INCLUDE_LIBRARIES=$SELF -DBUILD_SHARED_LIBS=${{matrix.build_shared}} -DCMAKE_INSTALL_PREFIX="$BCM_INSTALL_PATH" -DBoost_VERBOSE=ON -DBoost_DEBUG=ON .. - cmake --build . --target install --config ${{matrix.build_type}} -j$B2_JOBS - - name: Run CMake install tests - run: | - cmake_test_folder="$BOOST_ROOT/libs/$SELF/test/cmake_test" # New unified folder - [ -d "$cmake_test_folder" ] || cmake_test_folder="$BOOST_ROOT/libs/$SELF/test/cmake_install_test" - cd "$cmake_test_folder" - mkdir __build_cmake_install_test__ && cd __build_cmake_install_test__ - cmake -G "${{matrix.generator}}" -DBOOST_CI_INSTALL_TEST=ON -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DBUILD_SHARED_LIBS=${{matrix.build_shared}} -DCMAKE_PREFIX_PATH="$BCM_INSTALL_PATH" .. - cmake --build . --config ${{matrix.build_type}} -j$B2_JOBS - if [[ "${{matrix.build_shared}}" == "ON" ]]; then - # Make sure shared libs can be found at runtime - if [ "$RUNNER_OS" == "Windows" ]; then - export PATH="$BCM_INSTALL_PATH/bin:$PATH" - else - export LD_LIBRARY_PATH="$BCM_INSTALL_PATH/lib:$LD_LIBRARY_PATH" - fi - fi - ctest --output-on-failure --build-config ${{matrix.build_type}} + call-boost-ci: + name: Run Boost.CI + uses: boostorg/boost-ci/.github/workflows/reusable.yml@master + # Customization: + with: + enable_reflection: false + depinst_args: --include doc/examples + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + COVERITY_SCAN_NOTIFICATION_EMAIL: ${{ secrets.COVERITY_SCAN_NOTIFICATION_EMAIL }} + COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }} From 0278b2159a3812bbf86aa7df56d74f164b9afa83 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Thu, 25 Jun 2026 11:47:12 +0200 Subject: [PATCH 02/18] Exclude GCC 4.8 & 4.9 --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 281e084596..defe89c078 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,6 +43,7 @@ jobs: with: enable_reflection: false depinst_args: --include doc/examples + exclude_compiler: 'gcc-4.7,gcc-4.8,gcc-4.9' secrets: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} COVERITY_SCAN_NOTIFICATION_EMAIL: ${{ secrets.COVERITY_SCAN_NOTIFICATION_EMAIL }} From 2127abeb2ea997b92d24620cc484734dd80ae6f4 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Thu, 25 Jun 2026 15:08:08 +0200 Subject: [PATCH 03/18] Disable Cygwin CI --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index defe89c078..ca16faa043 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,7 @@ jobs: uses: boostorg/boost-ci/.github/workflows/reusable.yml@master # Customization: with: - enable_reflection: false + enable_cygwin: false depinst_args: --include doc/examples exclude_compiler: 'gcc-4.7,gcc-4.8,gcc-4.9' secrets: From da2733277be245e404caa21866495cde284958e3 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Thu, 25 Jun 2026 19:58:58 +0200 Subject: [PATCH 04/18] Disable clang-3.6 CI --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ca16faa043..4640a8c5f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,7 @@ jobs: with: enable_cygwin: false depinst_args: --include doc/examples - exclude_compiler: 'gcc-4.7,gcc-4.8,gcc-4.9' + exclude_compiler: 'gcc-4.7,gcc-4.8,gcc-4.9,clang-3.6' secrets: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} COVERITY_SCAN_NOTIFICATION_EMAIL: ${{ secrets.COVERITY_SCAN_NOTIFICATION_EMAIL }} From 7b71ea58a7c0c3c2cc1966dc5b6f9576c8739b3a Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Mon, 6 Jul 2026 08:43:20 +0200 Subject: [PATCH 05/18] Split jobs to 2 C++ standards per run GHA CI runners run out of memory with the amount of tests and combinations. --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4640a8c5f8..d7c2c33e7f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,6 +44,7 @@ jobs: enable_cygwin: false depinst_args: --include doc/examples exclude_compiler: 'gcc-4.7,gcc-4.8,gcc-4.9,clang-3.6' + max_cxx_stds_per_job: 2 secrets: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} COVERITY_SCAN_NOTIFICATION_EMAIL: ${{ secrets.COVERITY_SCAN_NOTIFICATION_EMAIL }} From a72743b0a29f941a1ef43e051d7df95e4d0a63e6 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Mon, 6 Jul 2026 13:21:16 +0200 Subject: [PATCH 06/18] Exclude failing jobs --- .github/workflows/ci.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d7c2c33e7f..20d6333599 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,9 +43,14 @@ jobs: with: enable_cygwin: false depinst_args: --include doc/examples - exclude_compiler: 'gcc-4.7,gcc-4.8,gcc-4.9,clang-3.6' + exclude_compiler: 'gcc-4.7,gcc-4.8,gcc-4.9,clang-3.6,gcc-15,clang-11,clang-12' + exclude_cxxstd: '2b' + exclude_os: 'ubuntu-24.04-arm,macos-26' + enable_mingw: false + enable_multiarch: false max_cxx_stds_per_job: 2 + slow_sanitizer_jobs: true secrets: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + #CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} COVERITY_SCAN_NOTIFICATION_EMAIL: ${{ secrets.COVERITY_SCAN_NOTIFICATION_EMAIL }} - COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }} + #COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }} From 4e0a25269ff0163ecd90468b97bb9c41f37ccd45 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Mon, 6 Jul 2026 13:30:30 +0200 Subject: [PATCH 07/18] Exclude C++ < 11 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 20d6333599..1d42b88119 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,7 +44,7 @@ jobs: enable_cygwin: false depinst_args: --include doc/examples exclude_compiler: 'gcc-4.7,gcc-4.8,gcc-4.9,clang-3.6,gcc-15,clang-11,clang-12' - exclude_cxxstd: '2b' + exclude_cxxstd: '98,03,0x,2b' exclude_os: 'ubuntu-24.04-arm,macos-26' enable_mingw: false enable_multiarch: false From 2b0f654cd77d31deb613a8289f86bd160a2fe2a5 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Thu, 9 Jul 2026 10:51:25 +0200 Subject: [PATCH 08/18] Disable only branch coverage instead of all coverage --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1d42b88119..5de8dca83a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,6 +41,7 @@ jobs: uses: boostorg/boost-ci/.github/workflows/reusable.yml@master # Customization: with: + branch_coverage: false enable_cygwin: false depinst_args: --include doc/examples exclude_compiler: 'gcc-4.7,gcc-4.8,gcc-4.9,clang-3.6,gcc-15,clang-11,clang-12' @@ -51,6 +52,6 @@ jobs: max_cxx_stds_per_job: 2 slow_sanitizer_jobs: true secrets: - #CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} COVERITY_SCAN_NOTIFICATION_EMAIL: ${{ secrets.COVERITY_SCAN_NOTIFICATION_EMAIL }} - #COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }} + COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }} From a3dd9239fe4398db96fb2448a747ed1123b3f383 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Thu, 9 Jul 2026 10:51:55 +0200 Subject: [PATCH 09/18] Use 3h CI timeout and use filter rules to reduce excluded configs --- .github/workflows/ci.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5de8dca83a..68a0ebbde1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,13 +44,15 @@ jobs: branch_coverage: false enable_cygwin: false depinst_args: --include doc/examples - exclude_compiler: 'gcc-4.7,gcc-4.8,gcc-4.9,clang-3.6,gcc-15,clang-11,clang-12' - exclude_cxxstd: '98,03,0x,2b' - exclude_os: 'ubuntu-24.04-arm,macos-26' enable_mingw: false enable_multiarch: false - max_cxx_stds_per_job: 2 - slow_sanitizer_jobs: true + timeout: 180 + exclude_jobs: | + compiler: 'clang-11,clang-12', cxxstd: '17,20' # github_issue_475 + compiler: clang-16, cxxstd: 2b # dataset_example67, /include/c++/14/bits/stl_pair.h:411:14: error: no matching function for call to 'get' + compiler: icpx-2025 # Different output leading to fail in test-macro-global-fixture.cpp + os: macos-26 # basic_cstring-test: Missing 'std::char_traits' on ARM + os: ubuntu-24.04-arm # system-exception-test fails secrets: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} COVERITY_SCAN_NOTIFICATION_EMAIL: ${{ secrets.COVERITY_SCAN_NOTIFICATION_EMAIL }} From ee11e1a9ddd4b8f0a0d54871e9511d68633832f3 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Thu, 9 Jul 2026 13:56:16 +0200 Subject: [PATCH 10/18] Exclude more failing jobs --- .github/workflows/ci.yml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 68a0ebbde1..f3c3983928 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,18 +42,26 @@ jobs: # Customization: with: branch_coverage: false + enable_pr_coverage: false # Disabled: Too many issues with lcov enable_cygwin: false depinst_args: --include doc/examples enable_mingw: false enable_multiarch: false timeout: 180 exclude_jobs: | - compiler: 'clang-11,clang-12', cxxstd: '17,20' # github_issue_475 - compiler: clang-16, cxxstd: 2b # dataset_example67, /include/c++/14/bits/stl_pair.h:411:14: error: no matching function for call to 'get' - compiler: icpx-2025 # Different output leading to fail in test-macro-global-fixture.cpp - os: macos-26 # basic_cstring-test: Missing 'std::char_traits' on ARM - os: ubuntu-24.04-arm # system-exception-test fails + compiler: 'gcc-4.8,gcc-4.9' # Not C++11 compliant enough for Boost.Test + compiler: clang-4.0, cxxstd: '14' # log-formatter-test: Different output + compiler: clang-16, cxxstd: '11' # log-formatter-test: Different output + compiler: clang-5.0, cxxstd: '11' # No space left on device for 3 C++ standards + compiler: 'clang-11,clang-12', cxxstd: '17,20' # github_issue_475 + compiler: clang-16, cxxstd: 2b # dataset_example67, /include/c++/14/bits/stl_pair.h:411:14: error: no matching function for call to 'get' + compiler: icpx-2025 # test-macro-global-fixture.cpp: Different output + os: macos-26 # basic_cstring-test: Missing 'std::char_traits' on ARM + os: ubuntu-24.04-arm # system-exception-test fails + os: macos, sanitize: yes, cxxstd: '11,14,17,20' # Reduce number of configurations + os: windows, cxxstd: '11,14' # Reduce number of configurations + os: windows, 'address-model': 32 # Reduce number of configurations, test only 64bit secrets: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + # CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} Disabled: Too many issues with lcov COVERITY_SCAN_NOTIFICATION_EMAIL: ${{ secrets.COVERITY_SCAN_NOTIFICATION_EMAIL }} COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }} From d22e970c61e4cb7832f8bb0c81098c85d3a6d8fa Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Fri, 10 Jul 2026 08:53:20 +0200 Subject: [PATCH 11/18] Reduce C++ standards tested per job to 2 --- .github/workflows/ci.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3c3983928..795ffadb1f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,19 +48,23 @@ jobs: enable_mingw: false enable_multiarch: false timeout: 180 + max_cxx_stds_per_job: 2 # Too many configurations per job(?) exclude_jobs: | compiler: 'gcc-4.8,gcc-4.9' # Not C++11 compliant enough for Boost.Test - compiler: clang-4.0, cxxstd: '14' # log-formatter-test: Different output - compiler: clang-16, cxxstd: '11' # log-formatter-test: Different output - compiler: clang-5.0, cxxstd: '11' # No space left on device for 3 C++ standards + compiler: 'clang-3.9,clang-4.0', cxxstd: 14 # log-formatter-test: Different output + compiler: clang-16, cxxstd: 11 # log-formatter-test: Different output compiler: 'clang-11,clang-12', cxxstd: '17,20' # github_issue_475 - compiler: clang-16, cxxstd: 2b # dataset_example67, /include/c++/14/bits/stl_pair.h:411:14: error: no matching function for call to 'get' compiler: icpx-2025 # test-macro-global-fixture.cpp: Different output os: macos-26 # basic_cstring-test: Missing 'std::char_traits' on ARM os: ubuntu-24.04-arm # system-exception-test fails os: macos, sanitize: yes, cxxstd: '11,14,17,20' # Reduce number of configurations os: windows, cxxstd: '11,14' # Reduce number of configurations os: windows, 'address-model': 32 # Reduce number of configurations, test only 64bit + # Unknown (not displayed on GHA) + #compiler: 'clang-3.8', cxxstd: 14 + #compiler: 'clang-5', cxxstd: 1z + #compiler: 'clang-10', cxxstd: '11,14' + secrets: # CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} Disabled: Too many issues with lcov COVERITY_SCAN_NOTIFICATION_EMAIL: ${{ secrets.COVERITY_SCAN_NOTIFICATION_EMAIL }} From dd8e5ef317742dfb38d807932122f598babaeaa0 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Fri, 10 Jul 2026 12:58:10 +0200 Subject: [PATCH 12/18] Disable log-formatter-test --- .github/workflows/ci.yml | 2 -- test/Jamfile.v2 | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 795ffadb1f..ea16f77612 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,8 +51,6 @@ jobs: max_cxx_stds_per_job: 2 # Too many configurations per job(?) exclude_jobs: | compiler: 'gcc-4.8,gcc-4.9' # Not C++11 compliant enough for Boost.Test - compiler: 'clang-3.9,clang-4.0', cxxstd: 14 # log-formatter-test: Different output - compiler: clang-16, cxxstd: 11 # log-formatter-test: Different output compiler: 'clang-11,clang-12', cxxstd: '17,20' # github_issue_475 compiler: icpx-2025 # test-macro-global-fixture.cpp: Different output os: macos-26 # basic_cstring-test: Missing 'std::char_traits' on ARM diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 9e8ca58a7c..c42af8f42f 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -145,7 +145,8 @@ test-suite "usage-variants-ts" test-suite "framework-ts" : # [ boost.test-self-test run : framework-ts : result-report-test : : baseline-outputs/result-report-test.pattern baseline-outputs/result_report_test.pattern.default_behaviour : : : : /boost/lexical_cast//boost_lexical_cast ] - [ boost.test-self-test run : framework-ts : log-formatter-test : : baseline-outputs/log-formatter-context-test.pattern baseline-outputs/log-formatter-test.pattern baseline-outputs/log-formatter-test.pattern.junit : : : : /boost/lexical_cast//boost_lexical_cast ] # should be ordered alphabetically + # Cannot be run with multiple configuarations at once in B2 + #[ boost.test-self-test run : framework-ts : log-formatter-test : : baseline-outputs/log-formatter-context-test.pattern baseline-outputs/log-formatter-test.pattern baseline-outputs/log-formatter-test.pattern.junit : : : : /boost/lexical_cast//boost_lexical_cast ] # should be ordered alphabetically [ boost.test-self-test run : framework-ts : run-by-name-or-label-test ] [ boost.test-self-test run : framework-ts : version-uses-module-name : included ] [ boost.test-self-test run : framework-ts : test-macro-global-fixture : : baseline-outputs/global-fixtures-test.pattern : : : : /boost/lexical_cast//boost_lexical_cast ] From aa6997380a7c775a8c77a8da12d3eb680e0ebae3 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Fri, 10 Jul 2026 20:09:43 +0200 Subject: [PATCH 13/18] Re-enable log-formatter-test" --- test/Jamfile.v2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index c42af8f42f..9e8ca58a7c 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -145,8 +145,7 @@ test-suite "usage-variants-ts" test-suite "framework-ts" : # [ boost.test-self-test run : framework-ts : result-report-test : : baseline-outputs/result-report-test.pattern baseline-outputs/result_report_test.pattern.default_behaviour : : : : /boost/lexical_cast//boost_lexical_cast ] - # Cannot be run with multiple configuarations at once in B2 - #[ boost.test-self-test run : framework-ts : log-formatter-test : : baseline-outputs/log-formatter-context-test.pattern baseline-outputs/log-formatter-test.pattern baseline-outputs/log-formatter-test.pattern.junit : : : : /boost/lexical_cast//boost_lexical_cast ] # should be ordered alphabetically + [ boost.test-self-test run : framework-ts : log-formatter-test : : baseline-outputs/log-formatter-context-test.pattern baseline-outputs/log-formatter-test.pattern baseline-outputs/log-formatter-test.pattern.junit : : : : /boost/lexical_cast//boost_lexical_cast ] # should be ordered alphabetically [ boost.test-self-test run : framework-ts : run-by-name-or-label-test ] [ boost.test-self-test run : framework-ts : version-uses-module-name : included ] [ boost.test-self-test run : framework-ts : test-macro-global-fixture : : baseline-outputs/global-fixtures-test.pattern : : : : /boost/lexical_cast//boost_lexical_cast ] From b2f6b0468cb29dea5d7a4dbd192113ed0d028dcf Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Fri, 10 Jul 2026 20:05:17 +0200 Subject: [PATCH 14/18] Show output in log matcher tests on failure --- test/framework-ts/log-formatter-test.cpp | 1 + test/framework-ts/test-macro-global-fixture.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/test/framework-ts/log-formatter-test.cpp b/test/framework-ts/log-formatter-test.cpp index f5db61acf2..f3ae1cac6c 100644 --- a/test/framework-ts/log-formatter-test.cpp +++ b/test/framework-ts/log-formatter-test.cpp @@ -114,6 +114,7 @@ void check( output_test_stream& output, output << std::endl; } + BOOST_TEST_INFO("Output: " << static_cast(output).get_stream_string_representation()); BOOST_TEST( output.match_pattern(true) ); // flushes the stream at the end of the comparison. } diff --git a/test/framework-ts/test-macro-global-fixture.cpp b/test/framework-ts/test-macro-global-fixture.cpp index 9f2440f6f6..610d7d7d1e 100644 --- a/test/framework-ts/test-macro-global-fixture.cpp +++ b/test/framework-ts/test-macro-global-fixture.cpp @@ -113,6 +113,7 @@ void check_global_fixture( BOOST_TEST( setup_error_caught == has_setup_error ); BOOST_TEST( bt_module_failed == (( results_collector.results( id ).result_code() != 0 ) || setup_error_caught )); + BOOST_TEST_INFO("Output: " << static_cast(output).get_stream_string_representation()); BOOST_TEST( output.match_pattern(true) ); // flushes the stream at the end of the comparison. } From eb961fd4650072ac7b02c9c68091ddaf348f263c Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Sun, 12 Jul 2026 13:36:45 +0200 Subject: [PATCH 15/18] Move output of failed test-log-stream to the match_pattern function --- test/framework-ts/log-formatter-test.cpp | 1 - test/framework-ts/logger-for-tests.hpp | 9 +++++++++ test/framework-ts/test-macro-global-fixture.cpp | 1 - 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/test/framework-ts/log-formatter-test.cpp b/test/framework-ts/log-formatter-test.cpp index f3ae1cac6c..f5db61acf2 100644 --- a/test/framework-ts/log-formatter-test.cpp +++ b/test/framework-ts/log-formatter-test.cpp @@ -114,7 +114,6 @@ void check( output_test_stream& output, output << std::endl; } - BOOST_TEST_INFO("Output: " << static_cast(output).get_stream_string_representation()); BOOST_TEST( output.match_pattern(true) ); // flushes the stream at the end of the comparison. } diff --git a/test/framework-ts/logger-for-tests.hpp b/test/framework-ts/logger-for-tests.hpp index 4a59e5f6dc..12f6d9b940 100644 --- a/test/framework-ts/logger-for-tests.hpp +++ b/test/framework-ts/logger-for-tests.hpp @@ -54,6 +54,15 @@ class output_test_stream_for_loggers : public output_test_stream { return basename; } + virtual boost::test_tools::assertion_result match_pattern( bool flush_stream = true ) override { + boost::test_tools::assertion_result result = output_test_stream::match_pattern(false); + if(!result) + result.message() << "[Full content]:\n" << get_stream_string_representation() << "\n[End Full content]"; + if(flush_stream) + flush(); + return result; + } + virtual std::string get_stream_string_representation() const { std::string current_string = output_test_stream::get_stream_string_representation(); diff --git a/test/framework-ts/test-macro-global-fixture.cpp b/test/framework-ts/test-macro-global-fixture.cpp index 610d7d7d1e..9f2440f6f6 100644 --- a/test/framework-ts/test-macro-global-fixture.cpp +++ b/test/framework-ts/test-macro-global-fixture.cpp @@ -113,7 +113,6 @@ void check_global_fixture( BOOST_TEST( setup_error_caught == has_setup_error ); BOOST_TEST( bt_module_failed == (( results_collector.results( id ).result_code() != 0 ) || setup_error_caught )); - BOOST_TEST_INFO("Output: " << static_cast(output).get_stream_string_representation()); BOOST_TEST( output.match_pattern(true) ); // flushes the stream at the end of the comparison. } From fb92d17cbac36f3df1a5b7919eddb08e9f5768ff Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Sun, 12 Jul 2026 13:36:45 +0200 Subject: [PATCH 16/18] Remove override Use is flagged as inconsistent --- test/framework-ts/logger-for-tests.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/framework-ts/logger-for-tests.hpp b/test/framework-ts/logger-for-tests.hpp index 12f6d9b940..2eda7aa8ae 100644 --- a/test/framework-ts/logger-for-tests.hpp +++ b/test/framework-ts/logger-for-tests.hpp @@ -54,7 +54,7 @@ class output_test_stream_for_loggers : public output_test_stream { return basename; } - virtual boost::test_tools::assertion_result match_pattern( bool flush_stream = true ) override { + virtual boost::test_tools::assertion_result match_pattern( bool flush_stream = true ) { boost::test_tools::assertion_result result = output_test_stream::match_pattern(false); if(!result) result.message() << "[Full content]:\n" << get_stream_string_representation() << "\n[End Full content]"; From 9c365065a7e8d0d529fe1a85ffc541708b36dcb3 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Sun, 12 Jul 2026 19:06:42 +0200 Subject: [PATCH 17/18] Increase timeout to 4h --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea16f77612..5709525714 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,7 +47,7 @@ jobs: depinst_args: --include doc/examples enable_mingw: false enable_multiarch: false - timeout: 180 + timeout: 240 max_cxx_stds_per_job: 2 # Too many configurations per job(?) exclude_jobs: | compiler: 'gcc-4.8,gcc-4.9' # Not C++11 compliant enough for Boost.Test From 24fb831e295e246c29e8bb14a6684d80ba1cd002 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Sun, 12 Jul 2026 19:14:14 +0200 Subject: [PATCH 18/18] Exlucde failing configs --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5709525714..372c62451d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,7 +52,9 @@ jobs: exclude_jobs: | compiler: 'gcc-4.8,gcc-4.9' # Not C++11 compliant enough for Boost.Test compiler: 'clang-11,clang-12', cxxstd: '17,20' # github_issue_475 - compiler: icpx-2025 # test-macro-global-fixture.cpp: Different output + compiler: icpx-2025 # test-macro-global-fixture: Different output + compiler: gcc-9, cxxstd: 2a # test-macro-global-fixture: Different output + compiler: clang-3.9, cxxstd: 14 # log-formatter-test: Different output os: macos-26 # basic_cstring-test: Missing 'std::char_traits' on ARM os: ubuntu-24.04-arm # system-exception-test fails os: macos, sanitize: yes, cxxstd: '11,14,17,20' # Reduce number of configurations