diff options
-rw-r--r-- | .github/workflows/ci.yml | 2 | ||||
-rwxr-xr-x | travis.sh | 1 | ||||
-rwxr-xr-x | travis/clang-format.sh | 2 |
3 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8912924..90ec657 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,8 @@ jobs: - compiler: clang config: tsan - compiler: clang + config: format + - compiler: clang config: scan-build steps: @@ -9,6 +9,7 @@ build_cmake() { } build_format() { + sudo apt-get install -y clang-format ./travis/run-clang-format/run-clang-format.py \ --clang-format-executable="${PWD}/travis/clang-format.sh" \ --recursive examples librabbitmq tests tools diff --git a/travis/clang-format.sh b/travis/clang-format.sh index 3b48c3b..80985e8 100755 --- a/travis/clang-format.sh +++ b/travis/clang-format.sh @@ -2,4 +2,4 @@ set -e -exec clang-format-3.9 -style=file $@ +exec clang-format -style=file $@ |