codeql analysis #104
This file contains hidden or 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 * * * | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - .github/workflows/codeql-analysis.yml | |
| permissions: | |
| contents: read | |
| security-events: write | |
| name: codeql analysis | |
| jobs: | |
| c_cpp: | |
| name: CodeQL analysis (C/C++) | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - name: Clone ImageMagick libraries | |
| run: ./checkout.sh --no-configure --dependencies-artifact linux-x64-static.zip | |
| working-directory: src/ImageMagick | |
| - name: Build ImageMagick | |
| run: sudo ../../../build/shared/build.imagemagick.sh linux x64 Q16-HDRI OpenMP | |
| working-directory: src/ImageMagick/ImageMagick | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v4 | |
| with: | |
| languages: c-cpp | |
| source-root: src/Magick.Native | |
| - name: Build Native | |
| run: ../../build/shared/build.native.sh linux x64 Q16-HDRI OpenMP | |
| working-directory: src/Magick.Native | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@v4 | |
| actions: | |
| name: CodeQL analysis (GitHub Actions) | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v4 | |
| with: | |
| languages: actions | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@v4 |