Merge pull request #975 from intel/push-2025-09-12 #23
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.* | |