File tree Expand file tree Collapse file tree 1 file changed +58
-0
lines changed
Expand file tree Collapse file tree 1 file changed +58
-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+
9+ jobs :
10+ analyze :
11+ name : CodeQL Analyze
12+ runs-on : ubuntu-latest
13+
14+ permissions :
15+ contents : read
16+ security-events : write
17+
18+ strategy :
19+ matrix :
20+ language : [ 'cpp' ]
21+
22+ steps :
23+ - name : Checkout repository
24+ uses : actions/checkout@v4
25+
26+ - name : Initialize CodeQL
27+ uses : github/codeql-action/init@v4
28+ with :
29+ languages : ${{ matrix.language }}
30+ queries : +security-and-quality
31+
32+ - name : Install dependencies
33+ run : |
34+ sudo apt-get update
35+ sudo apt-get install -y \
36+ build-essential \
37+ autoconf \
38+ automake \
39+ autopoint \
40+ gettext \
41+ libtool \
42+ libtool-bin \
43+ pkg-config \
44+ libcups2-dev \
45+ libcupsfilters-dev \
46+ ghostscript \
47+ mupdf-tools \
48+ poppler-utils
49+
50+ - name : Build project
51+ run : |
52+ ./autogen.sh
53+ ./configure
54+ make
55+
56+ - name : Perform CodeQL Analysis
57+ uses : github/codeql-action/analyze@v4
58+
You can’t perform that action at this time.
0 commit comments