Debian Codegraph @

.github/workflows/ci-cov-windows-report.yml

raw
1 name: coverity-windows
2
3 on: [workflow_dispatch, workflow_call]
4
5 permissions:
6 contents: read
7
8 jobs:
9 build:
10
11 runs-on: ci-kw-windows
12 if: ${{ github.repository != 'intel/pcm' }}
13
14 steps:
15 - name: Harden Runner
16 uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
17 with:
18 egress-policy: audit
19
20 - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
21 with:
22 submodules: recursive
23
24 - name: Add MSBuild to PATH
25 uses: microsoft/setup-msbuild@6fb02220983dee41ce7ae257b6f4d8f9bf5ed4ce # v2.0.0
26
27 - name: coverity-windows
28 run: |
29 mkdir build
30 cd build
31 cmake ..
32 c:\pcm\ci-cov-windows.ps1
33
34 - name: coverity-windows-cs
35 run: |
36 mkdir build-cs
37 cd build-cs
38 cmake ..
39 c:\pcm\ci-cov-windows-cs.ps1
40
41 - name: coverity-windows-msr
42 run: |
43 chdir ${{github.workspace}}\src\WinMSRDriver
44 c:\pcm\ci-cov-windows-msr.ps1
45
46 - name: coverity-windows-report
47 run: |
48 c:\pcm\ci-cov-windows-report.ps1 PCM.windows-all
49
50 - name: upload-artifact
51 uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
52 with:
53 name: coverity-windows-all-report-${{ github.sha }}
54 path: "*-Report.pdf"