Skip to content

address a clang check warning #554

address a clang check warning

address a clang check warning #554

Workflow file for this run

name: MSVC Windows build
on:
push:
branches: [ '**' ]
pull_request:
branches: [ '**' ]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: ci-windows
if: ${{ github.repository != 'intel/pcm' }}
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Configure CMake
run: |
if (Test-Path ${{github.workspace}}\build){ Remove-Item ${{github.workspace}}\build -Recurse }
cmake -B ${{github.workspace}}\build
- name: Build
run: |
cmake --build ${{github.workspace}}\build --config ${{env.BUILD_TYPE}} --parallel
- name: Add MSBuild to PATH
uses: microsoft/[email protected]
- name: Build MSR driver
run: |
chdir ${{github.workspace}}\src\WinMSRDriver
msbuild MSR.vcxproj /p:Configuration=Release,Platform=x64 /t:Clean,Build /m
- name: upload-artifact
uses: actions/[email protected]
with:
name: PCMforWindows
path: build/bin/**/*