Skip to content

Commit

Permalink
Try to fix hanging CodeQL CI job
Browse files Browse the repository at this point in the history
The CodeQL CI job has mysteriously started hanging in the "autobuild" step, without any indication that anything has gone wrong.

I have no idea why, but let's try using a manual build to see if that fixes things.
  • Loading branch information
tcbrindle committed Aug 22, 2024
1 parent 28dba23 commit ba57bcf
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,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@v3
# - name: Autobuild
# uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
Expand All @@ -67,13 +67,12 @@ jobs:
# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh
#- run: |
# ${{matrix.install}}
# cmake -E make_directory ${{runner.workspace}}/build
# cd ${{runner.workspace}}/build
# cmake ${GITHUB_WORKSPACE} -GNinja -DCMAKE_CXX_COMPILER=g++-13
# cmake --build .

- name: Build
run: |
cmake -E make_directory ${{runner.workspace}}/build
cd ${{runner.workspace}}/build
cmake ${GITHUB_WORKSPACE} -GNinja
cmake --build .
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3

0 comments on commit ba57bcf

Please sign in to comment.