Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/tesseract/.github/workflows/codeql-analysis.yml @ 2:b50eed0cc0ef upstream
ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4.
The directory name has changed: no version number in the expanded directory now.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:43:07 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1:1d09e1dec1d9 | 2:b50eed0cc0ef |
|---|---|
| 1 # For most projects, this workflow file will not need changing; you simply need | |
| 2 # to commit it to your repository. | |
| 3 # | |
| 4 # You may wish to alter this file to override the set of languages analyzed, | |
| 5 # or to provide custom queries or build logic. | |
| 6 # | |
| 7 # ******** NOTE ******** | |
| 8 # We have attempted to detect the languages in your repository. Please check | |
| 9 # the `language` matrix defined below to confirm you have the correct set of | |
| 10 # supported CodeQL languages. | |
| 11 # | |
| 12 name: "CodeQL" | |
| 13 | |
| 14 on: | |
| 15 push: | |
| 16 branches: [ main ] | |
| 17 paths: | |
| 18 - '**.cpp' | |
| 19 - '**.h' | |
| 20 - '**/codeql-analysis.yml' | |
| 21 - 'm4/*.m4' | |
| 22 - 'Makefile.am' | |
| 23 - 'autogen.sh' | |
| 24 - 'configure.ac' | |
| 25 pull_request: | |
| 26 # The branches below must be a subset of the branches above | |
| 27 branches: [ main ] | |
| 28 paths: | |
| 29 - '**.cpp' | |
| 30 - '**.h' | |
| 31 - '**/codeql-analysis.yml' | |
| 32 - 'm4/*.m4' | |
| 33 - 'Makefile.am' | |
| 34 - 'autogen.sh' | |
| 35 - 'configure.ac' | |
| 36 schedule: | |
| 37 - cron: '34 23 * * 2' | |
| 38 | |
| 39 jobs: | |
| 40 analyze: | |
| 41 name: Analyze | |
| 42 runs-on: ubuntu-latest | |
| 43 permissions: | |
| 44 actions: read | |
| 45 contents: read | |
| 46 security-events: write | |
| 47 | |
| 48 strategy: | |
| 49 fail-fast: false | |
| 50 matrix: | |
| 51 language: [ 'cpp' ] | |
| 52 # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] | |
| 53 # Learn more: | |
| 54 # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed | |
| 55 | |
| 56 steps: | |
| 57 - name: Checkout repository | |
| 58 uses: actions/checkout@v4 | |
| 59 | |
| 60 - name: Install dependencies | |
| 61 run: | | |
| 62 sudo apt-get update | |
| 63 sudo apt-get install autoconf libleptonica-dev -y | |
| 64 sudo apt-get install libpango1.0-dev -y | |
| 65 sudo apt-get install cabextract libarchive-dev -y | |
| 66 sudo apt-get install libcurl4-openssl-dev libcurl4 curl -y | |
| 67 | |
| 68 # Initializes the CodeQL tools for scanning. | |
| 69 - name: Initialize CodeQL | |
| 70 uses: github/codeql-action/init@v2 | |
| 71 with: | |
| 72 languages: ${{ matrix.language }} | |
| 73 # If you wish to specify custom queries, you can do so here or in a config file. | |
| 74 # By default, queries listed here will override any specified in a config file. | |
| 75 # Prefix the list here with "+" to use these queries and those in the config file. | |
| 76 # queries: ./path/to/local/query, your-org/your-repo/queries@main | |
| 77 | |
| 78 - name: Build | |
| 79 run: | | |
| 80 ./autogen.sh | |
| 81 ./configure | |
| 82 make all training | |
| 83 | |
| 84 - name: Perform CodeQL Analysis | |
| 85 uses: github/codeql-action/analyze@v2 |
