File tree Expand file tree Collapse file tree 1 file changed +61
-0
lines changed
Expand file tree Collapse file tree 1 file changed +61
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " CodeQL Advanced"
2+
3+ on :
4+ push :
5+ branches : [ "develop" ]
6+
7+ jobs :
8+ analyze :
9+ name : Analyze (${{ matrix.language }})
10+ runs-on : ubuntu-latest
11+ permissions :
12+ # required for all workflows
13+ security-events : write
14+ # required to fetch internal or private CodeQL packs
15+ packages : read
16+ # only required for workflows in private repositories
17+ actions : read
18+ contents : read
19+
20+ strategy :
21+ fail-fast : false
22+ matrix :
23+ include :
24+ - language : c-cpp
25+ build-mode : autobuild
26+ steps :
27+ - name : Checkout repository
28+ uses : actions/checkout@v4
29+
30+ - name : Initialize CodeQL
31+ uses : github/codeql-action/init@v3
32+ with :
33+ languages : ${{ matrix.language }}
34+ build-mode : ${{ matrix.build-mode }}
35+
36+ - name : Checkout dependency repository (xengine)
37+ uses : actions/checkout@v4
38+ with :
39+ repository : libxengine/libxengine
40+ path : libxengine
41+
42+ - name : sub module checkout (opensource)
43+ run : |
44+ git submodule init
45+ git submodule update
46+
47+ - name : Set up Dependency Environment
48+ run : |
49+ cd libxengine
50+ chmod 777 *
51+ sudo ./XEngine_LINEnv.sh -i 3
52+
53+ - name : make
54+ run : |
55+ cd XEngine_Source
56+ make
57+
58+ - name : Perform CodeQL Analysis
59+ uses : github/codeql-action/analyze@v3
60+ with :
61+ category : " /language:${{matrix.language}}"
You can’t perform that action at this time.
0 commit comments