From 88e182da646ed62e1a71d800d380cf71ef71a2ef Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Thu, 1 Oct 2020 19:01:28 -0400 Subject: [PATCH] speed up compilation for static code analysis by switching to debug build type and turning off optimization --- .github/workflows/codeql-analysis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a74f5fe12f..4bf207b49b 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -39,7 +39,7 @@ jobs: - name: Building LAMMPS via CMake if: ${{ matrix.language == 'cpp' }} run: | - cmake -B build -C cmake/presets/most.cmake cmake -DBUILD_SHARED_LIBS=on + cmake -B build -C cmake/presets/most.cmake cmake -DCMAKE_BUILD_TYPE=Debug make -C build -j2 - name: Perform CodeQL Analysis