Skip to content

Commit 1de8930

Browse files
authored
Merge branch 'OpenPrinting:master' into master
2 parents 12edbb4 + b9c015f commit 1de8930

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
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+

0 commit comments

Comments
 (0)