File tree Expand file tree Collapse file tree 1 file changed +62
-0
lines changed
Expand file tree Collapse file tree 1 file changed +62
-0
lines changed 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@v4
29+ with :
30+ ref : ' develop'
31+
32+ - name : Checkout dependency repository (xengine)
33+ uses : actions/checkout@v4
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 up Dependency Environment
44+ run : |
45+ cd libxengine
46+ chmod +x ./XEngine_LINEnv.sh
47+ sudo ./XEngine_LINEnv.sh -i 3
48+
49+ - name : Initialize CodeQL
50+ uses : github/codeql-action/init@v3
51+ with :
52+ languages : ${{ matrix.language }}
53+
54+ - name : make
55+ run : |
56+ cd XEngine_Source
57+ make
58+
59+ - name : Perform CodeQL Analysis
60+ uses : github/codeql-action/analyze@v3
61+ with :
62+ category : " /language:${{ matrix.language }}"
You can’t perform that action at this time.
0 commit comments