Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/zxing-cpp/.github/workflows/msvc-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 # This workflow uses actions that are not certified by GitHub. | |
| 2 # They are provided by a third-party and are governed by | |
| 3 # separate terms of service, privacy policy, and support | |
| 4 # documentation. | |
| 5 # | |
| 6 # Find more information at: | |
| 7 # https://github.com/microsoft/msvc-code-analysis-action | |
| 8 | |
| 9 name: Microsoft C++ Code Analysis | |
| 10 | |
| 11 on: workflow_dispatch | |
| 12 | |
| 13 #on: | |
| 14 # push: | |
| 15 # branches: [ "master" ] | |
| 16 # pull_request: | |
| 17 # branches: [ "master" ] | |
| 18 # schedule: | |
| 19 # - cron: '20 18 * * 1' | |
| 20 | |
| 21 env: | |
| 22 # Path to the CMake build directory. | |
| 23 build: '${{ github.workspace }}/build' | |
| 24 config: 'Debug' | |
| 25 | |
| 26 permissions: | |
| 27 contents: read | |
| 28 | |
| 29 jobs: | |
| 30 analyze: | |
| 31 permissions: | |
| 32 contents: read # for actions/checkout to fetch code | |
| 33 security-events: write # for github/codeql-action/upload-sarif to upload SARIF results | |
| 34 actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status | |
| 35 name: Analyze | |
| 36 runs-on: windows-latest | |
| 37 | |
| 38 steps: | |
| 39 - name: Checkout repository | |
| 40 uses: actions/checkout@v4 | |
| 41 | |
| 42 - name: Configure CMake | |
| 43 run: cmake -B ${{ env.build }} -DCMAKE_BUILD_TYPE=${{ env.config }} | |
| 44 | |
| 45 # Build is not required unless generated source files are used | |
| 46 # - name: Build CMake | |
| 47 # run: cmake --build ${{ env.build }} | |
| 48 | |
| 49 - name: Initialize MSVC Code Analysis | |
| 50 uses: microsoft/msvc-code-analysis-action@v0.1.1 | |
| 51 # Provide a unique ID to access the sarif output path | |
| 52 id: run-analysis | |
| 53 with: | |
| 54 cmakeBuildDirectory: ${{ env.build }} | |
| 55 buildConfiguration: ${{ env.config }} | |
| 56 # Ruleset file that will determine what checks will be run | |
| 57 ruleset: NativeRecommendedRules.ruleset | |
| 58 # additionalArgs: /wd26451 # Suppress C26451, apparently bogous in VS2019 | |
| 59 # still fails, see https://github.com/microsoft/msvc-code-analysis-action/issues/31 | |
| 60 | |
| 61 # Upload SARIF file to GitHub Code Scanning Alerts | |
| 62 - name: Upload SARIF to GitHub | |
| 63 uses: github/codeql-action/upload-sarif@v3 | |
| 64 with: | |
| 65 sarif_file: ${{ steps.run-analysis.outputs.sarif }} | |
| 66 | |
| 67 # Upload SARIF file as an Artifact to download and view | |
| 68 # - name: Upload SARIF as an Artifact | |
| 69 # uses: actions/upload-artifact@v4 | |
| 70 # with: | |
| 71 # name: sarif-file | |
| 72 # path: ${{ steps.run-analysis.outputs.sarif }} |
