forked from abcz316/SKRoot-linuxKernelRoot
-
Notifications
You must be signed in to change notification settings - Fork 7
31 lines (30 loc) · 1.03 KB
/
SKRootKernelRoot_Windows.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
name: SKRootKernelRoot_Windows_CIBuild
on:
push:
branches: [master]
paths:
- '.github/workflows/SKRootKernelRoot_Windows.yml'
- 'patch_kernel_root/**'
pull_request:
branches: [master]
workflow_dispatch:
jobs:
build:
name: Compile SKRoot Kernel Root on Windows
runs-on: windows-latest
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
steps:
- uses: actions/checkout@v2
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.1
- name: Compile patch_kernel_root
shell: cmd
run: |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
cl patch_kernel_root\patch_kernel_root.cpp /MTd /EHsc /Fe:patch_kernel_root /Ipatch_kernel_root /I "C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.35.32215\include" /std:c++17
- name: Upload artifacts
uses: Actions/upload-artifact@main
with:
name: patch_kernel_root
path: patch_kernel_root.exe