@@ -246,3 +246,49 @@ jobs:
246246 run : |
247247 cd ../boost-root
248248 b2 -j3 tools/quickbook/test toolset=${{matrix.toolset}} variant=debug,release embed-manifest-via=linker
249+
250+ posix-cmake :
251+
252+ runs-on : ubuntu-latest
253+
254+ steps :
255+ - uses : actions/checkout@v6
256+
257+ - name : Install packages
258+ run : sudo apt-get install libboost-filesystem-dev libboost-program-options-dev
259+
260+ - name : Build Quickbook with CMake
261+ run : |
262+ cmake -S . -B __build__ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=~/.local
263+ cmake --build __build__ --target install
264+
265+ windows-cmake :
266+
267+ runs-on : windows-latest
268+
269+ steps :
270+ - uses : actions/checkout@v6
271+
272+ - name : Install Boost
273+ shell : cmd
274+ run : |
275+ echo GITHUB_REPOSITORY: %GITHUB_REPOSITORY%
276+ echo GITHUB_BASE_REF: %GITHUB_BASE_REF%
277+ echo GITHUB_REF: %GITHUB_REF%
278+ if "%GITHUB_BASE_REF%" == "" set GITHUB_BASE_REF=%GITHUB_REF%
279+ set BOOST_BRANCH=develop
280+ for /f %%i in ("%GITHUB_BASE_REF%") do if "%%~nxi" == "master" set BOOST_BRANCH=master
281+ echo BOOST_BRANCH: %BOOST_BRANCH%
282+ cd ..
283+ git clone -b %BOOST_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root
284+ cd boost-root
285+ xcopy /s /e /q %GITHUB_WORKSPACE% tools\quickbook\
286+ git submodule update --init tools/boostdep
287+ python tools/boostdep/depinst/depinst.py --git_args "--jobs 3" ../tools/quickbook
288+ cmd /c bootstrap
289+ b2 install
290+
291+ - name : Build Quickbook with CMake
292+ run : |
293+ cmake -S . -B __build__ -DBoost_ROOT=C:/Boost -DCMAKE_INSTALL_PREFIX=C:/usr/local
294+ cmake --build __build__ --target install --config Release
0 commit comments