Skip to content

Commit 7d5ee32

Browse files
committed
ci: Check with clang analyzer (via clang-tidy)
1 parent 4814e54 commit 7d5ee32

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

circle.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,12 +151,15 @@ jobs:
151151
- test
152152
- benchmark
153153

154-
clang-latest-ubsan:
154+
clang-latest-ubsan-tidy:
155155
executor: linux-clang-9
156156
environment:
157157
BUILD_TYPE: Debug
158-
CMAKE_OPTIONS: -DSANITIZE=undefined,implicit-conversion,nullability
158+
CMAKE_OPTIONS: -DSANITIZE=undefined,implicit-conversion,nullability -DCMAKE_CXX_CLANG_TIDY=clang-tidy-9
159159
steps:
160+
- run:
161+
name: "Install clang-tidy"
162+
command: sudo apt-get -q update && sudo apt-get -qy install clang-tidy-9
160163
- build
161164
- test
162165

@@ -169,4 +172,4 @@ workflows:
169172
- release-macos
170173
- clang-latest-coverage
171174
- clang-latest-asan
172-
- clang-latest-ubsan
175+
- clang-latest-ubsan-tidy

0 commit comments

Comments
 (0)