speed up compilation for static code analysis by switching to debug build type and turning off optimization
This commit is contained in:
2
.github/workflows/codeql-analysis.yml
vendored
2
.github/workflows/codeql-analysis.yml
vendored
@ -39,7 +39,7 @@ jobs:
|
|||||||
- name: Building LAMMPS via CMake
|
- name: Building LAMMPS via CMake
|
||||||
if: ${{ matrix.language == 'cpp' }}
|
if: ${{ matrix.language == 'cpp' }}
|
||||||
run: |
|
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
|
make -C build -j2
|
||||||
|
|
||||||
- name: Perform CodeQL Analysis
|
- name: Perform CodeQL Analysis
|
||||||
|
|||||||
Reference in New Issue
Block a user