diff options
| author | 3gg <3gg@shellblade.net> | 2025-12-02 16:39:36 -0800 |
|---|---|---|
| committer | 3gg <3gg@shellblade.net> | 2025-12-02 16:39:36 -0800 |
| commit | 6c8ae19be66cee247980a48e736a4e05d14de179 (patch) | |
| tree | d860767907bf0cbe17ec66422e11bea700cf56d9 /contrib/DirectX-Headers-1.618.2/.github/workflows/codeql.yml | |
| parent | 8f594c8ebd11f0e5f8a0c6369c3fe7383d250cbe (diff) | |
Diffstat (limited to 'contrib/DirectX-Headers-1.618.2/.github/workflows/codeql.yml')
| -rw-r--r-- | contrib/DirectX-Headers-1.618.2/.github/workflows/codeql.yml | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/contrib/DirectX-Headers-1.618.2/.github/workflows/codeql.yml b/contrib/DirectX-Headers-1.618.2/.github/workflows/codeql.yml new file mode 100644 index 0000000..de2378b --- /dev/null +++ b/contrib/DirectX-Headers-1.618.2/.github/workflows/codeql.yml | |||
| @@ -0,0 +1,57 @@ | |||
| 1 | # Copyright (c) Microsoft Corporation. | ||
| 2 | # Licensed under the MIT License. | ||
| 3 | |||
| 4 | name: "CodeQL" | ||
| 5 | |||
| 6 | on: | ||
| 7 | push: | ||
| 8 | branches: [ "main" ] | ||
| 9 | pull_request: | ||
| 10 | branches: [ "main" ] | ||
| 11 | paths-ignore: | ||
| 12 | - '*.md' | ||
| 13 | - LICENSE | ||
| 14 | schedule: | ||
| 15 | - cron: '15 2 * * 4' | ||
| 16 | |||
| 17 | permissions: | ||
| 18 | contents: read | ||
| 19 | |||
| 20 | jobs: | ||
| 21 | analyze: | ||
| 22 | name: Analyze (C/C++) | ||
| 23 | runs-on: windows-latest | ||
| 24 | timeout-minutes: 360 | ||
| 25 | permissions: | ||
| 26 | actions: read # for github/codeql-action/init to get workflow details | ||
| 27 | contents: read # for actions/checkout to fetch code | ||
| 28 | security-events: write # for github/codeql-action/autobuild to send a status report | ||
| 29 | packages: read | ||
| 30 | |||
| 31 | steps: | ||
| 32 | - name: Checkout repository | ||
| 33 | uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | ||
| 34 | |||
| 35 | - name: 'Install Ninja' | ||
| 36 | run: choco install ninja | ||
| 37 | |||
| 38 | - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 | ||
| 39 | |||
| 40 | - name: Initialize CodeQL | ||
| 41 | uses: github/codeql-action/init@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # v3.29.5 | ||
| 42 | with: | ||
| 43 | languages: c-cpp | ||
| 44 | build-mode: manual | ||
| 45 | |||
| 46 | - name: 'Configure CMake' | ||
| 47 | working-directory: ${{ github.workspace }} | ||
| 48 | run: cmake --preset=x64-Debug | ||
| 49 | |||
| 50 | - name: 'Build' | ||
| 51 | working-directory: ${{ github.workspace }} | ||
| 52 | run: cmake --build out\build\x64-Debug | ||
| 53 | |||
| 54 | - name: Perform CodeQL Analysis | ||
| 55 | uses: github/codeql-action/analyze@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # v3.29.5 | ||
| 56 | with: | ||
| 57 | category: "/language:c-cpp" | ||
