Skip to content

Commit

Permalink
Update wdk (#4104)
Browse files Browse the repository at this point in the history
* Add required permissions

Signed-off-by: Alan Jowett <[email protected]>

* Update the WDK

Signed-off-by: Alan Jowett <[email protected]>

---------

Signed-off-by: Alan Jowett <[email protected]>
  • Loading branch information
Alan-Jowett authored Dec 23, 2024
1 parent bf40cde commit 13cadc6
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 12 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/check_wdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
# Allow manual triggering of the script
workflow_dispatch:

permissions:
contents: read # Required by actions/checkout to fetch code.
issues: write # Required to create issues.

jobs:
check:
runs-on: Windows-latest
Expand Down
20 changes: 12 additions & 8 deletions scripts/setup_build/packages.config
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) eBPF for Windows contributors
SPDX-License-Identifier: MIT
-->
<packages>
<package id="Microsoft.Windows.SDK.CPP" version="10.0.26100.2161" targetFramework="native" />
<package id="Microsoft.Windows.SDK.CPP.arm64" version="10.0.26100.2161" targetFramework="native" />
<package id="Microsoft.Windows.SDK.CPP.x64" version="10.0.26100.2161" targetFramework="native" />
<package id="Microsoft.Windows.SDK.CPP.x86" version="10.0.26100.2161" targetFramework="native" />
<package id="Microsoft.Windows.WDK.ARM64" version="10.0.26100.2161" targetFramework="native" />
<package id="Microsoft.Windows.WDK.x64" version="10.0.26100.2161" targetFramework="native" />
<package id="Microsoft.Windows.WDK.x86" version="10.0.26100.2161" targetFramework="native" />
<package id="Microsoft.Windows.SDK.CPP" version="10.0.26100.2454" targetFramework="native" />
<package id="Microsoft.Windows.SDK.CPP.arm64" version="10.0.26100.2454" targetFramework="native" />
<package id="Microsoft.Windows.SDK.CPP.x64" version="10.0.26100.2454" targetFramework="native" />
<package id="Microsoft.Windows.SDK.CPP.x86" version="10.0.26100.2454" targetFramework="native" />
<package id="Microsoft.Windows.WDK.ARM64" version="10.0.26100.2454" targetFramework="native" />
<package id="Microsoft.Windows.WDK.x64" version="10.0.26100.2454" targetFramework="native" />
<package id="Microsoft.Windows.WDK.x86" version="10.0.26100.2454" targetFramework="native" />
</packages>
2 changes: 1 addition & 1 deletion tools/bpf2c/templates/kernel_mode_bpf2c.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
-->
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<WDKVersion>10.0.26100.2161</WDKVersion>
<WDKVersion>10.0.26100.2454</WDKVersion>
</PropertyGroup>
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|x64">
Expand Down
2 changes: 1 addition & 1 deletion tools/bpf2c/templates/user_mode_bpf2c.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
-->
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<WDKVersion>10.0.26100.2161</WDKVersion>
<WDKVersion>10.0.26100.2454</WDKVersion>
</PropertyGroup>
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|x64">
Expand Down
4 changes: 2 additions & 2 deletions wdk.props
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) Microsoft Corporation
Copyright (c) eBPF for Windows contributors
SPDX-License-Identifier: MIT
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" TreatAsLocalProperty="Platform">
<PropertyGroup>
<HostPlatform>$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture)</HostPlatform>
<WindowsTargetPlatformVersion>10.0.26100.0</WindowsTargetPlatformVersion>
<WDKVersion>10.0.26100.2161</WDKVersion>
<WDKVersion>10.0.26100.2454</WDKVersion>
</PropertyGroup>

<Import Project="$(SolutionDir)packages\Microsoft.Windows.SDK.CPP.$(WDKVersion)\build\native\Microsoft.Windows.SDK.cpp.props" Condition="Exists('$(SolutionDir)packages\Microsoft.Windows.SDK.CPP.$(WDKVersion)\build\native\Microsoft.Windows.SDK.cpp.props')" />
Expand Down

0 comments on commit 13cadc6

Please sign in to comment.