-
Notifications
You must be signed in to change notification settings - Fork 136
36 lines (28 loc) · 1.02 KB
/
msbuild.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: MSBuild
on: []
env:
# Path to the solution file relative to the root of the project.
SOLUTION_FILE_PATH: .
# Configuration type to build.
# You can convert this to a build matrix if you need coverage of multiple configuration types.
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
BUILD_CONFIGURATION: Release
permissions:
contents: read
jobs:
build_driver:
name: build AntiRootkit.sys
runs-on: windows-2022
steps:
- name: Checkout
uses: actions/checkout@v2
with: { submodules: recursive}
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.1.3
with: {vs-version: '[16.11,]'}
- name: Build kernel-mode
run: msbuild.exe Anti-Rootkit.sln -target:Anti-Rootkit:Rebuild '/p:Configuration="Release";Platform=X64'