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
2+
3+ on :
4+ push :
5+ branches :
6+ - ' develop'
7+ paths :
8+ - ' XEngine_Source/**'
9+ - ' XEngine_Release/**'
10+ - ' .github/**'
11+
12+ jobs :
13+ analyze :
14+ runs-on : ubuntu-24.04
15+ permissions :
16+ security-events : write
17+ packages : read
18+ actions : read
19+ contents : read
20+
21+ strategy :
22+ fail-fast : false
23+ matrix :
24+ include :
25+ - language : c-cpp
26+ steps :
27+ - name : Checkout repository
28+ uses : actions/checkout@v6
29+ with :
30+ ref : ' develop'
31+
32+ - name : Checkout dependency repository (xengine)
33+ uses : actions/checkout@v6
34+ with :
35+ repository : libxengine/libxengine
36+ path : libxengine
37+
38+ - name : sub module checkout (opensource)
39+ run : |
40+ git submodule init
41+ git submodule update
42+
43+ - name : Set TERM variable
44+ run : echo "TERM=xterm" >> $GITHUB_ENV
45+
46+ - name : Set up Dependency Environment
47+ run : |
48+ cd libxengine
49+ chmod +x ./XEngine_LINEnv.sh
50+ sudo ./XEngine_LINEnv.sh -i 3
51+
52+ - name : Initialize CodeQL
53+ uses : github/codeql-action/init@v4
54+ with :
55+ languages : ${{ matrix.language }}
56+ build-mode : manual
57+ queries : security-and-quality
58+
59+ - name : make
60+ run : |
61+ cd XEngine_Source
62+ make
63+
64+ - name : Perform CodeQL Analysis
65+ uses : github/codeql-action/analyze@v4
66+ with :
67+ category : " /language:${{ matrix.language }}"
You can’t perform that action at this time.
0 commit comments