File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : " CodeQL Advanced (Manual C/C++ Build )"
1+ name : " CodeQL ( C/C++)"
22
33on :
44 push :
88 schedule :
99 - cron : ' 41 2 * * 6'
1010
11+ permissions :
12+ contents : read
13+ actions : read
14+ security-events : write
15+ packages : read
16+
1117jobs :
1218 analyze :
13- name : Analyze (${{ matrix.language }})
14- runs-on : ubuntu-latest
15-
16- permissions :
17- security-events : write
18- packages : read
19- actions : read
20- contents : read
21-
22- strategy :
23- fail-fast : false
24- matrix :
25- include :
26- - language : c-cpp
27- build-mode : manual
19+ name : Analyze (c-cpp)
20+ runs-on : windows-latest
2821
2922 steps :
3023 - name : Checkout repository
@@ -33,29 +26,19 @@ jobs:
3326 - name : Initialize CodeQL
3427 uses : github/codeql-action/init@v4
3528 with :
36- languages : ${{ matrix.language }}
37- build-mode : ${{ matrix.build-mode }}
29+ languages : c-cpp
30+ build-mode : manual
3831
39- - name : Install build dependencies
40- if : matrix.build-mode == 'manual'
41- shell : bash
42- run : |
43- sudo apt-get update
44- sudo apt-get install -y cmake ninja-build g++ make
32+ - name : Configure CMake (MSVC)
33+ run : cmake -S . -B build-temp
4534
46- - name : Configure
47- if : matrix.build-mode == 'manual'
48- shell : bash
49- run : |
50- cmake -S . -B build -G Ninja
35+ - name : Build (plugin only)
36+ run : cmake --build build-temp --config Release --target AutoDaveSave --parallel
5137
52- - name : Build
53- if : matrix.build-mode == 'manual'
54- shell : bash
38+ - name : Verify DLL Output
39+ shell : pwsh
5540 run : |
56- cmake --build build --parallel
41+ Get-ChildItem -Recurse build-temp/out -Include *.dll | Select-Object FullName
5742
5843 - name : Perform CodeQL Analysis
5944 uses : github/codeql-action/analyze@v4
60- with :
61- category : " /language:${{ matrix.language }}"
You can’t perform that action at this time.
0 commit comments