Skip to content

Commit

Permalink
Update cppcheck.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sakumisu authored Sep 27, 2024
1 parent f733912 commit f302026
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/cppcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,5 @@ jobs:
- name: cppcheck
shell: bash
run: |
git clone https://github.com/danmar/cppcheck.git
cd cppcheck
git fetch --tags
latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`)
echo "Latest release tag: $latest_tag"
git checkout $latest_tag
make FILESDIR=/usr/local/share/Cppcheck -j8
sudo make install FILESDIR=/usr/local/share/Cppcheck
cd ..
cppcheck --version
cppcheck --enable=warning,portability,performance --language=c --platform=unix32 --std=c99 class/ core/ common/ port/ -i class/template/ port/template/
sudo apt install cppcheck
cppcheck --enable=warning,portability,performance --language=c --platform=unix32 --std=c99 . -i class/template/ port/template/ thirdparty/

0 comments on commit f302026

Please sign in to comment.