Skip to content

Commit

Permalink
Use clang-tidy for ci-ninja-release build
Browse files Browse the repository at this point in the history
  • Loading branch information
ClausKlein committed Oct 27, 2023
1 parent ec02b4b commit 36dc249
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}
},
{
"name": "clang-tidy",
"name": "clang-tidy-env",
"hidden": true,
"description": "build using clang-tidy as precompile step",
"cacheVariables": {
Expand All @@ -33,8 +33,10 @@
"name": "conan-module-path",
"hidden": true,
"description": "setup using conan toolchain",
"toolchainFile": "conan_toolchain.cmake",
"binaryDir": "${sourceDir}/build"
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_PREFIX_PATH": "${sourceDir}/build/"
}
},
{
"name": "ci-ninja",
Expand All @@ -60,6 +62,7 @@
"name": "ci-ninja-release",
"displayName": "Ninja Release",
"inherits": [
"clang-tidy-env",
"ci-ninja"
],
"cacheVariables": {
Expand Down

0 comments on commit 36dc249

Please sign in to comment.