Objective-C static analysis - use different llvm path to try to find clang-tidy. (#13280)

Use different llvm path to try to find clang-tidy. Sometimes the build fails because it can't find clang-tidy. Hopefully this path works better.
This commit is contained in:
Edward Chen 2022-10-12 10:16:26 -07:00 committed by GitHub
parent cbe4eb65b3
commit 9422438782
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@ jobs:
displayName: Generate compile_commands.json and ONNX protobuf files
- script: |
"$(brew --prefix llvm)/bin/clang-tidy" \
"$(brew --prefix llvm@14)/bin/clang-tidy" \
-p="$(Build.BinariesDirectory)/Debug" \
--checks="-*,clang-analyzer-*" \
--header-filter="objectivec/include|objectivec/src|onnxruntime/core" \