Skip to content

Commit

Permalink
Add cmake args to static analysis workflow
Browse files Browse the repository at this point in the history
The build type as well as the proper flags were not specified for the
build to run properly.
  • Loading branch information
eljonny committed Apr 21, 2024
1 parent bd71a39 commit 2bdcb15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cmake-static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ jobs:
exclude_dir: lib

use_cmake: true
cmake_args: -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -Wno-dev -DTESTCPP_TEST_ENABLED=1 -DTESTCPP_COVERAGE_ENABLED=1 -DTESTCPP_DEMO_ENABLED=1 -DTESTCPP_ANALYSIS_ENABLED=1

# (Optional) cppcheck args
cppcheck_args: --enable=all --suppress=missingInclude

0 comments on commit 2bdcb15

Please sign in to comment.