Skip to content

Commit

Permalink
add cppcheck in github pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
embetrix committed Dec 15, 2024
1 parent fefc6f9 commit fbd096b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/cmake-single-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ jobs:
- uses: actions/checkout@v4

- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y bmap-tools libssl-dev libxml2-dev zlib1g-dev liblzma-dev
run: sudo apt-get update && sudo apt-get install -y bmap-tools libssl-dev libxml2-dev zlib1g-dev liblzma-dev cppcheck

- name: Cppcheck
run: cppcheck --enable=all --suppress=missingIncludeSystem *.cpp

- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
Expand Down

0 comments on commit fbd096b

Please sign in to comment.