diff options
author | Jan Niklas Hasse <jhasse@bixense.com> | 2020-10-02 18:44:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-02 18:44:42 +0200 |
commit | 3dc8664859dad031870e6a594457e32768a85df0 (patch) | |
tree | ebdff0ff9735945d442f3a6b264a00289e196d99 | |
parent | e14c2552e9db71f12dcc0686cac5587e4e3d2366 (diff) | |
parent | c22512b9b5ff47864cc5774018a0be12dfb6da44 (diff) | |
download | ninja-3dc8664859dad031870e6a594457e32768a85df0.tar.gz |
Merge pull request #1852 from splinter-build/scan-build
Add clang-analyze to build
-rw-r--r-- | .github/workflows/linux.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 71cd06e..47dd062 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -22,13 +22,13 @@ jobs: curl -L -O https://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/7/x86_64/Packages/p/p7zip-plugins-16.02-10.el7.x86_64.rpm rpm -U --quiet p7zip-16.02-10.el7.x86_64.rpm rpm -U --quiet p7zip-plugins-16.02-10.el7.x86_64.rpm - yum install -y make gcc-c++ + yum install -y make gcc-c++ clang-analyzer - name: Build ninja shell: bash run: | cmake -DCMAKE_BUILD_TYPE=Release -B build - cmake --build build --parallel --config Release + scan-build -o scanlogs cmake --build build --parallel --config Release strip build/ninja - name: Test ninja |