-
I am helping a Python project to switch to GitHub Actions, and for the first time we are able to perform CI builds on Windows. Our This detection does not work in the Windows build environment. Is there a better way to do this that will be compatible with GitHub Action’s environment? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
We install the Visual Studio build tooling, so that you can use the compilers, linkers, etc. However, we do not install the Windows SDK. If you want to install one of the Windows SDKs, the easiest way to do that is to install it with chocolatey. For example, you can install the https://chocolatey.org/packages/windows-sdk-10.0 package and I think that your build script will be able to locate it. |
Beta Was this translation helpful? Give feedback.
-
Thanks @ethomson . I see in the current GitHub Actions docs that these packages are installed:
Do these correspond with the Visual C++ build tools version 14, and also the Windows 10 SDK? If so, is it still necessary to install these with Chocolatey still? |
Beta Was this translation helpful? Give feedback.
We install the Visual Studio build tooling, so that you can use the compilers, linkers, etc. However, we do not install the Windows SDK.
If you want to install one of the Windows SDKs, the easiest way to do that is to install it with chocolatey. For example, you can install the https://chocolatey.org/packages/windows-sdk-10.0 package and I think that your build script will be able to locate it.