File tree Expand file tree Collapse file tree 1 file changed +64
-0
lines changed Expand file tree Collapse file tree 1 file changed +64
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " CodeQL"
2
+
3
+ on :
4
+ push :
5
+ branches : [master]
6
+ pull_request :
7
+ branches : [master]
8
+ schedule :
9
+ - cron : ' 0 1 * * *'
10
+
11
+ permissions :
12
+ contents : read
13
+
14
+ jobs :
15
+ analyze :
16
+ name : Analyze
17
+ runs-on : ubuntu-latest
18
+ concurrency :
19
+ group : ${{ github.workflow }}-${{ matrix.language }}-${{ github.ref }}
20
+ cancel-in-progress : true
21
+ permissions :
22
+ actions : read
23
+ security-events : write
24
+
25
+ strategy :
26
+ fail-fast : false
27
+ matrix :
28
+ language : [ 'cpp', 'python' ]
29
+
30
+ steps :
31
+ - name : Checkout repository
32
+ uses : actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
33
+
34
+ - name : Initialize CodeQL
35
+ uses : github/codeql-action/init@5581e08a65fc3811c3ac78939dd59e7a8adbf003
36
+ with :
37
+ languages : ${{ matrix.language }}
38
+
39
+ - name : Install dependencies
40
+ run : |
41
+ sudo apt-get update -qq
42
+ sudo apt-get install -qqy \
43
+ bison \
44
+ clang \
45
+ flex \
46
+ gawk \
47
+ gettext \
48
+ libaudit-dev \
49
+ libcap-dev \
50
+ libcap-ng-dev \
51
+ libcunit1-dev \
52
+ libdbus-glib-1-dev \
53
+ libpcre3-dev \
54
+ python3-dev \
55
+ python-dev \
56
+ ruby-dev \
57
+ swig \
58
+ xmlto
59
+
60
+ - run : |
61
+ make -j$(nproc) DESTDIR="$(pwd)/destdir" install
62
+
63
+ - name : Perform CodeQL Analysis
64
+ uses : github/codeql-action/analyze@5581e08a65fc3811c3ac78939dd59e7a8adbf003
You can’t perform that action at this time.
0 commit comments