Skip to content

Commit 4a5fbbd

Browse files
committed
Try to fix hanging CodeQL CI job
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.
1 parent 28dba23 commit 4a5fbbd

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/codeql-analysis.yml

+8-9
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ jobs:
5555

5656
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5757
# If this step fails, then you should remove it and run the build manually (see below)
58-
- name: Autobuild
59-
uses: github/codeql-action/autobuild@v3
58+
# - name: Autobuild
59+
# uses: github/codeql-action/autobuild@v3
6060

6161
# ℹ️ Command-line programs to run using the OS shell.
6262
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -67,13 +67,12 @@ jobs:
6767
# - run: |
6868
# echo "Run, Build Application using script"
6969
# ./location_of_script_within_repo/buildscript.sh
70-
#- run: |
71-
# ${{matrix.install}}
72-
# cmake -E make_directory ${{runner.workspace}}/build
73-
# cd ${{runner.workspace}}/build
74-
# cmake ${GITHUB_WORKSPACE} -GNinja -DCMAKE_CXX_COMPILER=g++-13
75-
# cmake --build .
76-
70+
- name: Build
71+
run: |
72+
cmake -E make_directory ${{runner.workspace}}/build
73+
cd ${{runner.workspace}}/build
74+
cmake ${GITHUB_WORKSPACE} -DFLUX_BUILD_EXAMPLES=Off
75+
cmake --build . -j 4
7776
7877
- name: Perform CodeQL Analysis
7978
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)