This is an automated email from the ASF dual-hosted git repository.
bneradt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 763043b076 Add a cmake preset for clang-analyzer (#10646)
763043b076 is described below
commit 763043b076fa474a2dddfbea65196321a4ca1af2
Author: Brian Neradt <[email protected]>
AuthorDate: Thu Oct 19 10:45:35 2023 -0500
Add a cmake preset for clang-analyzer (#10646)
This adds a cmake preset configuration for running clang-analyzer.
---
CMakePresets.json | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/CMakePresets.json b/CMakePresets.json
index a087cffbe1..399ee240aa 100644
--- a/CMakePresets.json
+++ b/CMakePresets.json
@@ -126,6 +126,18 @@
"displayName": "CI Ubuntu Hardened Build",
"description": "CI Pipeline config for Ubuntu with hardening flags",
"inherits": ["ci", "hardened"]
+ },
+ {
+ "name": "ci-clang-analyzer",
+ "displayName": "CI Clang Analyzer",
+ "description": "CI Pipeline config for running clang-analyzer",
+ "inherits": ["ci"],
+ "cacheVariables": {
+ "CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
+ "ENABLE_CCACHE": "OFF",
+ "ENABLE_EXAMPLE": "OFF",
+ "BUILD_TESTING": "OFF"
+ }
}
],
"buildPresets": [