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