Skip to content

Commit

Permalink
Use clang-tidy with CI sanitize preset
Browse files Browse the repository at this point in the history
  • Loading branch information
ClausKlein committed Mar 26, 2024
1 parent a863ad5 commit 6686f3c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions asio/CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"name": "clang-tidy",
"hidden": true,
"cacheVariables": {
"CMAKE_CXX_CLANG_TIDY": "clang-tidy;--header-filter=^${sourceDir}/"
"CMAKE_CXX_CLANG_TIDY": "clang-tidy-15;--header-filter=^${sourceDir}/"
}
},
{
Expand All @@ -50,7 +50,7 @@
"hidden": true,
"cacheVariables": {
"CMAKE_CXX_EXTENSIONS": "OFF",
"CMAKE_CXX_STANDARD": "20",
"CMAKE_CXX_STANDARD": "17",
"CMAKE_CXX_STANDARD_REQUIRED": "ON"
}
},
Expand Down Expand Up @@ -164,6 +164,7 @@
"binaryDir": "${sourceDir}/build/sanitize",
"inherits": [
"ci-linux",
"clang-tidy",
"dev-mode"
],
"cacheVariables": {
Expand Down

0 comments on commit 6686f3c

Please sign in to comment.