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/msvc.yml | |
| parent | 8f594c8ebd11f0e5f8a0c6369c3fe7383d250cbe (diff) | |
Diffstat (limited to 'contrib/DirectX-Headers-1.618.2/.github/workflows/msvc.yml')
| -rw-r--r-- | contrib/DirectX-Headers-1.618.2/.github/workflows/msvc.yml | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/contrib/DirectX-Headers-1.618.2/.github/workflows/msvc.yml b/contrib/DirectX-Headers-1.618.2/.github/workflows/msvc.yml new file mode 100644 index 0000000..5b068f2 --- /dev/null +++ b/contrib/DirectX-Headers-1.618.2/.github/workflows/msvc.yml | |||
| @@ -0,0 +1,53 @@ | |||
| 1 | # Copyright (c) Microsoft Corporation. | ||
| 2 | # Licensed under the MIT License. | ||
| 3 | |||
| 4 | name: Microsoft C++ Code Analysis | ||
| 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: '24 13 * * 4' | ||
| 16 | |||
| 17 | permissions: | ||
| 18 | contents: read | ||
| 19 | |||
| 20 | jobs: | ||
| 21 | analyze: | ||
| 22 | permissions: | ||
| 23 | contents: read | ||
| 24 | security-events: write | ||
| 25 | actions: read | ||
| 26 | name: Analyze | ||
| 27 | runs-on: windows-latest | ||
| 28 | |||
| 29 | steps: | ||
| 30 | - name: Checkout repository | ||
| 31 | uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | ||
| 32 | |||
| 33 | - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 | ||
| 34 | with: | ||
| 35 | arch: amd64 | ||
| 36 | |||
| 37 | - name: Configure CMake | ||
| 38 | working-directory: ${{ github.workspace }} | ||
| 39 | run: cmake -B out | ||
| 40 | |||
| 41 | - name: Initialize MSVC Code Analysis | ||
| 42 | uses: microsoft/msvc-code-analysis-action@24c285ab36952c9e9182f4b78dfafbac38a7e5ee # v0.1.1 | ||
| 43 | id: run-analysis | ||
| 44 | with: | ||
| 45 | cmakeBuildDirectory: ./out | ||
| 46 | buildConfiguration: Debug | ||
| 47 | ruleset: NativeRecommendedRules.ruleset | ||
| 48 | |||
| 49 | # Upload SARIF file to GitHub Code Scanning Alerts | ||
| 50 | - name: Upload SARIF to GitHub | ||
| 51 | uses: github/codeql-action/upload-sarif@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # v3.29.5 | ||
| 52 | with: | ||
| 53 | sarif_file: ${{ steps.run-analysis.outputs.sarif }} | ||
