Skip to content

Commit

Permalink
Use clang ccc-analyzer dummy compiler for static analysis (#1207)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjnicola authored Oct 13, 2022
1 parent 9a05f63 commit 76cd0a3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,9 @@ jobs:
uses: actions/checkout@v3
- name: Configure and Scan Build
run: |
cmake -Bbuild -DCMAKE_BUILD_TYPE=Release
cmake -Bbuild -DCMAKE_C_COMPILER=/usr/share/clang/scan-build-11/libexec/ccc-analyzer
scan-build -o ~/scan-build-report cmake --build build
- name: Upload scan-build report
if: failure()
uses: actions/upload-artifact@v3
with:
name: scan-build-report
Expand Down

0 comments on commit 76cd0a3

Please sign in to comment.