Update codeql.yml

Replaced autobuild with cmake and make.
This commit is contained in:
Derek Bailey
2022-03-31 22:19:51 -07:00
committed by GitHub
parent da6e1b9856
commit 26c3b3adab

View File

@@ -52,8 +52,8 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
# - name: Autobuild
# uses: github/codeql-action/autobuild@v2
# Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
@@ -62,9 +62,9 @@ jobs:
# and modify them (or add more) to build your code if your project
# uses a compiled language
#- run: |
# make bootstrap
# make release
- run: |
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release .
make -j
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2