From 08c24809b7010c2618e4b71aaed97fda8c80da79 Mon Sep 17 00:00:00 2001 From: At-sushi Date: Thu, 18 Jul 2024 14:36:11 +0900 Subject: [PATCH] Update codeql.yml --- .github/workflows/codeql.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 08ddf3a..c11c181 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -45,7 +45,7 @@ jobs: matrix: include: - language: c-cpp - build-mode: autobuild + build-mode: manual # CodeQL supports the following values keywords for 'language': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' # Use `c-cpp` to analyze code written in C, C++ or both # Use 'java-kotlin' to analyze code written in Java, Kotlin or both @@ -80,12 +80,12 @@ jobs: - if: matrix.build-mode == 'manual' shell: bash run: | - echo 'If you are using a "manual" build mode for one or more of the' \ - 'languages you are analyzing, replace this with the commands to build' \ - 'your code, for example:' - echo ' make bootstrap' - echo ' make release' - exit 1 + git submodule update --init + cd test + mkdir -p build + cd $_ + cmake .. + make - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v3