Skip to content

ci: Use CodeChecker as static analysis tool #4

ci: Use CodeChecker as static analysis tool

ci: Use CodeChecker as static analysis tool #4

Workflow file for this run

name: Clang Static Analyzer
on: [push, pull_request]
jobs:
codechecker_static_analyzer:
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install CodeChecker
run: |
sudo apt-get update
sudo apt-get install clang-tools-18 cmake cppcheck libcunit1-dev ninja-build unzip wget
pip3 install codechecker
- name: Run CodeChecker
run: |
run: tools/ci/run_ci.sh --run-build --run-code-checker --code-checker diff
- name: Upload CodeChecker reports
uses: actions/upload-artifact@v4
with:
name: CodeChecker Reports
path: build-wakaama/codechecker_report