Skip to content

Commit 0f26b42

Browse files
uses gpu runner
1 parent 52a5dad commit 0f26b42

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/codeql.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ on:
2626
jobs:
2727
analyze:
2828
name: Build and Analyze
29-
runs-on: ubuntu-22.04-64core
29+
runs-on: linux-x64-gpu
3030
timeout-minutes: 360
3131
permissions:
3232
actions: write
@@ -39,12 +39,21 @@ jobs:
3939
language: [ 'c-cpp', 'javascript-typescript', 'python' ]
4040

4141
steps:
42+
- if: matrix.language == 'c-cpp'
43+
name: Setup environment
44+
run: |
45+
sudo apt update && sudo apt install -y git git-lfs
46+
4247
- name: Checkout repository
4348
uses: actions/checkout@v4
4449
with:
4550
lfs: true
4651
submodules: 'recursive'
4752

53+
- if: matrix.language == 'c-cpp'
54+
name: Start tmate session
55+
uses: mxschmitt/action-tmate@v3
56+
4857
- if: matrix.language == 'c-cpp'
4958
name: Setup environment
5059
run: |
@@ -94,10 +103,6 @@ jobs:
94103
name: Autobuild
95104
uses: github/codeql-action/autobuild@v3
96105

97-
- if: matrix.language == 'c-cpp'
98-
name: Start tmate session
99-
uses: mxschmitt/action-tmate@v3
100-
101106
- if: matrix.language == 'c-cpp'
102107
name: Build CMake project
103108
run: |

0 commit comments

Comments
 (0)