Skip to content

Commit b5a8a86

Browse files
Update codeql.yml
1 parent 5de5574 commit b5a8a86

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/codeql.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
matrix:
4545
include:
4646
- language: c-cpp
47-
build-mode: autobuild
47+
build-mode: manual
4848
- language: python
4949
build-mode: none
5050
# CodeQL supports the following values keywords for 'language': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
@@ -84,9 +84,10 @@ jobs:
8484
echo 'If you are using a "manual" build mode for one or more of the' \
8585
'languages you are analyzing, replace this with the commands to build' \
8686
'your code, for example:'
87-
echo ' make bootstrap'
88-
echo ' make release'
89-
exit 1
87+
cmake -E make_directory build
88+
cd build
89+
cmake .. -DCMAKE_BUILD_TYPE=RELEASE
90+
cmake --build . --config RELEASE
9091
9192
- name: Perform CodeQL Analysis
9293
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)