speed up compilation for static code analysis by switching to debug build type and turning off optimization

This commit is contained in:
Axel Kohlmeyer
2020-10-01 19:01:28 -04:00
parent b15555724d
commit 88e182da64

View File

@ -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