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 Analysis"
2+
3+ on :
4+ push :
5+ branches : [ "master" ]
6+ pull_request :
7+ branches : [ "master" ]
8+ schedule :
9+ - cron : ' 18 7 * * 1'
10+
11+ jobs :
12+ analyze :
13+ name : Analyze
14+ runs-on : ubuntu-24.04
15+ permissions :
16+ actions : read
17+ contents : read
18+ security-events : write
19+
20+ steps :
21+ - name : Checkout Repository
22+ uses : actions/checkout@v6
23+
24+ - name : Install Qt
25+ uses : jurplel/install-qt-action@v4
26+ with :
27+ version : ' 6.5'
28+ modules : ' qt5compat'
29+ cache : true
30+
31+ - name : Install Linux Dependencies
32+ run : |
33+ sudo apt-get update
34+ sudo apt-get install -y libxkbcommon-dev libxkbcommon-x11-0 fuse libxcb-cursor-dev libcups2-dev ninja-build
35+
36+ - name : Initialize CodeQL
37+ uses : github/codeql-action/init@v3
38+ with :
39+ languages : ' cpp'
40+ queries : security-extended
41+
42+ - name : Configure
43+ run : cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
44+
45+ - name : Build
46+ # CodeQL traces this build to understand the code structure
47+ run : cmake --build build --parallel
48+
49+ - name : Perform CodeQL Analysis
50+ uses : github/codeql-action/analyze@v3
51+ with :
52+ category : " /language:cpp"
You can’t perform that action at this time.
0 commit comments