Skip to content

Push 2024 07 10 2

Push 2024 07 10 2 #598

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@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
with:
egress-policy: audit
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
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