]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Update clang static analyzer to version 12
authorGabriel A. Devenyi <gdevenyi@gmail.com>
Fri, 14 Aug 2020 13:23:38 +0000 (09:23 -0400)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Sat, 15 Aug 2020 15:34:13 +0000 (17:34 +0200)
.github/workflows/analyze.yml

index 38f59d7eefda3ef36075c85bbdc956f4352f8311..c15118deae0c4b9d1f7c21d62d558401d260424f 100644 (file)
@@ -20,7 +20,7 @@ jobs:
     - name: Compile source code
       run: |
         cmake --build . --config Release > /dev/null
-  Clang-11:
+  Clang-12:
     runs-on: ubuntu-latest
     steps:
     - uses: actions/checkout@v1
@@ -28,12 +28,12 @@ jobs:
       run: |
         wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
         sudo apt-add-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic main" -y
-        sudo apt install clang-tools-11 -y
+        sudo apt install clang-tools-12 -y
     - name: Generate project files
       run: |
-        scan-build-11 --status-bugs cmake . -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DWITH_GZFILEOP=ON -DWITH_FUZZERS=OFF -DWITH_CODE_COVERAGE=OFF -DWITH_MAINTAINER_WARNINGS=OFF
+        scan-build-12 --status-bugs cmake . -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DWITH_GZFILEOP=ON -DWITH_FUZZERS=OFF -DWITH_CODE_COVERAGE=OFF -DWITH_MAINTAINER_WARNINGS=OFF
       env:
         CI: true
     - name: Compile source code
       run: |
-        scan-build-11 --status-bugs cmake --build . --config Release > /dev/null
+        scan-build-12 --status-bugs cmake --build . --config Release > /dev/null