From 58c0cebc8101238a41f19e772809a90e50ead98e Mon Sep 17 00:00:00 2001 From: Ruben Perez Date: Thu, 7 May 2026 15:03:12 +0200 Subject: [PATCH 01/16] Mock appveyor workflow --- appveyor.yml | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 00000000..6018f241 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,80 @@ +# Copyright 2016-2019 Peter Dimov +# 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) + +version: 1.0.{build}-{branch} + +shallow_clone: true + +branches: + only: + - master + - develop + - /feature\/.*/ + +environment: + matrix: + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 + TOOLSET: msvc-14.1 + CXXSTD: 14,17,latest + ADDRMD: 32 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 + TOOLSET: msvc-14.1 + CXXSTD: 14,17,latest + ADDRMD: 64 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 + ADDPATH: C:\cygwin64\bin; + TOOLSET: gcc + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 + ADDPATH: C:\mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0\mingw32\bin; + TOOLSET: gcc + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 + ADDPATH: C:\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin; + TOOLSET: gcc + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + CMAKE_SUBDIR: 1 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + CMAKE_INSTALL: 1 + +install: + - set BOOST_BRANCH=develop + - if "%APPVEYOR_REPO_BRANCH%" == "master" set BOOST_BRANCH=master + - cd .. + - git clone -b %BOOST_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root + - cd boost-root + - git submodule update --init tools/boostdep + - xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\system\ + - python tools/boostdep/depinst/depinst.py system + - cmd /c bootstrap + - b2 -d0 headers + +build: off + +test_script: + - PATH=%ADDPATH%%PATH% + - if not "%CXXSTD%" == "" set CXXSTD=cxxstd=%CXXSTD% + - if not "%ADDRMD%" == "" set ADDRMD=address-model=%ADDRMD% + - if "%CMAKE%%CMAKE_SUBDIR%%CMAKE_INSTALL%" == "" b2 -j3 libs/system/test toolset=%TOOLSET% %CXXSTD% %ADDRMD% variant=debug,release embed-manifest-via=linker + + - if not "%CMAKE%" == "" mkdir __build__ && cd __build__ + - if not "%CMAKE%" == "" cmake -DBUILD_TESTING=ON -DBOOST_INCLUDE_LIBRARIES=system -DBoost_VERBOSE=ON .. + - if not "%CMAKE%" == "" cmake --build . --target tests -j 3 --config Debug & ctest --output-on-failure --no-tests=error -j 3 -C Debug + - if not "%CMAKE%" == "" cmake --build . --target tests -j 3 --config Release & ctest --output-on-failure --no-tests=error -j 3 -C Release + - if not "%CMAKE%" == "" cmake --build . --target tests -j 3 --config MinSizeRel & ctest --output-on-failure --no-tests=error -j 3 -C MinSizeRel + - if not "%CMAKE%" == "" cmake --build . --target tests -j 3 --config RelWithDebInfo & ctest --output-on-failure --no-tests=error -j 3 -C RelWithDebInfo + + - if not "%CMAKE_SUBDIR%" == "" cd libs/system/test/cmake_subdir_test && mkdir __build__ && cd __build__ + - if not "%CMAKE_SUBDIR%" == "" cmake .. + - if not "%CMAKE_SUBDIR%" == "" cmake --build . --config Debug && cmake --build . --target check --config Debug + - if not "%CMAKE_SUBDIR%" == "" cmake --build . --config Release && cmake --build . --target check --config Release + - if not "%CMAKE_SUBDIR%" == "" cmake --build . --config MinSizeRel && cmake --build . --target check --config MinSizeRel + - if not "%CMAKE_SUBDIR%" == "" cmake --build . --config RelWithDebInfo && cmake --build . --target check --config RelWithDebInfo + + - if not "%CMAKE_INSTALL%" == "" mkdir __build__ && cd __build__ + - if not "%CMAKE_INSTALL%" == "" cmake -DBOOST_INCLUDE_LIBRARIES=system -DCMAKE_INSTALL_PREFIX=C:/cmake-prefix .. + - if not "%CMAKE_INSTALL%" == "" cmake --build . --target install --config Debug + - if not "%CMAKE_INSTALL%" == "" cmake --build . --target install --config Release + - if not "%CMAKE_INSTALL%" == "" cd ../libs/system/test/cmake_install_test && mkdir __build__ && cd __build__ + - if not "%CMAKE_INSTALL%" == "" cmake -DCMAKE_INSTALL_PREFIX=C:/cmake-prefix .. + - if not "%CMAKE_INSTALL%" == "" cmake --build . --config Debug && cmake --build . --target check --config Debug + - if not "%CMAKE_INSTALL%" == "" cmake --build . --config Release && cmake --build . --target check --config Release From 6bf6b650235e7261d72dc6535200bd6a13bd4b3b Mon Sep 17 00:00:00 2001 From: Ruben Perez Date: Thu, 7 May 2026 16:46:00 +0200 Subject: [PATCH 02/16] Initial job --- appveyor.yml | 80 +++++++++++----------------------------------------- tools/ci.py | 7 +++++ 2 files changed, 23 insertions(+), 64 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 6018f241..e863ab4b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,6 +1,9 @@ -# Copyright 2016-2019 Peter Dimov -# 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) +# +# Copyright (c) 2026 Ruben Perez Hidalgo (rubenperez038 at gmail dot com) +# +# Distributed under the Boost Software License, Version 1.0. (See accompanying +# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +# version: 1.0.{build}-{branch} @@ -10,71 +13,20 @@ branches: only: - master - develop - - /feature\/.*/ + +image: Visual Studio 2019 environment: matrix: - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - TOOLSET: msvc-14.1 - CXXSTD: 14,17,latest - ADDRMD: 32 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - TOOLSET: msvc-14.1 - CXXSTD: 14,17,latest - ADDRMD: 64 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 - ADDPATH: C:\cygwin64\bin; - TOOLSET: gcc - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 - ADDPATH: C:\mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0\mingw32\bin; - TOOLSET: gcc - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 - ADDPATH: C:\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin; - TOOLSET: gcc - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - CMAKE_SUBDIR: 1 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - CMAKE_INSTALL: 1 + - TOOLSET: msvc-14.2 install: - - set BOOST_BRANCH=develop - - if "%APPVEYOR_REPO_BRANCH%" == "master" set BOOST_BRANCH=master - - cd .. - - git clone -b %BOOST_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root - - cd boost-root - - git submodule update --init tools/boostdep - - xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\system\ - - python tools/boostdep/depinst/depinst.py system - - cmd /c bootstrap - - b2 -d0 headers - -build: off - -test_script: - - PATH=%ADDPATH%%PATH% - - if not "%CXXSTD%" == "" set CXXSTD=cxxstd=%CXXSTD% - - if not "%ADDRMD%" == "" set ADDRMD=address-model=%ADDRMD% - - if "%CMAKE%%CMAKE_SUBDIR%%CMAKE_INSTALL%" == "" b2 -j3 libs/system/test toolset=%TOOLSET% %CXXSTD% %ADDRMD% variant=debug,release embed-manifest-via=linker - - - if not "%CMAKE%" == "" mkdir __build__ && cd __build__ - - if not "%CMAKE%" == "" cmake -DBUILD_TESTING=ON -DBOOST_INCLUDE_LIBRARIES=system -DBoost_VERBOSE=ON .. - - if not "%CMAKE%" == "" cmake --build . --target tests -j 3 --config Debug & ctest --output-on-failure --no-tests=error -j 3 -C Debug - - if not "%CMAKE%" == "" cmake --build . --target tests -j 3 --config Release & ctest --output-on-failure --no-tests=error -j 3 -C Release - - if not "%CMAKE%" == "" cmake --build . --target tests -j 3 --config MinSizeRel & ctest --output-on-failure --no-tests=error -j 3 -C MinSizeRel - - if not "%CMAKE%" == "" cmake --build . --target tests -j 3 --config RelWithDebInfo & ctest --output-on-failure --no-tests=error -j 3 -C RelWithDebInfo + - cmd: copy tools\user-config-win-gha.jam %HOMEDRIVE%%HOMEPATH%\user-config.jam + - cmd: python tools\ci.py setup-boost --source-dir=%CD% - - if not "%CMAKE_SUBDIR%" == "" cd libs/system/test/cmake_subdir_test && mkdir __build__ && cd __build__ - - if not "%CMAKE_SUBDIR%" == "" cmake .. - - if not "%CMAKE_SUBDIR%" == "" cmake --build . --config Debug && cmake --build . --target check --config Debug - - if not "%CMAKE_SUBDIR%" == "" cmake --build . --config Release && cmake --build . --target check --config Release - - if not "%CMAKE_SUBDIR%" == "" cmake --build . --config MinSizeRel && cmake --build . --target check --config MinSizeRel - - if not "%CMAKE_SUBDIR%" == "" cmake --build . --config RelWithDebInfo && cmake --build . --target check --config RelWithDebInfo +build_script: + - cmd: python tools\ci.py run-b2-tests --toolset %TOOLSET% --cxxstd 17,20 --variant debug,release - - if not "%CMAKE_INSTALL%" == "" mkdir __build__ && cd __build__ - - if not "%CMAKE_INSTALL%" == "" cmake -DBOOST_INCLUDE_LIBRARIES=system -DCMAKE_INSTALL_PREFIX=C:/cmake-prefix .. - - if not "%CMAKE_INSTALL%" == "" cmake --build . --target install --config Debug - - if not "%CMAKE_INSTALL%" == "" cmake --build . --target install --config Release - - if not "%CMAKE_INSTALL%" == "" cd ../libs/system/test/cmake_install_test && mkdir __build__ && cd __build__ - - if not "%CMAKE_INSTALL%" == "" cmake -DCMAKE_INSTALL_PREFIX=C:/cmake-prefix .. - - if not "%CMAKE_INSTALL%" == "" cmake --build . --config Debug && cmake --build . --target check --config Debug - - if not "%CMAKE_INSTALL%" == "" cmake --build . --config Release && cmake --build . --target check --config Release +# All testing happens inside the b2 invocation above; AppVeyor's default test +# discovery has nothing to do. +test: off diff --git a/tools/ci.py b/tools/ci.py index 26ea8592..d124dc11 100755 --- a/tools/ci.py +++ b/tools/ci.py @@ -94,6 +94,13 @@ def _deduce_boost_branch() -> str: ref = os.environ.get('DRONE_BRANCH', '') ci = 'Drone' res = 'master' if ref == 'master' else 'develop' + elif os.environ.get('APPVEYOR') is not None: + # APPVEYOR_REPO_BRANCH holds the target branch for both regular builds + # and PR builds (the PR's base branch), so it's the right analogue of + # GitHub's GITHUB_BASE_REF. + ref = os.environ.get('APPVEYOR_REPO_BRANCH', '') + ci = 'AppVeyor' + res = 'master' if ref == 'master' else 'develop' else: ci = 'Unknown' ref = '' From c5da3bd7747dfbb4758620c11e075ea8ac6a5a53 Mon Sep 17 00:00:00 2001 From: Ruben Perez Date: Thu, 7 May 2026 16:55:30 +0200 Subject: [PATCH 03/16] attempt path --- appveyor.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index e863ab4b..454478a5 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -17,15 +17,16 @@ branches: image: Visual Studio 2019 environment: + PATH: 'C:\Python314-x64;%PATH%' matrix: - TOOLSET: msvc-14.2 install: - cmd: copy tools\user-config-win-gha.jam %HOMEDRIVE%%HOMEPATH%\user-config.jam - - cmd: python tools\ci.py setup-boost --source-dir=%CD% + - cmd: python3 tools\ci.py setup-boost --source-dir=%CD% build_script: - - cmd: python tools\ci.py run-b2-tests --toolset %TOOLSET% --cxxstd 17,20 --variant debug,release + - cmd: python3 tools\ci.py run-b2-tests --toolset %TOOLSET% --cxxstd 17,20 --variant debug,release # All testing happens inside the b2 invocation above; AppVeyor's default test # discovery has nothing to do. From d4ab0ecc9da9bde9434329db0c091a96e5946569 Mon Sep 17 00:00:00 2001 From: Ruben Perez Date: Thu, 7 May 2026 16:56:54 +0200 Subject: [PATCH 04/16] Debugging appveyor --- .github/workflows/ci.yml | 1136 +++++++++++++++++++------------------- appveyor.yml | 5 +- 2 files changed, 571 insertions(+), 570 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0ae26571..cc651211 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,584 +1,584 @@ -# CI script to verify that CMake and B2 builds work. -# B2 builds include only tests that don't require a DB server, to avoid race conditions. -# CMake tests include the actual project tests and all the CMake integration workflows -# recommended by Boost.CI. -# Windows CMake jobs build the code but don't run the tests, -# since we don't have a way to set up a Redis server on Windows (yet). -# Subcommands are implemented by the tools/ci.py script in a platform-independent manner. - -name: CI - -on: [push, pull_request] - -jobs: - windows-cmake: - name: "CMake ${{matrix.toolset}} ${{matrix.build-type}} C++${{matrix.cxxstd}}" - runs-on: ${{matrix.os}} - defaults: - run: - shell: bash - strategy: - fail-fast: false - matrix: - include: - #- { toolset: msvc-14.2, os: windows-2019, generator: "Visual Studio 16 2019", cxxstd: '17', build-type: 'Debug', build-shared-libs: 1 } - #- { toolset: msvc-14.2, os: windows-2019, generator: "Visual Studio 16 2019", cxxstd: '17', build-type: 'Release', build-shared-libs: 0 } - - { toolset: msvc-14.3, os: windows-2022, generator: "Visual Studio 17 2022", cxxstd: '20', build-type: 'Debug', build-shared-libs: 0 } - - { toolset: msvc-14.3, os: windows-2022, generator: "Visual Studio 17 2022", cxxstd: '20', build-type: 'Release', build-shared-libs: 1 } - steps: - - name: Checkout - uses: actions/checkout@v6 - - - name: Setup Boost - run: python3 tools/ci.py setup-boost --source-dir=$(pwd) - - - name: Build a Boost distribution using B2 - run: | - python3 tools/ci.py build-b2-distro \ - --toolset ${{ matrix.toolset }} - - # No Redis server is available on this job, so integration tests are skipped. - # Unit tests are built and run via the CMake superproject build. - # Double backslash '//' prevents MSYS from interpreting flags as paths - - name: Build a Boost distribution and run the tests using CMake - run: | - python3 tools/ci.py build-cmake-distro \ - --build-type ${{ matrix.build-type }} \ - --cxxstd ${{ matrix.cxxstd }} \ - --toolset ${{ matrix.toolset }} \ - --generator "${{ matrix.generator }}" \ - --build-shared-libs ${{ matrix.build-shared-libs }} \ - --integration-tests 0 \ - "--cxxflags=//WX" - - - name: Run add_subdirectory tests - run: | - python3 tools/ci.py run-cmake-add-subdirectory-tests \ - --build-type ${{ matrix.build-type }} \ - --cxxstd ${{ matrix.cxxstd }} \ - --toolset ${{ matrix.toolset }} \ - --generator "${{ matrix.generator }}" \ - --build-shared-libs ${{ matrix.build-shared-libs }} \ - "--cxxflags=//WX" - - - name: Run find_package tests with the built cmake distribution - run: | - python3 tools/ci.py run-cmake-find-package-tests \ - --build-type ${{ matrix.build-type }} \ - --cxxstd ${{ matrix.cxxstd }} \ - --toolset ${{ matrix.toolset }} \ - --generator "${{ matrix.generator }}" \ - --build-shared-libs ${{ matrix.build-shared-libs }} \ - "--cxxflags=//WX" - - - name: Run find_package tests with the built b2 distribution - run: | - python3 tools/ci.py run-cmake-b2-find-package-tests \ - --build-type ${{ matrix.build-type }} \ - --cxxstd ${{ matrix.cxxstd }} \ - --toolset ${{ matrix.toolset }} \ - --generator "${{ matrix.generator }}" \ - --build-shared-libs ${{ matrix.build-shared-libs }} \ - "--cxxflags=//WX" - - windows-b2: - name: "B2 ${{matrix.toolset}}" - runs-on: ${{matrix.os}} - defaults: - run: - shell: bash - strategy: - fail-fast: false - matrix: - include: - #- { toolset: msvc-14.2, os: windows-2019 } - - { toolset: msvc-14.3, os: windows-2022 } - steps: - - name: Checkout - uses: actions/checkout@v6 - - - name: Setup user-config.jam - run: cp tools/user-config-win-gha.jam "${HOMEDRIVE}${HOMEPATH}/user-config.jam" - - - name: Setup Boost - run: python3 tools/ci.py setup-boost --source-dir=$(pwd) +# # CI script to verify that CMake and B2 builds work. +# # B2 builds include only tests that don't require a DB server, to avoid race conditions. +# # CMake tests include the actual project tests and all the CMake integration workflows +# # recommended by Boost.CI. +# # Windows CMake jobs build the code but don't run the tests, +# # since we don't have a way to set up a Redis server on Windows (yet). +# # Subcommands are implemented by the tools/ci.py script in a platform-independent manner. + +# name: CI + +# on: [push, pull_request] + +# jobs: +# windows-cmake: +# name: "CMake ${{matrix.toolset}} ${{matrix.build-type}} C++${{matrix.cxxstd}}" +# runs-on: ${{matrix.os}} +# defaults: +# run: +# shell: bash +# strategy: +# fail-fast: false +# matrix: +# include: +# #- { toolset: msvc-14.2, os: windows-2019, generator: "Visual Studio 16 2019", cxxstd: '17', build-type: 'Debug', build-shared-libs: 1 } +# #- { toolset: msvc-14.2, os: windows-2019, generator: "Visual Studio 16 2019", cxxstd: '17', build-type: 'Release', build-shared-libs: 0 } +# - { toolset: msvc-14.3, os: windows-2022, generator: "Visual Studio 17 2022", cxxstd: '20', build-type: 'Debug', build-shared-libs: 0 } +# - { toolset: msvc-14.3, os: windows-2022, generator: "Visual Studio 17 2022", cxxstd: '20', build-type: 'Release', build-shared-libs: 1 } +# steps: +# - name: Checkout +# uses: actions/checkout@v6 + +# - name: Setup Boost +# run: python3 tools/ci.py setup-boost --source-dir=$(pwd) + +# - name: Build a Boost distribution using B2 +# run: | +# python3 tools/ci.py build-b2-distro \ +# --toolset ${{ matrix.toolset }} + +# # No Redis server is available on this job, so integration tests are skipped. +# # Unit tests are built and run via the CMake superproject build. +# # Double backslash '//' prevents MSYS from interpreting flags as paths +# - name: Build a Boost distribution and run the tests using CMake +# run: | +# python3 tools/ci.py build-cmake-distro \ +# --build-type ${{ matrix.build-type }} \ +# --cxxstd ${{ matrix.cxxstd }} \ +# --toolset ${{ matrix.toolset }} \ +# --generator "${{ matrix.generator }}" \ +# --build-shared-libs ${{ matrix.build-shared-libs }} \ +# --integration-tests 0 \ +# "--cxxflags=//WX" + +# - name: Run add_subdirectory tests +# run: | +# python3 tools/ci.py run-cmake-add-subdirectory-tests \ +# --build-type ${{ matrix.build-type }} \ +# --cxxstd ${{ matrix.cxxstd }} \ +# --toolset ${{ matrix.toolset }} \ +# --generator "${{ matrix.generator }}" \ +# --build-shared-libs ${{ matrix.build-shared-libs }} \ +# "--cxxflags=//WX" + +# - name: Run find_package tests with the built cmake distribution +# run: | +# python3 tools/ci.py run-cmake-find-package-tests \ +# --build-type ${{ matrix.build-type }} \ +# --cxxstd ${{ matrix.cxxstd }} \ +# --toolset ${{ matrix.toolset }} \ +# --generator "${{ matrix.generator }}" \ +# --build-shared-libs ${{ matrix.build-shared-libs }} \ +# "--cxxflags=//WX" + +# - name: Run find_package tests with the built b2 distribution +# run: | +# python3 tools/ci.py run-cmake-b2-find-package-tests \ +# --build-type ${{ matrix.build-type }} \ +# --cxxstd ${{ matrix.cxxstd }} \ +# --toolset ${{ matrix.toolset }} \ +# --generator "${{ matrix.generator }}" \ +# --build-shared-libs ${{ matrix.build-shared-libs }} \ +# "--cxxflags=//WX" + +# windows-b2: +# name: "B2 ${{matrix.toolset}}" +# runs-on: ${{matrix.os}} +# defaults: +# run: +# shell: bash +# strategy: +# fail-fast: false +# matrix: +# include: +# #- { toolset: msvc-14.2, os: windows-2019 } +# - { toolset: msvc-14.3, os: windows-2022 } +# steps: +# - name: Checkout +# uses: actions/checkout@v6 + +# - name: Setup user-config.jam +# run: cp tools/user-config-win-gha.jam "${HOMEDRIVE}${HOMEPATH}/user-config.jam" + +# - name: Setup Boost +# run: python3 tools/ci.py setup-boost --source-dir=$(pwd) - - name: Build and run project tests using B2 - run: | - python3 tools/ci.py run-b2-tests \ - --toolset ${{ matrix.toolset }} \ - --cxxstd 17,20 \ - --variant debug,release - - linux-cmake: - name: "CMake ${{ matrix.toolset }} ${{ matrix.cxxstd }} ${{ matrix.build-type }} ${{ matrix.cxxflags }}" - defaults: - run: - shell: bash - - strategy: - fail-fast: false - matrix: - include: - # gcc-11 is the default in Ubuntu 22.04, defaults to c++17 - - toolset: gcc-11 - install: g++-11 - container: ubuntu:22.04 - cxxstd: '17' - build-type: 'Debug' - server: "redis:8.2.1-alpine" - corosio-tests: '0' - - - toolset: gcc-11 - install: g++-11 - container: ubuntu:22.04 - cxxstd: '20' - build-type: 'Debug' - server: "valkey/valkey:8.1.3-alpine" - corosio-tests: '0' - - - toolset: gcc-11 - install: g++-11 - container: ubuntu:22.04 - cxxstd: '20' - build-type: 'Release' - server: "redis:7.4.5-alpine" - corosio-tests: '0' - - - toolset: gcc-12 - install: g++-12 - container: ubuntu:22.04 - cxxstd: '23' - build-type: 'Debug' - server: "redis:8.2.1-alpine" - - # gcc-13 is the default in Ubuntu 24.04, defaults to c++17 - - toolset: gcc-13 - install: g++-13 - container: ubuntu:24.04 - cxxstd: '17' - build-type: 'Debug' - server: "valkey/valkey:8.1.3-alpine" - corosio-tests: '0' - - - toolset: gcc-13 - install: g++-13 - container: ubuntu:24.04 - cxxstd: '23' - build-type: 'Debug' - server: "redis:7.4.5-alpine" - - - toolset: gcc-13 - install: g++-13 - container: ubuntu:24.04 - cxxstd: '23' - build-type: 'Release' - server: "redis:8.2.1-alpine" - - - toolset: gcc-14 - install: g++-14 - container: ubuntu:24.04 - cxxstd: '23' - build-type: 'Debug' - server: "valkey/valkey:8.1.3-alpine" - - # gcc-15 is the default in Ubuntu 26.04, defaults to c++17 - - toolset: gcc-15 - install: g++-15 - container: ubuntu:26.04 - cxxstd: '17' - build-type: 'Debug' - server: "redis:7.4.5-alpine" - corosio-tests: '0' - - - toolset: gcc-15 - install: g++-15 - container: ubuntu:26.04 - cxxstd: '26' - build-type: 'Debug' - cxxflags: '-fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all' - ldflags: '-fsanitize=address -fsanitize=undefined' - server: "valkey/valkey:8.1.3-alpine" - - - toolset: gcc-15 - install: g++-15 - container: ubuntu:26.04 - cxxstd: '26' - build-type: 'Release' - server: "redis:7.4.5-alpine" - - - toolset: clang-11 - install: clang-11 - container: ubuntu:22.04 - cxxstd: '20' - build-type: 'Debug' - server: "redis:7.4.5-alpine" - corosio-tests: '0' - - - toolset: clang-12 - install: clang-12 - container: ubuntu:22.04 - cxxstd: '20' - build-type: 'Debug' - server: "redis:8.2.1-alpine" - corosio-tests: '0' - - - toolset: clang-13 - install: clang-13 - container: ubuntu:22.04 - cxxstd: '20' - build-type: 'Debug' - server: "valkey/valkey:8.1.3-alpine" - corosio-tests: '0' - - # clang-14 is the default in Ubuntu 22.04 - - toolset: clang-14 - install: clang-14 - container: ubuntu:22.04 - cxxstd: '20' - build-type: 'Debug' - server: "redis:7.4.5-alpine" - corosio-tests: '0' - - - toolset: clang-14 - install: 'clang-14 libc++-14-dev libc++abi-14-dev' - container: ubuntu:22.04 - cxxstd: '20' - build-type: 'Debug' - cxxflags: '-stdlib=libc++' - ldflags: '-lc++' - server: "redis:8.2.1-alpine" - corosio-tests: '0' - - - toolset: clang-14 - install: 'clang-14 libc++-14-dev libc++abi-14-dev' - container: ubuntu:22.04 - cxxstd: '20' - build-type: 'Release' - cxxflags: '-stdlib=libc++' - ldflags: '-lc++' - server: "valkey/valkey:8.1.3-alpine" - - - toolset: clang-15 - install: clang-15 - container: ubuntu:22.04 - cxxstd: '20' - build-type: 'Debug' - server: "redis:7.4.5-alpine" - corosio-tests: '0' - - - toolset: clang-16 - install: clang-16 - container: ubuntu:24.04 - cxxstd: '20' - build-type: 'Debug' - cxxflags: '-DBOOST_ASIO_DISABLE_LOCAL_SOCKETS=1' # If a system has no UNIX socket support, we build correctly - server: "redis:8.2.1-alpine" - corosio-tests: '0' - - - toolset: clang-17 - install: clang-17 - container: ubuntu:24.04 - cxxstd: '20' - build-type: 'Debug' - server: "valkey/valkey:8.1.3-alpine" - - # clang-18 is the default in Ubuntu 24.04 - - toolset: clang-18 - install: clang-18 - container: ubuntu:24.04 - cxxstd: '20' - build-type: 'Debug' - server: "redis:7.4.5-alpine" - - - toolset: clang-18 - install: 'clang-18 libc++-18-dev libc++abi-18-dev' - container: ubuntu:24.04 - cxxstd: '20' - build-type: 'Release' - cxxflags: '-stdlib=libc++' - ldflags: '-lc++' - server: "valkey/valkey:8.1.3-alpine" - - - toolset: clang-18 - install: 'clang-18 libc++-18-dev libc++abi-18-dev' - container: ubuntu:24.04 - cxxstd: '23' - build-type: 'Debug' - cxxflags: '-stdlib=libc++' - ldflags: '-lc++' - server: "redis:8.2.1-alpine" - - - toolset: clang-19 - install: clang-19 - container: ubuntu:24.04 - cxxstd: '23' - build-type: 'Debug' - server: "redis:7.4.5-alpine" - - - toolset: clang-20 - install: clang-20 - container: ubuntu:24.04 - cxxstd: '23' - build-type: 'Debug' - server: "redis:8.2.1-alpine" - - # clang-21 is the default in Ubuntu 26.04 - - toolset: clang-21 - install: 'clang-21 libclang-rt-21-dev' - container: ubuntu:26.04 - cxxstd: '23' - build-type: 'Debug' - cxxflags: '-fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all' - ldflags: '-fsanitize=address -fsanitize=undefined' - server: "valkey/valkey:8.1.3-alpine" - - - toolset: clang-21 - install: 'clang-21 libc++-21-dev libc++abi-21-dev' - container: ubuntu:26.04 - cxxstd: '23' - build-type: 'Debug' - cxxflags: '-stdlib=libc++' - ldflags: '-lc++' - server: "redis:7.4.5-alpine" - - - toolset: clang-21 - install: 'clang-21 libc++-21-dev libc++abi-21-dev' - container: ubuntu:26.04 - cxxstd: '23' - build-type: 'Release' - cxxflags: '-stdlib=libc++' - ldflags: '-lc++' - server: "redis:8.2.1-alpine" - - - toolset: clang-22 - install: clang-22 - container: ubuntu:26.04 - cxxstd: '23' - build-type: 'Debug' - server: "valkey/valkey:8.1.3-alpine" - - runs-on: ubuntu-latest +# - name: Build and run project tests using B2 +# run: | +# python3 tools/ci.py run-b2-tests \ +# --toolset ${{ matrix.toolset }} \ +# --cxxstd 17,20 \ +# --variant debug,release + +# linux-cmake: +# name: "CMake ${{ matrix.toolset }} ${{ matrix.cxxstd }} ${{ matrix.build-type }} ${{ matrix.cxxflags }}" +# defaults: +# run: +# shell: bash + +# strategy: +# fail-fast: false +# matrix: +# include: +# # gcc-11 is the default in Ubuntu 22.04, defaults to c++17 +# - toolset: gcc-11 +# install: g++-11 +# container: ubuntu:22.04 +# cxxstd: '17' +# build-type: 'Debug' +# server: "redis:8.2.1-alpine" +# corosio-tests: '0' + +# - toolset: gcc-11 +# install: g++-11 +# container: ubuntu:22.04 +# cxxstd: '20' +# build-type: 'Debug' +# server: "valkey/valkey:8.1.3-alpine" +# corosio-tests: '0' + +# - toolset: gcc-11 +# install: g++-11 +# container: ubuntu:22.04 +# cxxstd: '20' +# build-type: 'Release' +# server: "redis:7.4.5-alpine" +# corosio-tests: '0' + +# - toolset: gcc-12 +# install: g++-12 +# container: ubuntu:22.04 +# cxxstd: '23' +# build-type: 'Debug' +# server: "redis:8.2.1-alpine" + +# # gcc-13 is the default in Ubuntu 24.04, defaults to c++17 +# - toolset: gcc-13 +# install: g++-13 +# container: ubuntu:24.04 +# cxxstd: '17' +# build-type: 'Debug' +# server: "valkey/valkey:8.1.3-alpine" +# corosio-tests: '0' + +# - toolset: gcc-13 +# install: g++-13 +# container: ubuntu:24.04 +# cxxstd: '23' +# build-type: 'Debug' +# server: "redis:7.4.5-alpine" + +# - toolset: gcc-13 +# install: g++-13 +# container: ubuntu:24.04 +# cxxstd: '23' +# build-type: 'Release' +# server: "redis:8.2.1-alpine" + +# - toolset: gcc-14 +# install: g++-14 +# container: ubuntu:24.04 +# cxxstd: '23' +# build-type: 'Debug' +# server: "valkey/valkey:8.1.3-alpine" + +# # gcc-15 is the default in Ubuntu 26.04, defaults to c++17 +# - toolset: gcc-15 +# install: g++-15 +# container: ubuntu:26.04 +# cxxstd: '17' +# build-type: 'Debug' +# server: "redis:7.4.5-alpine" +# corosio-tests: '0' + +# - toolset: gcc-15 +# install: g++-15 +# container: ubuntu:26.04 +# cxxstd: '26' +# build-type: 'Debug' +# cxxflags: '-fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all' +# ldflags: '-fsanitize=address -fsanitize=undefined' +# server: "valkey/valkey:8.1.3-alpine" + +# - toolset: gcc-15 +# install: g++-15 +# container: ubuntu:26.04 +# cxxstd: '26' +# build-type: 'Release' +# server: "redis:7.4.5-alpine" + +# - toolset: clang-11 +# install: clang-11 +# container: ubuntu:22.04 +# cxxstd: '20' +# build-type: 'Debug' +# server: "redis:7.4.5-alpine" +# corosio-tests: '0' + +# - toolset: clang-12 +# install: clang-12 +# container: ubuntu:22.04 +# cxxstd: '20' +# build-type: 'Debug' +# server: "redis:8.2.1-alpine" +# corosio-tests: '0' + +# - toolset: clang-13 +# install: clang-13 +# container: ubuntu:22.04 +# cxxstd: '20' +# build-type: 'Debug' +# server: "valkey/valkey:8.1.3-alpine" +# corosio-tests: '0' + +# # clang-14 is the default in Ubuntu 22.04 +# - toolset: clang-14 +# install: clang-14 +# container: ubuntu:22.04 +# cxxstd: '20' +# build-type: 'Debug' +# server: "redis:7.4.5-alpine" +# corosio-tests: '0' + +# - toolset: clang-14 +# install: 'clang-14 libc++-14-dev libc++abi-14-dev' +# container: ubuntu:22.04 +# cxxstd: '20' +# build-type: 'Debug' +# cxxflags: '-stdlib=libc++' +# ldflags: '-lc++' +# server: "redis:8.2.1-alpine" +# corosio-tests: '0' + +# - toolset: clang-14 +# install: 'clang-14 libc++-14-dev libc++abi-14-dev' +# container: ubuntu:22.04 +# cxxstd: '20' +# build-type: 'Release' +# cxxflags: '-stdlib=libc++' +# ldflags: '-lc++' +# server: "valkey/valkey:8.1.3-alpine" + +# - toolset: clang-15 +# install: clang-15 +# container: ubuntu:22.04 +# cxxstd: '20' +# build-type: 'Debug' +# server: "redis:7.4.5-alpine" +# corosio-tests: '0' + +# - toolset: clang-16 +# install: clang-16 +# container: ubuntu:24.04 +# cxxstd: '20' +# build-type: 'Debug' +# cxxflags: '-DBOOST_ASIO_DISABLE_LOCAL_SOCKETS=1' # If a system has no UNIX socket support, we build correctly +# server: "redis:8.2.1-alpine" +# corosio-tests: '0' + +# - toolset: clang-17 +# install: clang-17 +# container: ubuntu:24.04 +# cxxstd: '20' +# build-type: 'Debug' +# server: "valkey/valkey:8.1.3-alpine" + +# # clang-18 is the default in Ubuntu 24.04 +# - toolset: clang-18 +# install: clang-18 +# container: ubuntu:24.04 +# cxxstd: '20' +# build-type: 'Debug' +# server: "redis:7.4.5-alpine" + +# - toolset: clang-18 +# install: 'clang-18 libc++-18-dev libc++abi-18-dev' +# container: ubuntu:24.04 +# cxxstd: '20' +# build-type: 'Release' +# cxxflags: '-stdlib=libc++' +# ldflags: '-lc++' +# server: "valkey/valkey:8.1.3-alpine" + +# - toolset: clang-18 +# install: 'clang-18 libc++-18-dev libc++abi-18-dev' +# container: ubuntu:24.04 +# cxxstd: '23' +# build-type: 'Debug' +# cxxflags: '-stdlib=libc++' +# ldflags: '-lc++' +# server: "redis:8.2.1-alpine" + +# - toolset: clang-19 +# install: clang-19 +# container: ubuntu:24.04 +# cxxstd: '23' +# build-type: 'Debug' +# server: "redis:7.4.5-alpine" + +# - toolset: clang-20 +# install: clang-20 +# container: ubuntu:24.04 +# cxxstd: '23' +# build-type: 'Debug' +# server: "redis:8.2.1-alpine" + +# # clang-21 is the default in Ubuntu 26.04 +# - toolset: clang-21 +# install: 'clang-21 libclang-rt-21-dev' +# container: ubuntu:26.04 +# cxxstd: '23' +# build-type: 'Debug' +# cxxflags: '-fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all' +# ldflags: '-fsanitize=address -fsanitize=undefined' +# server: "valkey/valkey:8.1.3-alpine" + +# - toolset: clang-21 +# install: 'clang-21 libc++-21-dev libc++abi-21-dev' +# container: ubuntu:26.04 +# cxxstd: '23' +# build-type: 'Debug' +# cxxflags: '-stdlib=libc++' +# ldflags: '-lc++' +# server: "redis:7.4.5-alpine" + +# - toolset: clang-21 +# install: 'clang-21 libc++-21-dev libc++abi-21-dev' +# container: ubuntu:26.04 +# cxxstd: '23' +# build-type: 'Release' +# cxxflags: '-stdlib=libc++' +# ldflags: '-lc++' +# server: "redis:8.2.1-alpine" + +# - toolset: clang-22 +# install: clang-22 +# container: ubuntu:26.04 +# cxxstd: '23' +# build-type: 'Debug' +# server: "valkey/valkey:8.1.3-alpine" + +# runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v6 +# steps: +# - name: Checkout +# uses: actions/checkout@v6 - - name: Generate TLS certificates - run: | - ./tools/gen-certificates.sh +# - name: Generate TLS certificates +# run: | +# ./tools/gen-certificates.sh - - name: Set up the required containers - run: | - BUILDER_IMAGE=${{ matrix.container }} SERVER_IMAGE=${{ matrix.server }} docker compose -f tools/docker-compose.yml up -d --wait || (docker compose logs; exit 1) +# - name: Set up the required containers +# run: | +# BUILDER_IMAGE=${{ matrix.container }} SERVER_IMAGE=${{ matrix.server }} docker compose -f tools/docker-compose.yml up -d --wait || (docker compose logs; exit 1) - - name: Install dependencies - run: | - docker exec builder apt-get update - docker exec --env DEBIAN_FRONTEND=noninteractive builder apt-get -y --no-install-recommends install \ - git \ - g++ \ - libssl-dev \ - make \ - ca-certificates \ - cmake \ - protobuf-compiler \ - python3 \ - ${{ matrix.install }} - - - name: Setup Boost - run: docker exec builder /boost-redis/tools/ci.py setup-boost --source-dir=/boost-redis - - - name: Build a Boost distribution using B2 - run: | - docker exec builder /boost-redis/tools/ci.py build-b2-distro \ - --toolset ${{ matrix.toolset }} - - # The CMake superproject build also drives the project tests, including - # integration tests against the Redis server set up above. - - name: Build a Boost distribution and run the tests using CMake - run: | - docker exec builder /boost-redis/tools/ci.py build-cmake-distro \ - --build-type ${{ matrix.build-type }} \ - --cxxstd ${{ matrix.cxxstd }} \ - --toolset ${{ matrix.toolset }} \ - "--cxxflags=${{ matrix.cxxflags }} -Werror" \ - "--ldflags=${{ matrix.ldflags }}" - - - name: Run add_subdirectory tests - run: | - docker exec builder /boost-redis/tools/ci.py run-cmake-add-subdirectory-tests \ - --build-type ${{ matrix.build-type }} \ - --cxxstd ${{ matrix.cxxstd }} \ - --toolset ${{ matrix.toolset }} \ - "--cxxflags=${{ matrix.cxxflags }} -Werror" \ - "--ldflags=${{ matrix.ldflags }}" - - - name: Run find_package tests with the built cmake distribution - run: | - docker exec builder /boost-redis/tools/ci.py run-cmake-find-package-tests \ - --build-type ${{ matrix.build-type }} \ - --cxxstd ${{ matrix.cxxstd }} \ - --toolset ${{ matrix.toolset }} \ - "--cxxflags=${{ matrix.cxxflags }} -Werror" \ - "--ldflags=${{ matrix.ldflags }}" - - - name: Run find_package tests with the built b2 distribution - run: | - docker exec builder /boost-redis/tools/ci.py run-cmake-b2-find-package-tests \ - --build-type ${{ matrix.build-type }} \ - --cxxstd ${{ matrix.cxxstd }} \ - --toolset ${{ matrix.toolset }} \ - "--cxxflags=${{ matrix.cxxflags }} -Werror" \ - "--ldflags=${{ matrix.ldflags }}" - - linux-b2: - name: "B2 ${{ matrix.toolset }}" - defaults: - run: - shell: bash - - strategy: - fail-fast: false - matrix: - include: - # We don't have integration tests here, so we only test the compilers - # that get installed by default in Ubuntu 22.04, 24.04 and 26.04 - - toolset: gcc-11 - install: g++-11 - cxxstd: "11,17,20" # Having C++11 shouldn't break the build - container: ubuntu:22.04 - - toolset: gcc-13 - install: g++-13 - cxxstd: "17,20,23" - container: ubuntu:24.04 - - toolset: gcc-15 - install: g++-15 - cxxstd: "17,20,23" - container: ubuntu:26.04 - - toolset: clang-18 - install: clang-18 - cxxstd: "11,17,20" - container: ubuntu:24.04 - - toolset: clang-21 - install: clang-21 - cxxstd: "17,20,23" - container: ubuntu:26.04 - runs-on: ubuntu-latest - container: ${{matrix.container}} - steps: - - name: Checkout - uses: actions/checkout@v6 - - - name: Setup container environment - if: matrix.container - run: | - export DEBIAN_FRONTEND=noninteractive - apt-get update - apt-get -y install python3 git g++ libssl-dev ${{ matrix.install }} - - - name: Setup Boost - run: ./tools/ci.py setup-boost --source-dir=$(pwd) +# - name: Install dependencies +# run: | +# docker exec builder apt-get update +# docker exec --env DEBIAN_FRONTEND=noninteractive builder apt-get -y --no-install-recommends install \ +# git \ +# g++ \ +# libssl-dev \ +# make \ +# ca-certificates \ +# cmake \ +# protobuf-compiler \ +# python3 \ +# ${{ matrix.install }} + +# - name: Setup Boost +# run: docker exec builder /boost-redis/tools/ci.py setup-boost --source-dir=/boost-redis + +# - name: Build a Boost distribution using B2 +# run: | +# docker exec builder /boost-redis/tools/ci.py build-b2-distro \ +# --toolset ${{ matrix.toolset }} + +# # The CMake superproject build also drives the project tests, including +# # integration tests against the Redis server set up above. +# - name: Build a Boost distribution and run the tests using CMake +# run: | +# docker exec builder /boost-redis/tools/ci.py build-cmake-distro \ +# --build-type ${{ matrix.build-type }} \ +# --cxxstd ${{ matrix.cxxstd }} \ +# --toolset ${{ matrix.toolset }} \ +# "--cxxflags=${{ matrix.cxxflags }} -Werror" \ +# "--ldflags=${{ matrix.ldflags }}" + +# - name: Run add_subdirectory tests +# run: | +# docker exec builder /boost-redis/tools/ci.py run-cmake-add-subdirectory-tests \ +# --build-type ${{ matrix.build-type }} \ +# --cxxstd ${{ matrix.cxxstd }} \ +# --toolset ${{ matrix.toolset }} \ +# "--cxxflags=${{ matrix.cxxflags }} -Werror" \ +# "--ldflags=${{ matrix.ldflags }}" + +# - name: Run find_package tests with the built cmake distribution +# run: | +# docker exec builder /boost-redis/tools/ci.py run-cmake-find-package-tests \ +# --build-type ${{ matrix.build-type }} \ +# --cxxstd ${{ matrix.cxxstd }} \ +# --toolset ${{ matrix.toolset }} \ +# "--cxxflags=${{ matrix.cxxflags }} -Werror" \ +# "--ldflags=${{ matrix.ldflags }}" + +# - name: Run find_package tests with the built b2 distribution +# run: | +# docker exec builder /boost-redis/tools/ci.py run-cmake-b2-find-package-tests \ +# --build-type ${{ matrix.build-type }} \ +# --cxxstd ${{ matrix.cxxstd }} \ +# --toolset ${{ matrix.toolset }} \ +# "--cxxflags=${{ matrix.cxxflags }} -Werror" \ +# "--ldflags=${{ matrix.ldflags }}" + +# linux-b2: +# name: "B2 ${{ matrix.toolset }}" +# defaults: +# run: +# shell: bash + +# strategy: +# fail-fast: false +# matrix: +# include: +# # We don't have integration tests here, so we only test the compilers +# # that get installed by default in Ubuntu 22.04, 24.04 and 26.04 +# - toolset: gcc-11 +# install: g++-11 +# cxxstd: "11,17,20" # Having C++11 shouldn't break the build +# container: ubuntu:22.04 +# - toolset: gcc-13 +# install: g++-13 +# cxxstd: "17,20,23" +# container: ubuntu:24.04 +# - toolset: gcc-15 +# install: g++-15 +# cxxstd: "17,20,23" +# container: ubuntu:26.04 +# - toolset: clang-18 +# install: clang-18 +# cxxstd: "11,17,20" +# container: ubuntu:24.04 +# - toolset: clang-21 +# install: clang-21 +# cxxstd: "17,20,23" +# container: ubuntu:26.04 +# runs-on: ubuntu-latest +# container: ${{matrix.container}} +# steps: +# - name: Checkout +# uses: actions/checkout@v6 + +# - name: Setup container environment +# if: matrix.container +# run: | +# export DEBIAN_FRONTEND=noninteractive +# apt-get update +# apt-get -y install python3 git g++ libssl-dev ${{ matrix.install }} + +# - name: Setup Boost +# run: ./tools/ci.py setup-boost --source-dir=$(pwd) - - name: Build and run project tests using B2 - run: | - python3 tools/ci.py run-b2-tests \ - --toolset ${{ matrix.toolset }} \ - --cxxstd ${{ matrix.cxxstd }} \ - --variant debug,release +# - name: Build and run project tests using B2 +# run: | +# python3 tools/ci.py run-b2-tests \ +# --toolset ${{ matrix.toolset }} \ +# --cxxstd ${{ matrix.cxxstd }} \ +# --variant debug,release - osx-cmake: - name: "CMake OSX" +# osx-cmake: +# name: "CMake OSX" - runs-on: macos-latest +# runs-on: macos-latest - steps: - - name: Checkout - uses: actions/checkout@v6 +# steps: +# - name: Checkout +# uses: actions/checkout@v6 - - name: Setup Boost - run: ./tools/ci.py setup-boost --source-dir=$(pwd) - - - name: Build a Boost distribution using B2 - run: | - ./tools/ci.py build-b2-distro \ - --toolset clang - - - name: Build a Boost distribution and run the tests using CMake - run: | - ./tools/ci.py build-cmake-distro \ - --build-type Debug \ - --cxxstd 20 \ - --toolset clang \ - "--cxxflags=-Werror" \ - --integration-tests 0 - - - name: Run add_subdirectory tests - run: | - ./tools/ci.py run-cmake-add-subdirectory-tests \ - --build-type Debug \ - --cxxstd 20 \ - --toolset clang \ - "--cxxflags=-Werror" - - - name: Run find_package tests with the built cmake distribution - run: | - ./tools/ci.py run-cmake-find-package-tests \ - --build-type Debug \ - --cxxstd 20 \ - --toolset clang \ - "--cxxflags=-Werror" - - - name: Run find_package tests with the built b2 distribution - run: | - ./tools/ci.py run-cmake-b2-find-package-tests \ - --build-type Debug \ - --cxxstd 20 \ - --toolset clang \ - "--cxxflags=-Werror" - - osx-b2: - name: "B2 ${{ matrix.os }}" - defaults: - run: - shell: bash - - runs-on: macos-latest - steps: - - name: Checkout - uses: actions/checkout@v6 - - - name: Setup user-config.jam - run: cp tools/user-config-osx-gha.jam ~/user-config.jam - - - name: Setup Boost - run: ./tools/ci.py setup-boost --source-dir=$(pwd) +# - name: Setup Boost +# run: ./tools/ci.py setup-boost --source-dir=$(pwd) + +# - name: Build a Boost distribution using B2 +# run: | +# ./tools/ci.py build-b2-distro \ +# --toolset clang + +# - name: Build a Boost distribution and run the tests using CMake +# run: | +# ./tools/ci.py build-cmake-distro \ +# --build-type Debug \ +# --cxxstd 20 \ +# --toolset clang \ +# "--cxxflags=-Werror" \ +# --integration-tests 0 + +# - name: Run add_subdirectory tests +# run: | +# ./tools/ci.py run-cmake-add-subdirectory-tests \ +# --build-type Debug \ +# --cxxstd 20 \ +# --toolset clang \ +# "--cxxflags=-Werror" + +# - name: Run find_package tests with the built cmake distribution +# run: | +# ./tools/ci.py run-cmake-find-package-tests \ +# --build-type Debug \ +# --cxxstd 20 \ +# --toolset clang \ +# "--cxxflags=-Werror" + +# - name: Run find_package tests with the built b2 distribution +# run: | +# ./tools/ci.py run-cmake-b2-find-package-tests \ +# --build-type Debug \ +# --cxxstd 20 \ +# --toolset clang \ +# "--cxxflags=-Werror" + +# osx-b2: +# name: "B2 ${{ matrix.os }}" +# defaults: +# run: +# shell: bash + +# runs-on: macos-latest +# steps: +# - name: Checkout +# uses: actions/checkout@v6 + +# - name: Setup user-config.jam +# run: cp tools/user-config-osx-gha.jam ~/user-config.jam + +# - name: Setup Boost +# run: ./tools/ci.py setup-boost --source-dir=$(pwd) - - name: Build and run project tests using B2 - run: | - ./tools/ci.py run-b2-tests \ - --toolset clang \ - --cxxstd 20 \ - --variant debug,release +# - name: Build and run project tests using B2 +# run: | +# ./tools/ci.py run-b2-tests \ +# --toolset clang \ +# --cxxstd 20 \ +# --variant debug,release - # Checks that we don't have any errors in docs - check-docs: - name: Check docs - defaults: - run: - shell: bash +# # Checks that we don't have any errors in docs +# check-docs: +# name: Check docs +# defaults: +# run: +# shell: bash - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v6 +# runs-on: ubuntu-latest +# steps: +# - name: Checkout +# uses: actions/checkout@v6 - - name: Setup Boost - run: ./tools/ci.py setup-boost --source-dir=$(pwd) +# - name: Setup Boost +# run: ./tools/ci.py setup-boost --source-dir=$(pwd) - - name: Build docs - run: | - cd ~/boost-root - ./b2 libs/redis/doc - [ -f ~/boost-root/libs/redis/doc/html/index.html ] +# - name: Build docs +# run: | +# cd ~/boost-root +# ./b2 libs/redis/doc +# [ -f ~/boost-root/libs/redis/doc/html/index.html ] diff --git a/appveyor.yml b/appveyor.yml index 454478a5..da37869b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -22,11 +22,12 @@ environment: - TOOLSET: msvc-14.2 install: + - cmd: python --version - cmd: copy tools\user-config-win-gha.jam %HOMEDRIVE%%HOMEPATH%\user-config.jam - - cmd: python3 tools\ci.py setup-boost --source-dir=%CD% + - cmd: python tools\ci.py setup-boost --source-dir=%CD% build_script: - - cmd: python3 tools\ci.py run-b2-tests --toolset %TOOLSET% --cxxstd 17,20 --variant debug,release + - cmd: python tools\ci.py run-b2-tests --toolset %TOOLSET% --cxxstd 17,20 --variant debug,release # All testing happens inside the b2 invocation above; AppVeyor's default test # discovery has nothing to do. From 3e8cda2748220d341509c60ae86182887b6e89c9 Mon Sep 17 00:00:00 2001 From: Ruben Perez Date: Thu, 7 May 2026 16:58:23 +0200 Subject: [PATCH 05/16] Use the right python --- appveyor.yml | 1 - tools/ci.py | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index da37869b..5242be00 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -22,7 +22,6 @@ environment: - TOOLSET: msvc-14.2 install: - - cmd: python --version - cmd: copy tools\user-config-win-gha.jam %HOMEDRIVE%%HOMEPATH%\user-config.jam - cmd: python tools\ci.py setup-boost --source-dir=%CD% diff --git a/tools/ci.py b/tools/ci.py index d124dc11..0b35a517 100755 --- a/tools/ci.py +++ b/tools/ci.py @@ -11,6 +11,7 @@ from shutil import rmtree, copytree, ignore_patterns import argparse import multiprocessing +import sys # Variables @@ -138,7 +139,7 @@ def _setup_boost( # Install Boost dependencies _run(["git", "config", "submodule.fetchJobs", "8"]) _run(["git", "submodule", "update", "-q", "--init", "tools/boostdep"]) - _run(["python3", "tools/boostdep/depinst/depinst.py", "--include", "example", "redis"]) + _run([sys.executable, "tools/boostdep/depinst/depinst.py", "--include", "example", "redis"]) # Bootstrap if _is_windows: From 061f0d3e390808b0b117c7fae0c861a3a776c01f Mon Sep 17 00:00:00 2001 From: Ruben Perez Date: Thu, 7 May 2026 17:11:39 +0200 Subject: [PATCH 06/16] Use cmake instead --- appveyor.yml | 47 +++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 41 insertions(+), 6 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 5242be00..f2021d38 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -18,16 +18,51 @@ image: Visual Studio 2019 environment: PATH: 'C:\Python314-x64;%PATH%' - matrix: - - TOOLSET: msvc-14.2 + TOOLSET: msvc-14.2 + GENERATOR: Visual Studio 16 2019 + CXXSTD: 20 + BUILD_TYPE: Release + BUILD_SHARED_LIBS: 1 + CXXFLAGS: /WX + install: - - cmd: copy tools\user-config-win-gha.jam %HOMEDRIVE%%HOMEPATH%\user-config.jam - cmd: python tools\ci.py setup-boost --source-dir=%CD% + - cmd: python tools\ci.py build-b2-distro --toolset %TOOLSET% build_script: - - cmd: python tools\ci.py run-b2-tests --toolset %TOOLSET% --cxxstd 17,20 --variant debug,release + - cmd: > + python tools\ci.py build-cmake-distro + --build-type %BUILD_TYPE% + --cxxstd %CXXSTD% + --toolset %TOOLSET% + --generator "%GENERATOR%" + --build-shared-libs %BUILD_SHARED_LIBS% + --integration-tests 0 + --cxxflags=%CXXFLAGS% + - cmd: > + python tools\ci.py run-cmake-add-subdirectory-tests + --build-type %BUILD_TYPE% + --cxxstd %CXXSTD% + --toolset %TOOLSET% + --generator "%GENERATOR%" + --build-shared-libs %BUILD_SHARED_LIBS% + --cxxflags=%CXXFLAGS% + - cmd: > + python tools\ci.py run-cmake-find-package-tests + --build-type %BUILD_TYPE% + --cxxstd %CXXSTD% + --toolset %TOOLSET% + --generator "%GENERATOR%" + --build-shared-libs %BUILD_SHARED_LIBS% + --cxxflags=%CXXFLAGS% + - cmd: > + python tools\ci.py run-cmake-b2-find-package-tests + --build-type %BUILD_TYPE% + --cxxstd %CXXSTD% + --toolset %TOOLSET% + --generator "%GENERATOR%" + --build-shared-libs %BUILD_SHARED_LIBS% + --cxxflags=%CXXFLAGS% -# All testing happens inside the b2 invocation above; AppVeyor's default test -# discovery has nothing to do. test: off From c53321e0c725fb5905f17e69472fe6b5277e04cb Mon Sep 17 00:00:00 2001 From: Ruben Perez Date: Tue, 12 May 2026 12:48:34 +0200 Subject: [PATCH 07/16] Initial drone version --- .drone.star | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++ appveyor.yml | 68 ---------------------------------------------- 2 files changed, 77 insertions(+), 68 deletions(-) create mode 100644 .drone.star delete mode 100644 appveyor.yml diff --git a/.drone.star b/.drone.star new file mode 100644 index 00000000..7398c63f --- /dev/null +++ b/.drone.star @@ -0,0 +1,77 @@ +# +# Copyright (c) 2019-2025 Ruben Perez Hidalgo (rubenperez038 at gmail dot com) +# +# Distributed under the Boost Software License, Version 1.0. (See accompanying +# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +# + +_triggers = { "branch": [ "master", "develop" ] } + + +def pipeline(): + + return { + "name": "Windows test", + "kind": "pipeline", + "type": "docker", + "trigger": _triggers, + "platform": { + "os": "windows" + }, + "clone": { + "retries": 5 + }, + "node": {}, + "steps": [{ + "name": "Build and run", + "image": "cppalliance/dronevs2019:2", + "pull": "if-not-exists", + "commands": [ + "choco install -y openssl", + # python tools\ci.py setup-boost --source-dir=%CD% + # python tools\ci.py build-b2-distro --toolset %TOOLSET% + + # python tools\ci.py build-cmake-distro + # --build-type %BUILD_TYPE% + # --cxxstd %CXXSTD% + # --toolset %TOOLSET% + # --generator "%GENERATOR%" + # --build-shared-libs %BUILD_SHARED_LIBS% + # --integration-tests 0 + # --cxxflags=%CXXFLAGS% + + # python tools\ci.py run-cmake-add-subdirectory-tests + # --build-type %BUILD_TYPE% + # --cxxstd %CXXSTD% + # --toolset %TOOLSET% + # --generator "%GENERATOR%" + # --build-shared-libs %BUILD_SHARED_LIBS% + # --cxxflags=%CXXFLAGS% + + + # python tools\ci.py run-cmake-find-package-tests + # --build-type %BUILD_TYPE% + # --cxxstd %CXXSTD% + # --toolset %TOOLSET% + # --generator "%GENERATOR%" + # --build-shared-libs %BUILD_SHARED_LIBS% + # --cxxflags=%CXXFLAGS% + + + # python tools\ci.py run-cmake-b2-find-package-tests + # --build-type %BUILD_TYPE% + # --cxxstd %CXXSTD% + # --toolset %TOOLSET% + # --generator "%GENERATOR%" + # --build-shared-libs %BUILD_SHARED_LIBS% + # --cxxflags=%CXXFLAGS% + ] + }] + } + + +def main(ctx): + return [ + pipeline() + ] + diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index f2021d38..00000000 --- a/appveyor.yml +++ /dev/null @@ -1,68 +0,0 @@ -# -# Copyright (c) 2026 Ruben Perez Hidalgo (rubenperez038 at gmail dot com) -# -# Distributed under the Boost Software License, Version 1.0. (See accompanying -# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -# - -version: 1.0.{build}-{branch} - -shallow_clone: true - -branches: - only: - - master - - develop - -image: Visual Studio 2019 - -environment: - PATH: 'C:\Python314-x64;%PATH%' - TOOLSET: msvc-14.2 - GENERATOR: Visual Studio 16 2019 - CXXSTD: 20 - BUILD_TYPE: Release - BUILD_SHARED_LIBS: 1 - CXXFLAGS: /WX - - -install: - - cmd: python tools\ci.py setup-boost --source-dir=%CD% - - cmd: python tools\ci.py build-b2-distro --toolset %TOOLSET% - -build_script: - - cmd: > - python tools\ci.py build-cmake-distro - --build-type %BUILD_TYPE% - --cxxstd %CXXSTD% - --toolset %TOOLSET% - --generator "%GENERATOR%" - --build-shared-libs %BUILD_SHARED_LIBS% - --integration-tests 0 - --cxxflags=%CXXFLAGS% - - cmd: > - python tools\ci.py run-cmake-add-subdirectory-tests - --build-type %BUILD_TYPE% - --cxxstd %CXXSTD% - --toolset %TOOLSET% - --generator "%GENERATOR%" - --build-shared-libs %BUILD_SHARED_LIBS% - --cxxflags=%CXXFLAGS% - - cmd: > - python tools\ci.py run-cmake-find-package-tests - --build-type %BUILD_TYPE% - --cxxstd %CXXSTD% - --toolset %TOOLSET% - --generator "%GENERATOR%" - --build-shared-libs %BUILD_SHARED_LIBS% - --cxxflags=%CXXFLAGS% - - cmd: > - python tools\ci.py run-cmake-b2-find-package-tests - --build-type %BUILD_TYPE% - --cxxstd %CXXSTD% - --toolset %TOOLSET% - --generator "%GENERATOR%" - --build-shared-libs %BUILD_SHARED_LIBS% - --cxxflags=%CXXFLAGS% - -test: off From 10c33fc18b10a14bb706bf70ac2f29a502a528c4 Mon Sep 17 00:00:00 2001 From: Ruben Perez Date: Tue, 12 May 2026 14:01:59 +0200 Subject: [PATCH 08/16] Initial drone file --- .drone.star | 68 +++++++++++++++++++++-------------------------------- 1 file changed, 27 insertions(+), 41 deletions(-) diff --git a/.drone.star b/.drone.star index 7398c63f..b04bacd9 100644 --- a/.drone.star +++ b/.drone.star @@ -8,10 +8,21 @@ _triggers = { "branch": [ "master", "develop" ] } -def pipeline(): +def pipeline( + name, + toolset, + build_type, + cxxstd, + generator, + build_shared_libs, + cxxflags = "" +): + + common_args = "--build-type {} --cxxstd {} --toolset {} --generator \"{}\" --build-shared-libs {} --cxxflags={}".format( + build_type, cxxstd, toolset, generator, build_shared_libs, cxxflags) return { - "name": "Windows test", + "name": name, "kind": "pipeline", "type": "docker", "trigger": _triggers, @@ -28,43 +39,12 @@ def pipeline(): "pull": "if-not-exists", "commands": [ "choco install -y openssl", - # python tools\ci.py setup-boost --source-dir=%CD% - # python tools\ci.py build-b2-distro --toolset %TOOLSET% - - # python tools\ci.py build-cmake-distro - # --build-type %BUILD_TYPE% - # --cxxstd %CXXSTD% - # --toolset %TOOLSET% - # --generator "%GENERATOR%" - # --build-shared-libs %BUILD_SHARED_LIBS% - # --integration-tests 0 - # --cxxflags=%CXXFLAGS% - - # python tools\ci.py run-cmake-add-subdirectory-tests - # --build-type %BUILD_TYPE% - # --cxxstd %CXXSTD% - # --toolset %TOOLSET% - # --generator "%GENERATOR%" - # --build-shared-libs %BUILD_SHARED_LIBS% - # --cxxflags=%CXXFLAGS% - - - # python tools\ci.py run-cmake-find-package-tests - # --build-type %BUILD_TYPE% - # --cxxstd %CXXSTD% - # --toolset %TOOLSET% - # --generator "%GENERATOR%" - # --build-shared-libs %BUILD_SHARED_LIBS% - # --cxxflags=%CXXFLAGS% - - - # python tools\ci.py run-cmake-b2-find-package-tests - # --build-type %BUILD_TYPE% - # --cxxstd %CXXSTD% - # --toolset %TOOLSET% - # --generator "%GENERATOR%" - # --build-shared-libs %BUILD_SHARED_LIBS% - # --cxxflags=%CXXFLAGS% + "python tools\\ci.py setup-boost --source-dir=%CD%", + "python tools\\ci.py build-b2-distro --toolset {}".format(toolset), + "python tools\\ci.py build-cmake-distro {} --integration-tests 0".format(common_args), + "python tools\\ci.py run-cmake-add-subdirectory-tests {}".format(common_args), + "python tools\\ci.py run-cmake-find-package-tests {}".format(common_args), + "python tools\\ci.py run-cmake-b2-find-package-tests {}".format(common_args), ] }] } @@ -72,6 +52,12 @@ def pipeline(): def main(ctx): return [ - pipeline() + pipeline( + name = "MSVC 14.2" + toolset = "msvc-14.2", + build_type = "Release", + cxxstd = "20", + generator = "Visual Studio 16 2019", + build_shared_libs = 0, + ), ] - From 1d3a2a05de8cf49afa8585bd96f7f3935193d8ec Mon Sep 17 00:00:00 2001 From: Ruben Perez Date: Tue, 12 May 2026 14:02:34 +0200 Subject: [PATCH 09/16] Missing coma --- .drone.star | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.star b/.drone.star index b04bacd9..ace91406 100644 --- a/.drone.star +++ b/.drone.star @@ -53,7 +53,7 @@ def pipeline( def main(ctx): return [ pipeline( - name = "MSVC 14.2" + name = "MSVC 14.2", toolset = "msvc-14.2", build_type = "Release", cxxstd = "20", From 30bd2e531164720dccd3cd787b29c98092902c96 Mon Sep 17 00:00:00 2001 From: Ruben Perez Date: Tue, 12 May 2026 14:04:01 +0200 Subject: [PATCH 10/16] fix --- .drone.star | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.star b/.drone.star index ace91406..e7aca323 100644 --- a/.drone.star +++ b/.drone.star @@ -18,7 +18,7 @@ def pipeline( cxxflags = "" ): - common_args = "--build-type {} --cxxstd {} --toolset {} --generator \"{}\" --build-shared-libs {} --cxxflags={}".format( + common_args = "--build-type {} --cxxstd {} --toolset {} --generator '{}' --build-shared-libs {} --cxxflags={}".format( build_type, cxxstd, toolset, generator, build_shared_libs, cxxflags) return { From d29eeda3a44177c7e54b2a17607b06d260a743e8 Mon Sep 17 00:00:00 2001 From: Ruben Perez Date: Tue, 12 May 2026 14:05:13 +0200 Subject: [PATCH 11/16] fix --- .drone.star | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.drone.star b/.drone.star index e7aca323..12726891 100644 --- a/.drone.star +++ b/.drone.star @@ -39,12 +39,12 @@ def pipeline( "pull": "if-not-exists", "commands": [ "choco install -y openssl", - "python tools\\ci.py setup-boost --source-dir=%CD%", - "python tools\\ci.py build-b2-distro --toolset {}".format(toolset), - "python tools\\ci.py build-cmake-distro {} --integration-tests 0".format(common_args), - "python tools\\ci.py run-cmake-add-subdirectory-tests {}".format(common_args), - "python tools\\ci.py run-cmake-find-package-tests {}".format(common_args), - "python tools\\ci.py run-cmake-b2-find-package-tests {}".format(common_args), + "python tools/ci.py setup-boost --source-dir=%CD%", + "python tools/ci.py build-b2-distro --toolset {}".format(toolset), + "python tools/ci.py build-cmake-distro {} --integration-tests 0".format(common_args), + "python tools/ci.py run-cmake-add-subdirectory-tests {}".format(common_args), + "python tools/ci.py run-cmake-find-package-tests {}".format(common_args), + "python tools/ci.py run-cmake-b2-find-package-tests {}".format(common_args), ] }] } From c04785bbde2912b914caba0da82836a5c7139b12 Mon Sep 17 00:00:00 2001 From: Ruben Perez Date: Tue, 12 May 2026 14:06:25 +0200 Subject: [PATCH 12/16] Disable progress logging --- .drone.star | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.star b/.drone.star index 12726891..a2e41d35 100644 --- a/.drone.star +++ b/.drone.star @@ -38,7 +38,7 @@ def pipeline( "image": "cppalliance/dronevs2019:2", "pull": "if-not-exists", "commands": [ - "choco install -y openssl", + "choco install -y --no-progress openssl", "python tools/ci.py setup-boost --source-dir=%CD%", "python tools/ci.py build-b2-distro --toolset {}".format(toolset), "python tools/ci.py build-cmake-distro {} --integration-tests 0".format(common_args), From 9c5add8e14d86cb2476c07a351aef431bc0cde7b Mon Sep 17 00:00:00 2001 From: Ruben Perez Date: Tue, 12 May 2026 14:08:16 +0200 Subject: [PATCH 13/16] Fix pwd --- .drone.star | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.star b/.drone.star index a2e41d35..7e1f6a54 100644 --- a/.drone.star +++ b/.drone.star @@ -39,7 +39,7 @@ def pipeline( "pull": "if-not-exists", "commands": [ "choco install -y --no-progress openssl", - "python tools/ci.py setup-boost --source-dir=%CD%", + "python tools/ci.py setup-boost --source-dir=$Env:DRONE_WORKSPACE", "python tools/ci.py build-b2-distro --toolset {}".format(toolset), "python tools/ci.py build-cmake-distro {} --integration-tests 0".format(common_args), "python tools/ci.py run-cmake-add-subdirectory-tests {}".format(common_args), From 9ea7ee4ba5ed9c5a9c6b54e97e0a084d3a299615 Mon Sep 17 00:00:00 2001 From: Ruben Perez Date: Tue, 12 May 2026 14:23:54 +0200 Subject: [PATCH 14/16] debug --- tools/ci.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/ci.py b/tools/ci.py index 0b35a517..7f9233cd 100755 --- a/tools/ci.py +++ b/tools/ci.py @@ -76,8 +76,8 @@ def _set_cmake_env(cxxflags: str = '', ldflags: str = '') -> None: print('+ CMAKE_BUILD_PARALLEL_LEVEL={}'.format(_num_jobs), flush=True) os.environ['CMAKE_BUILD_PARALLEL_LEVEL'] = str(_num_jobs) - print('+ CXXFLAGS={}'.format(cxxflags), flush=True) - os.environ['CXXFLAGS'] = cxxflags + # print('+ CXXFLAGS={}'.format(cxxflags), flush=True) + # os.environ['CXXFLAGS'] = cxxflags print('+ LDFLAGS={}'.format(ldflags), flush=True) os.environ['LDFLAGS'] = ldflags From 4f809cbaceffc3b4c5576dc6c602035f63d58d4d Mon Sep 17 00:00:00 2001 From: Ruben Perez Date: Tue, 12 May 2026 14:38:04 +0200 Subject: [PATCH 15/16] Revert "debug" This reverts commit 9ea7ee4ba5ed9c5a9c6b54e97e0a084d3a299615. --- tools/ci.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/ci.py b/tools/ci.py index 7f9233cd..0b35a517 100755 --- a/tools/ci.py +++ b/tools/ci.py @@ -76,8 +76,8 @@ def _set_cmake_env(cxxflags: str = '', ldflags: str = '') -> None: print('+ CMAKE_BUILD_PARALLEL_LEVEL={}'.format(_num_jobs), flush=True) os.environ['CMAKE_BUILD_PARALLEL_LEVEL'] = str(_num_jobs) - # print('+ CXXFLAGS={}'.format(cxxflags), flush=True) - # os.environ['CXXFLAGS'] = cxxflags + print('+ CXXFLAGS={}'.format(cxxflags), flush=True) + os.environ['CXXFLAGS'] = cxxflags print('+ LDFLAGS={}'.format(ldflags), flush=True) os.environ['LDFLAGS'] = ldflags From 6b929d2fd514956c74d12512fdde6bb36a902a73 Mon Sep 17 00:00:00 2001 From: Ruben Perez Date: Tue, 12 May 2026 14:40:55 +0200 Subject: [PATCH 16/16] openssl --- .drone.star | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.drone.star b/.drone.star index 7e1f6a54..ea7871df 100644 --- a/.drone.star +++ b/.drone.star @@ -33,6 +33,9 @@ def pipeline( "retries": 5 }, "node": {}, + "environment": { + "OPENSSL_ROOT_DIR": "C:/Program Files/OpenSSL-Win64", + }, "steps": [{ "name": "Build and run", "image": "cppalliance/dronevs2019:2", @@ -40,7 +43,7 @@ def pipeline( "commands": [ "choco install -y --no-progress openssl", "python tools/ci.py setup-boost --source-dir=$Env:DRONE_WORKSPACE", - "python tools/ci.py build-b2-distro --toolset {}".format(toolset), + # "python tools/ci.py build-b2-distro --toolset {}".format(toolset), "python tools/ci.py build-cmake-distro {} --integration-tests 0".format(common_args), "python tools/ci.py run-cmake-add-subdirectory-tests {}".format(common_args), "python tools/ci.py run-cmake-find-package-tests {}".format(common_args),