mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
EmulatorPkg: Update CI to VS2026
This updates the VS2022 EmulatorPkg CI to VS2026. Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
This commit is contained in:
parent
db183242ac
commit
e17aaec44b
3 changed files with 5 additions and 5 deletions
|
|
@ -90,7 +90,7 @@ jobs:
|
|||
steps:
|
||||
- template: ../../../.azurepipelines/templates/platform-build-run-steps.yml
|
||||
parameters:
|
||||
tool_chain_tag: VS2022
|
||||
tool_chain_tag: VS2026
|
||||
build_pkg: $(package)
|
||||
build_target: $(Build.Target)
|
||||
build_arch: $(Build.Arch)
|
||||
|
|
|
|||
|
|
@ -186,11 +186,11 @@ class PlatformBuilder(UefiBuilder, BuildSettingsManager):
|
|||
def SetPlatformEnv(self):
|
||||
logging.debug("PlatformBuilder SetPlatformEnv")
|
||||
self.env.SetValue("PRODUCT_NAME", "EmulatorPkg", "Platform Hardcoded")
|
||||
self.env.SetValue("TOOL_CHAIN_TAG", "VS2022", "Default Toolchain")
|
||||
self.env.SetValue("TOOL_CHAIN_TAG", "VS2026", "Default Toolchain")
|
||||
|
||||
# Add support for using the correct Platform Headers, tools, and Libs based on emulator architecture
|
||||
# requested to be built when building VS2022 or VS2019
|
||||
if self.env.GetValue("TOOL_CHAIN_TAG") == "VS2022" or self.env.GetValue("TOOL_CHAIN_TAG") == "VS2019":
|
||||
# requested to be built when building VS2026, VS2022 or VS2019
|
||||
if self.env.GetValue("TOOL_CHAIN_TAG") in ("VS2019", "VS2022", "VS2026"):
|
||||
key = self.env.GetValue("TOOL_CHAIN_TAG") + "_HOST"
|
||||
if self.env.GetValue("TARGET_ARCH") == "IA32":
|
||||
shell_environment.ShellEnvironment().set_shell_var(key, "x86")
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ to use the same Pytools based build infrastructure locally.
|
|||
## Supported Configuration Details
|
||||
|
||||
This solution for building and running EmulatorPkg has only been validated with Windows 10
|
||||
with VS2022 and Ubuntu 18.04 with GCC toolchain. Four different firmware builds are
|
||||
with VS2026 and Ubuntu 18.04 with GCC toolchain. Four different firmware builds are
|
||||
supported and are described below.
|
||||
|
||||
| Configuration name | Architectures | DSC File |Additional Flags |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue