Skip to content

Commit

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

- name: Install dependencies
run: sudo apt-get update && sudo apt-get --no-install-recommends install -y openssl libssl-dev python3 softhsm2 opensc libengine-pkcs11-openssl
run: sudo apt-get update && sudo apt-get --no-install-recommends install -y cppcheck openssl libssl-dev python3 softhsm2 opensc libengine-pkcs11-openssl

- 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.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
Expand Down

0 comments on commit 0a7b494

Please sign in to comment.