codeql analysis #1615
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
workflow_dispatch: | |
schedule: | |
- cron: 0 6 * * * | |
name: codeql analysis | |
jobs: | |
scan_linux: | |
name: 'Linux Q${{matrix.quantum}}-x64 hdri=${{matrix.hdri}} (${{matrix.modules}})' | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
quantum: [ 16 ] | |
hdri: [ yes ] | |
modules: [ 'with-modules', 'without-modules' ] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
- name: Configure ImageMagick | |
run: | | |
export CFLAGS="-Wno-deprecated-declarations" | |
./configure --with-quantum-depth=${{matrix.quantum}} --enable-hdri=${{matrix.hdri}} --${{matrix.modules}} | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: cpp | |
- name: Build ImageMagick | |
run: | | |
make | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 |