Skip to content

Commit 3c9ee03

Browse files
committed
fix attempt
1 parent 064c027 commit 3c9ee03

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,14 +267,16 @@ jobs:
267267
run: |
268268
cd ../boost-root/libs/$LIBRARY/test/cmake_install_test && mkdir __build__ && cd __build__
269269
270+
export LD_LIBRARY_PATH=$HOME/.local/lib:$LD_LIBRARY_PATH
271+
wget -q -O - https://raw.githubusercontent.com/boostorg/boost/refs/heads/master/CMakeLists.txt | sed -n 's/project.*Boost .*VERSION .*\.\(.*\)\..*/1.\1/p'
272+
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'`
273+
echo "Version is ${BOOST_SUPERPROJECT_VERSION}"
274+
270275
set -e
271276
for BACKEND in stacktrace stacktrace_noop stacktrace_basic stacktrace_backtrace; do
272-
rm -rf * ~/.local
277+
rm -rf *
273278
cmake -DCMAKE_INSTALL_PREFIX=~/.local -DBOOST_STACKTRACE_IMPL_BACKEND=${BACKEND} ..
274279
cmake --build .
275-
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"
278280
ctest --output-on-failure --no-tests=error -V
279281
done
280282

0 commit comments

Comments
 (0)