Add b2-cmake-use-lib-posix to ci.yml

This commit is contained in:
Peter Dimov
2026-04-28 19:00:39 +03:00
parent 0b199684e8
commit 0cc17a6d75

View File

@@ -148,6 +148,46 @@ jobs:
cmake -S tools/quickbook -B __build__ -DBoost_ROOT=C:/Boost -DCMAKE_INSTALL_PREFIX=C:/usr/local
cmake --build __build__ --target install --config Release
b2-cmake-use-lib-posix:
strategy:
fail-fast: false
matrix:
lib:
- atomic
- container
- date_time
- filesystem
- headers
- log
- program_options
- python
- random
#- regex
- serialization
- system
- test
- thread
- wave
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
submodules: true
- name: Install Boost --with-library
run: |
./bootstrap.sh
./b2 -j3 --prefix=$HOME/.local --with-${{matrix.lib}} install
- name: Use library from CMake
run: |
cmake -S tools/boost_install/test/${{matrix.lib}} -B __build__ -DCMAKE_INSTALL_PREFIX=~/.local
cmake --build __build__
export LD_LIBRARY_PATH=$HOME/.local/lib:$LD_LIBRARY_PATH
cmake --build __build__ --target check
cmake-install-posix:
strategy:
fail-fast: false