Skip to content

Commit

Permalink
Update msbuild.yml
Browse files Browse the repository at this point in the history
fix drv build <0>
  • Loading branch information
BeneficialCode authored Dec 4, 2023
1 parent 20c49d9 commit e3d5916
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,17 @@ permissions:
contents: read

jobs:
build:
build_driver:
name: build AntiRootkit.sys
runs-on: windows-latest

steps:
- uses: actions/checkout@v3

with: { submodules: recursive}
- name: Add MSBuild to PATH
uses: microsoft/[email protected]
with: {vs-version: '[16,]'}

- name: Restore NuGet packages
working-directory: ${{env.GITHUB_WORKSPACE}}
run: nuget restore ${{env.SOLUTION_FILE_PATH}}

- name: Build
- name: Build kernel-mode
working-directory: ${{env.GITHUB_WORKSPACE}}
# Add additional options to the MSBuild command line here (like platform or verbosity level).
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
run: msbuild '/p:Configuration=${{env.BUILD_CONFIGURATION}};Platform=X64' ${{env.SOLUTION_FILE_PATH}} /t:Anti-Rootkit:Rebuild

0 comments on commit e3d5916

Please sign in to comment.