diff options
| author | sakumisu <[email protected]> | 2024-09-27 22:16:32 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-09-27 22:16:32 +0800 |
| commit | bb794082752f1657e7f81f47cfb44ddc240efd5a (patch) | |
| tree | 57959ba2fd5100b9f001d9c9b9830d776805dd26 | |
| parent | 2b6eebcbb253d2e8e1cca9a48222d160d2745157 (diff) | |
Create cppcheck.yml
| -rw-r--r-- | .github/workflows/cppcheck.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/cppcheck.yml b/.github/workflows/cppcheck.yml new file mode 100644 index 00000000..666afd27 --- /dev/null +++ b/.github/workflows/cppcheck.yml @@ -0,0 +1,17 @@ +name: Cppcheck action + +on: + push: + pull_request: + +jobs: + build: + name: cppcheck + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: cppcheck + shell: bash + run: | + sudo apt install cppcheck + cppcheck --enable=warning,portability,performance --language=c --platform=unix32 --std=c99 --force . -i third_party/ -i class/template -i port/template/ |
