CI: Run clang format on linux and osx CI and fail if changes are made
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
#!/bin/sh
|
||||
set -ex
|
||||
#!/bin/bash
|
||||
|
||||
./formatcode.sh
|
||||
if ! ./CI/check-format.sh; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
set -ex
|
||||
ccache -s || echo "CCache is not available."
|
||||
mkdir build && cd build
|
||||
cmake ..
|
||||
|
Reference in New Issue
Block a user