[llvm] [workflows] Add post-commit job that periodically runs the clang static analyzer (PR #94106)

Artem Dergachev via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 5 16:24:12 PDT 2024


================
@@ -45,19 +45,12 @@ jobs:
         env:
           DEBIAN_FRONTEND: noninteractive
         run: |
-          apt-get update
-          apt-get -y install \
-            wget \
-            gnupg
-          echo "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main" | tee -a /etc/apt/sources.list.d/llvm.list
-          wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
           apt-get update
           apt-get -y install \
             cmake \
             ninja-build \
             perl \
-            clang-tools-$LLVM_VERSION \
-            clang-$LLVM_VERSION
+            clang-tools
----------------
haoNoQ wrote:

You can use `scan-build` directly from the source directory if you like, there's no need to install it with `apt-get`.

https://github.com/llvm/llvm-project/pull/94106


More information about the llvm-commits mailing list