Commit ec8261b8 authored by David Frank's avatar David Frank
Browse files

Fail clang-tidy script, if configuration fails

parent 5b0b2bed
......@@ -27,6 +27,12 @@ cd build
cmake .. -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DELSA_CUDA_VECTOR=ON -DELSA_BENCHMARKS=ON -DCMAKE_CXX_FLAGS="-stdlib=libc++" -DCMAKE_EXE_LINKER_FLAGS="-lc++abi"
cd ..
if [ ! -f build/compile_commands.json ]; then
echo "Compilation database not found!"
echo "--> Most likely the configuration failed"
exit 1
fi
echo
echo "clang-tidy checking changed files compared to target branch ${target_branch}"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment