• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1on:
2  workflow_dispatch:
3  schedule:
4  - cron: 0 6 * * *
5
6name: codeql analysis
7jobs:
8  scan_linux:
9    name: 'Linux Q${{matrix.quantum}}-x64 hdri=${{matrix.hdri}} (${{matrix.modules}})'
10    runs-on: ubuntu-latest
11
12    strategy:
13      fail-fast: false
14      matrix:
15        quantum: [ 16 ]
16        hdri: [ yes ]
17        modules: [ 'with-modules', 'without-modules' ]
18
19    steps:
20    - uses: actions/checkout@v2
21      with:
22        fetch-depth: 2
23
24    - name: Configure ImageMagick
25      run: |
26        export CFLAGS="-Wno-deprecated-declarations"
27        ./configure --with-quantum-depth=${{matrix.quantum}} --enable-hdri=${{matrix.hdri}} --${{matrix.modules}}
28        echo "" > config.status
29
30    - name: Initialize CodeQL
31      uses: github/codeql-action/init@v1
32      with:
33        languages: cpp
34
35    - name: Build ImageMagick
36      run: |
37        make
38
39    - name: Perform CodeQL Analysis
40      uses: github/codeql-action/analyze@v1
41