Skip to content

Commit

Permalink
Enable C++17 testing in circleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
vissarion committed Apr 30, 2024
1 parent 713fe69 commit 975cc5e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .circleci/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,14 @@ for file in $files; do
mv $dirn/$filen.gcno $COVERAGE_DIR/$TEST_NAME/$dstfilen.gcno
done

cd $BOOST_DIR

find "$BOOST_DIR" -type f -name "Jamfile" | while read -r file; do
# Replace "run" with "compile" using sed
sed -i 's/\brun\b/compile/g' "$file"
sed -i 's/: : :/:/g' "$file"
done

./b2 -j$TEST_NPARALLEL -a toolset=gcc cxxflags="--std=c++17" libs/geometry/$TEST_DIR

exit $EXIT_STATUS

0 comments on commit 975cc5e

Please sign in to comment.