mirror of
https://github.com/BeneficialCode/WinArk.git
synced 2026-10-25 01:39:53 +08:00
37 lines
1.0 KiB
YAML
37 lines
1.0 KiB
YAML
# 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'
|