Skip to content

Commit 064c027

Browse files
committed
fix attempt
1 parent 2e397a5 commit 064c027

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ on:
1010

1111
env:
1212
UBSAN_OPTIONS: print_stacktrace=1
13-
BOOST_SUPERPROJECT_VERSION: "`wget -q -O - https://raw.githubusercontent.com/boostorg/boost/refs/heads/master/CMakeLists.txt | sed -n 's/project.*Boost .*VERSION .*\.\(.*\)\..*/1.\1/p'`"
1413

1514
jobs:
1615
posix:
@@ -272,8 +271,10 @@ jobs:
272271
for BACKEND in stacktrace stacktrace_noop stacktrace_basic stacktrace_backtrace; do
273272
rm -rf * ~/.local
274273
cmake -DCMAKE_INSTALL_PREFIX=~/.local -DBOOST_STACKTRACE_IMPL_BACKEND=${BACKEND} ..
275-
cmake --build . --target install
274+
cmake --build .
276275
export LD_LIBRARY_PATH=$HOME/.local/lib:$LD_LIBRARY_PATH
276+
export BOOST_SUPERPROJECT_VERSION=`wget -q -O - https://raw.githubusercontent.com/boostorg/boost/refs/heads/master/CMakeLists.txt | sed -n 's/project.*Boost .*VERSION .*\.\(.*\)\..*/1.\1/p'`
277+
echo "Version is $BOOST_SUPERPROJECT_VERSION"
277278
ctest --output-on-failure --no-tests=error -V
278279
done
279280
@@ -431,6 +432,8 @@ jobs:
431432
- name: Use the installed library (Debug)
432433
shell: cmd
433434
run: |
435+
set BOOST_SUPERPROJECT_VERSION=`wget -q -O - https://raw.githubusercontent.com/boostorg/boost/refs/heads/master/CMakeLists.txt | sed -n 's/project.*Boost .*VERSION .*\.\(.*\)\..*/1.\1/p'`
436+
echo %BOOST_SUPERPROJECT_VERSION%
434437
cd ../boost-root/libs/%LIBRARY%/test/cmake_install_test && mkdir __build__ && cd __build__
435438
cmake -DCMAKE_INSTALL_PREFIX=C:/cmake-prefix -DBOOST_STACKTRACE_IMPL_BACKEND=stacktrace ..
436439
cmake --build . --config Debug

0 commit comments

Comments
 (0)