Skip to content
Snippets Groups Projects
Commit db4e4160 authored by Sergey Kosukhin's avatar Sergey Kosukhin
Browse files

Update CI script for Clang on Breeze: check formatting.

parent c50031b9
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,12 @@ top_srcdir=$(cd "${script_dir}/../../.."; pwd)
. "${script_dir}/utils.sh"
init_clang1201
# Check the formatting. Note that git-clang-format might keep redundant blank
# lines. Therefore, we use clang-format:
find src interfaces app \
-name '*.h' -o -name '*.hpp' -o -name '*.c' -o -name '*.cpp' | \
xargs -n 1 -P 8 clang-format --Werror --dry-run --verbose
test -f "${top_srcdir}/configure" || "${top_srcdir}/autogen.sh"
"${top_srcdir}/configure" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment