-
Notifications
You must be signed in to change notification settings - Fork 479
48 lines (38 loc) · 1.02 KB
/
ci-cov-windows.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
name: coverity-windows
on:
push:
branches: [ '**' ]
pull_request:
branches: [ '**' ]
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