|
10 | 10 |
|
11 | 11 | env: |
12 | 12 | UBSAN_OPTIONS: print_stacktrace=1 |
| 13 | + BOOST_SUPERPROJECT_VERSION: 1.88 # minimal Boost version for the CMake install tests |
13 | 14 |
|
14 | 15 | jobs: |
15 | 16 | posix: |
@@ -266,10 +267,15 @@ jobs: |
266 | 267 | - name: Use the installed library |
267 | 268 | run: | |
268 | 269 | cd ../boost-root/libs/$LIBRARY/test/cmake_install_test && mkdir __build__ && cd __build__ |
269 | | - cmake -DCMAKE_INSTALL_PREFIX=~/.local .. |
270 | | - cmake --build . |
271 | | - export LD_LIBRARY_PATH=$HOME/.local/lib:$LD_LIBRARY_PATH |
272 | | - ctest --output-on-failure --no-tests=error |
| 270 | +
|
| 271 | + set -e |
| 272 | + for BACKEND in stacktrace stacktrace_noop stacktrace_basic stacktrace_backtrace; do |
| 273 | + rm -rf * |
| 274 | + cmake -DCMAKE_INSTALL_PREFIX=~/.local -DBOOST_STACKTRACE_IMPL_BACKEND=${BACKEND} .. |
| 275 | + cmake --build . |
| 276 | + export LD_LIBRARY_PATH=$HOME/.local/lib:$LD_LIBRARY_PATH |
| 277 | + ctest --output-on-failure --no-tests=error -V |
| 278 | + done |
273 | 279 |
|
274 | 280 | posix-cmake-test: |
275 | 281 | strategy: |
@@ -426,10 +432,20 @@ jobs: |
426 | 432 | shell: cmd |
427 | 433 | run: | |
428 | 434 | cd ../boost-root/libs/%LIBRARY%/test/cmake_install_test && mkdir __build__ && cd __build__ |
429 | | - cmake -DCMAKE_INSTALL_PREFIX=C:/cmake-prefix .. |
| 435 | + cmake -DCMAKE_INSTALL_PREFIX=C:/cmake-prefix -DBOOST_STACKTRACE_IMPL_BACKEND=stacktrace .. |
430 | 436 | cmake --build . --config Debug |
431 | 437 | PATH C:\cmake-prefix\bin;%PATH% |
432 | | - ctest --output-on-failure --no-tests=error -C Debug |
| 438 | + ctest --output-on-failure --no-tests=error -C Debug -V |
| 439 | +
|
| 440 | + cmake -DCMAKE_INSTALL_PREFIX=C:/cmake-prefix -DBOOST_STACKTRACE_IMPL_BACKEND=stacktrace_windbg .. |
| 441 | + cmake --build . --config Debug |
| 442 | + PATH C:\cmake-prefix\bin;%PATH% |
| 443 | + ctest --output-on-failure --no-tests=error -C Debug -V |
| 444 | +
|
| 445 | + cmake -DCMAKE_INSTALL_PREFIX=C:/cmake-prefix -DBOOST_STACKTRACE_IMPL_BACKEND=stacktrace_windbg_cached .. |
| 446 | + cmake --build . --config Debug |
| 447 | + PATH C:\cmake-prefix\bin;%PATH% |
| 448 | + ctest --output-on-failure --no-tests=error -C Debug -V |
433 | 449 |
|
434 | 450 | - name: Use the installed library (RelWithDebInfo) |
435 | 451 | shell: cmd |
|
0 commit comments