From 2ad26b1df1d732cf1cd69972962a551dbd742fea Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 26 Apr 2026 17:26:07 +0300 Subject: [PATCH] Add b2-check-installed-posix to ci.yml --- .github/workflows/ci.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 810a468de2..e360dbc949 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -83,6 +83,34 @@ jobs: cd status ../b2 -j3 quick + b2-check-installed-posix: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v6 + with: + submodules: true + + - name: Install Boost + run: | + ./bootstrap.sh + ./b2 -j3 --prefix=$HOME/.local install + + - name: Test installed headers + run: | + g++ -I ~/.local/include -I /usr/include/python3.12 -std=c++20 -c tools/boost_install/test/headers/include.cpp + + - name: Check installed files + run: | + test -f ~/.local/share/boost_predef/build.jam + test -f ~/.local/lib/cmake/BoostDetectToolset-*.cmake + test -f ~/.local/lib/cmake/Boost-*/BoostConfig.cmake + test -f ~/.local/lib/cmake/Boost-*/BoostConfigVersion.cmake + test -f ~/.local/lib/cmake/boost_headers-*/boost_headers-config.cmake + test -f ~/.local/lib/cmake/boost_headers-*/boost_headers-config-version.cmake + test -f ~/.local/lib/cmake/boost_system-*/boost_system-config.cmake + test -f ~/.local/lib/cmake/boost_system-*/boost_system-config-version.cmake + cmake-install-posix: strategy: fail-fast: false