Skip to content

Merge pull request #975 from intel/push-2025-09-12 #23

Merge pull request #975 from intel/push-2025-09-12

Merge pull request #975 from intel/push-2025-09-12 #23

name: Build Windows Driver
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
contents: read
jobs:
build:
runs-on: windows-2022
strategy:
matrix:
configuration: [Release]
platform: [x64]
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
submodules: recursive
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2
- name: Setup NuGet
uses: NuGet/setup-nuget@v2
- name: Restore packages
run: nuget restore src\WinMSRDriver\MSR.vcxproj
- name: Build
run: msbuild src\WinMSRDriver\MSR.vcxproj /m /t:Build /p:Configuration=${{ matrix.configuration }} /p:Platform=${{ matrix.platform }}
- name: upload-artifact
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with:
name: WinMSRDriver
path: src\WinMSRDriver\x64\Release\MSR\msr.*