File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-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
+
27
+ # Initializes the CodeQL tools for scanning.
28
+ - name : Initialize CodeQL
29
+ uses : github/codeql-action/init@v1
30
+ with :
31
+ languages : ${{ matrix.language }}
32
+ # If you wish to specify custom queries, you can do so here or in a config file.
33
+ # By default, queries listed here will override any specified in a config file.
34
+ # Prefix the list here with "+" to use these queries and those in the config file.
35
+ # queries: ./path/to/local/query, your-org/your-repo/queries@main
36
+
37
+ - run : |
38
+ sudo apt-get update
39
+ sudo apt-get install --no-install-recommends -yq maven flex bison
40
+ make -C src minisat2-download
41
+ make -C src -j2
42
+ make -C unit -j2
43
+ make -C jbmc/src -j2
44
+ make -C jbmc/unit -j2
45
+
46
+ - name : Perform CodeQL Analysis
47
+ uses : github/codeql-action/analyze@v1
You can’t perform that action at this time.
0 commit comments