Debian Codegraph @

.github/workflows/codeql-analysis.yml

raw symbols SCIP
1 on:
2 workflow_dispatch:
3 push:
4 branches:
5 - main
6 tags:
7 - '!*'
8 pull_request:
9 branches:
10 - main
11
12 permissions: {}
13
14 name: Codeql analysis
15 jobs:
16 c_cpp:
17 name: Linux Q${{matrix.quantum}}-x64 hdri=${{matrix.hdri}} (${{matrix.modules}})
18 runs-on: ubuntu-24.04
19
20 permissions:
21 contents: read
22 security-events: write
23
24 strategy:
25 fail-fast: false
26 matrix:
27 quantum: [ 16 ]
28 hdri: [ yes ]
29 modules: [ 'with-modules', 'without-modules' ]
30
31 steps:
32 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #v7.0.1
33 with:
34 persist-credentials: false
35
36 - name: Install dependencies
37 run: |
38 set -e
39 export DEBIAN_FRONTEND=noninteractive
40 sudo apt-get update -y
41 sudo apt-get install -y libltdl-dev
42
43 - name: Configure ImageMagick
44 run: |
45 export CFLAGS="-Wno-deprecated-declarations"
46 autoreconf -fiv
47 ./configure --with-quantum-depth=${{matrix.quantum}} --enable-hdri=${{matrix.hdri}} --${{matrix.modules}}
48 echo "" > config.status
49
50 - name: Initialize CodeQL
51 uses: github/codeql-action/init@7188fc363630916deb702c7fdcf4e481b751f97a #v4.37.1
52 with:
53 languages: c-cpp
54
55 - name: Build ImageMagick
56 run: |
57 make
58
59 - name: Perform CodeQL Analysis
60 uses: github/codeql-action/analyze@7188fc363630916deb702c7fdcf4e481b751f97a #v4.37.1
61
62 actions:
63 name: CodeQL analysis (GitHub Actions)
64 runs-on: ubuntu-24.04
65
66 permissions:
67 contents: read
68 security-events: write
69
70 steps:
71 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #v7.0.1
72 with:
73 persist-credentials: false
74
75 - name: Initialize CodeQL
76 uses: github/codeql-action/init@7188fc363630916deb702c7fdcf4e481b751f97a #v4.37.1
77 with:
78 languages: actions
79
80 - name: Perform CodeQL Analysis
81 uses: github/codeql-action/analyze@7188fc363630916deb702c7fdcf4e481b751f97a #v4.37.1