actions / runner-images

GitHub Actions runner images
MIT License
10.13k stars 3.05k forks source link

Add multiple versions of WDK on Windows images #10062

Closed urielmann closed 4 months ago

urielmann commented 4 months ago

Tool name

Microsoft WDK 10.0.19041.0, and WDK 10.0.17763.0

Tool license

None

Add or update?

Desired version

10.0.19041.0, and 10.0.17763.0

Approximate size

1,300 KB each

Brief description of tool

Windows Driver Development Kit. The kits are providing additional headers, libraries, and tools for compiling drivers. Ideally, each version of the Windows SDK should also have a matching WDK installed

URL for tool's homepage

https://go.microsoft.com/fwlink/?linkid=2128854, https://go.microsoft.com/fwlink/?linkid=2026156

Provide a basic test case to validate the tool's functionality.

N/A

Platforms where you need the tool

Runner images where you need the tool

Can this tool be installed during the build?

Can be added during the build by downloading and installing.

Tool installation time in runtime

It takes about 2-5 additional minutes

Are you willing to submit a PR?

Sure

hemanthmanga commented 4 months ago

Hi @urielmann Thank you for bringing this issue to us, we are investigating on this issue and we will update you on this issue after our findings.

urielmann commented 4 months ago

Looks like the WDK cannot be installed during a build. Installation requires winget cmdlet which can only run in elevated pwsh script.

hemanthmanga commented 4 months ago

Hi @urielmann the existing versions of WDK for windows-2019[10.1.22000.1] and windows-2022[10.1.22621.2428], The requirement to Microsoft WDK 10.0.19041.0, and WDK 10.0.17763.0 is not possible, If required can be install in runtime/you can update to latest version, closing this issue, Thanks.