From 2bdcb15079fcb986c49ba6d1152cdf37390331dc Mon Sep 17 00:00:00 2001 From: Jonathan Hyry Date: Sat, 20 Apr 2024 20:59:12 -0700 Subject: [PATCH] Add cmake args to static analysis workflow The build type as well as the proper flags were not specified for the build to run properly. --- .github/workflows/cmake-static-analysis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cmake-static-analysis.yml b/.github/workflows/cmake-static-analysis.yml index ddc6f3f..c8b11f1 100644 --- a/.github/workflows/cmake-static-analysis.yml +++ b/.github/workflows/cmake-static-analysis.yml @@ -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