Skip to content

add Best Practices badge #747

add Best Practices badge

add Best Practices badge #747

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