File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949 run : |
5050 cd ../boost-root
5151 ./b2 -j3 libs/$LIBRARY/test variant=debug,release
52+
53+ windows :
54+ strategy :
55+ fail-fast : false
56+ matrix :
57+ os : [ windows-2022, windows-2025 ]
58+
59+ runs-on : ${{matrix.os}}
60+
61+ steps :
62+ - uses : actions/checkout@v4
63+
64+ - name : Setup Boost
65+ shell : cmd
66+ run : |
67+ echo GITHUB_REPOSITORY: %GITHUB_REPOSITORY%
68+ for /f %%i in ("%GITHUB_REPOSITORY%") do set LIBRARY=%%~nxi
69+ echo LIBRARY: %LIBRARY%
70+ echo LIBRARY=%LIBRARY%>>%GITHUB_ENV%
71+ echo GITHUB_BASE_REF: %GITHUB_BASE_REF%
72+ echo GITHUB_REF: %GITHUB_REF%
73+ if "%GITHUB_BASE_REF%" == "" set GITHUB_BASE_REF=%GITHUB_REF%
74+ set BOOST_BRANCH=develop
75+ for /f %%i in ("%GITHUB_BASE_REF%") do if "%%~nxi" == "master" set BOOST_BRANCH=master
76+ echo BOOST_BRANCH: %BOOST_BRANCH%
77+ cd ..
78+ git clone -b %BOOST_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root
79+ cd boost-root
80+ xcopy /s /e /q %GITHUB_WORKSPACE% libs\%LIBRARY%\
81+ git submodule update --init tools/boostdep
82+ python tools/boostdep/depinst/depinst.py --git_args "--jobs 3" %LIBRARY%
83+ cmd /c bootstrap
84+ b2 -d0 headers
85+
86+ - name : Run tests
87+ shell : cmd
88+ run : |
89+ cd ../boost-root
90+ b2 -j3 libs/%LIBRARY%/test variant=debug,release
You can’t perform that action at this time.
0 commit comments