From 1cf8490d469750db8d2320a1dd010668937a9cf4 Mon Sep 17 00:00:00 2001 From: ClausKlein Date: Tue, 2 Mar 2021 14:31:02 +0100 Subject: [PATCH] use of USE_STATIC_ANALYZER=clang-tidy doen't work --- .github/workflows/macos.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 1acc6b1..4f92392 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -40,4 +40,7 @@ jobs: - name: build standalone with clang-tidy run: | - cmake -S standalone -B build/standalone -DUSE_STATIC_ANALYZER=clang-tidy + cmake -S standalone -B build/standalone -DCMAKE_EXPORT_COMPILE_COMMANDS=1 + export PATH=/usr/local/opt/llvm/bin/:${PATH} + /usr/local/opt/llvm/share/clang/run-clang-tidy.py -p build/standalone examples || + echo IGNORED