From 26c3b3adabd46d66ed54e77414053e566344b599 Mon Sep 17 00:00:00 2001 From: Derek Bailey Date: Thu, 31 Mar 2022 22:19:51 -0700 Subject: [PATCH] Update codeql.yml Replaced autobuild with cmake and make. --- .github/workflows/codeql.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 95c37c24b..a856e54b8 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -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