Skip to content

Commit c8378c2

Browse files
committed
Print tool versions
1 parent 52f036f commit c8378c2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

ci/scripts/ci.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ set -o errexit -o nounset -o pipefail -o xtrace
55

66
: "${CI_DIR:=build}"
77

8+
if command -v clang++ >/dev/null 2>&1; then
9+
clang++ --version
10+
fi
11+
if command -v include-what-you-use >/dev/null 2>&1; then
12+
include-what-you-use --version
13+
fi
14+
if command -v clang-tidy >/dev/null 2>&1; then
15+
clang-tidy --version
16+
fi
17+
818
cmake -B "$CI_DIR" "${CMAKE_ARGS[@]+"${CMAKE_ARGS[@]}"}"
919
cmake --build "$CI_DIR" -t all tests mpexamples -- "${BUILD_ARGS[@]+"${BUILD_ARGS[@]}"}"
1020
ctest --test-dir "$CI_DIR" --output-on-failure

0 commit comments

Comments
 (0)