mirror of
https://github.com/NohamR/Reclass.git
synced 2026-05-10 19:59:21 +00:00
ci: add SDK include paths for WDK NuGet driver build
NuGet splits WDK and SDK into separate packages. specstrings.h lives in the SDK shared headers. Add SDK_INC_ROOT for shared/ucrt.
This commit is contained in:
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -60,6 +60,12 @@ jobs:
|
||||
$libRoot = Split-Path (Split-Path $ntos.DirectoryName -Parent) -Parent
|
||||
Write-Host "WDK lib root: $libRoot"
|
||||
echo "WDK_LIB_ROOT=$libRoot" >> $env:GITHUB_ENV
|
||||
$specstr = Get-ChildItem wdk_pkg -Recurse -Filter "specstrings.h" |
|
||||
Select-Object -First 1
|
||||
if (!$specstr) { throw "specstrings.h not found in SDK NuGet package" }
|
||||
$sdkIncRoot = Split-Path $specstr.DirectoryName -Parent
|
||||
Write-Host "SDK include root: $sdkIncRoot"
|
||||
echo "SDK_INC_ROOT=$sdkIncRoot" >> $env:GITHUB_ENV
|
||||
|
||||
- name: Build kernel driver
|
||||
shell: cmd
|
||||
|
||||
Reference in New Issue
Block a user