File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed
Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " CodeQL"
2+
3+ on :
4+ push :
5+ branches : [ develop ]
6+ pull_request :
7+ branches : [ develop ]
8+
9+ jobs :
10+ analyze :
11+ name : Analyze
12+ runs-on : ubuntu-latest
13+ permissions :
14+ actions : read
15+ contents : read
16+ security-events : write
17+
18+ strategy :
19+ fail-fast : false
20+ matrix :
21+ language : [ 'cpp', 'java', 'javascript', 'python' ]
22+
23+ steps :
24+ - name : Checkout repository
25+ uses : actions/checkout@v2
26+ with :
27+ submodules : recursive
28+
29+ # Initializes the CodeQL tools for scanning.
30+ - name : Initialize CodeQL
31+ uses : github/codeql-action/init@v1
32+ with :
33+ languages : ${{ matrix.language }}
34+ # If you wish to specify custom queries, you can do so here or in a config file.
35+ # By default, queries listed here will override any specified in a config file.
36+ # Prefix the list here with "+" to use these queries and those in the config file.
37+ # queries: ./path/to/local/query, your-org/your-repo/queries@main
38+
39+ - run : |
40+ sudo apt-get update
41+ sudo apt-get install --no-install-recommends -yq maven flex bison
42+ make -C src minisat2-download
43+ make -C src -j2
44+ make -C unit -j2
45+ make -C jbmc/src -j2
46+ make -C jbmc/unit -j2
47+
48+ - name : Perform CodeQL Analysis
49+ uses : github/codeql-action/analyze@v1
You can’t perform that action at this time.
0 commit comments