diff options
author | Oliver Smith-Denny <osde@microsoft.com> | 2024-12-03 14:52:41 -0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-12-10 23:42:09 +0000 |
commit | 1c5c951ec33b7851da67feeaf222d3edd6eb89be (patch) | |
tree | 31221487f2115bfc0f5ce898f1412e5296e77df9 /EmulatorPkg/PlatformCI | |
parent | bcbb7099594af28b5ba40521ba2ecef253adaa9f (diff) | |
download | edk2-1c5c951ec33b7851da67feeaf222d3edd6eb89be.tar.gz |
Update CI to VS2022
This PR updates the CI pipelines to use VS2022 instead of VS2019
as that is the latest supported VS toolchain on edk2.
Continuous-integration-options: PatchCheck.ignore-multi-package
Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
Diffstat (limited to 'EmulatorPkg/PlatformCI')
-rw-r--r-- | EmulatorPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml | 6 | ||||
-rw-r--r-- | EmulatorPkg/PlatformCI/PlatformBuild.py | 6 | ||||
-rw-r--r-- | EmulatorPkg/PlatformCI/ReadMe.md | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/EmulatorPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml b/EmulatorPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml index 09960e7c7a..9e33ef136d 100644 --- a/EmulatorPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml +++ b/EmulatorPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml @@ -3,7 +3,7 @@ #
# Platform: EMULATORPKG
# OS: Windows
-# Toolchain: VS2019
+# Toolchain: VS2022
#
# Copyright (c) Microsoft Corporation.
# Copyright (c) 2020, Intel Corporation. All rights reserved.
@@ -23,7 +23,7 @@ jobs: - job: Platform_CI
variables:
package: 'EmulatorPkg'
- vm_image: 'windows-2019'
+ vm_image: 'windows-2022'
should_run: true
run_flags: "MAKE_STARTUP_NSH=TRUE"
@@ -124,7 +124,7 @@ jobs: steps:
- template: ../../../.azurepipelines/templates/platform-build-run-steps.yml
parameters:
- tool_chain_tag: VS2019
+ tool_chain_tag: VS2022
build_pkg: $(package)
build_target: $(Build.Target)
build_arch: $(Build.Arch)
diff --git a/EmulatorPkg/PlatformCI/PlatformBuild.py b/EmulatorPkg/PlatformCI/PlatformBuild.py index 6defbf6ef1..aff01189a8 100644 --- a/EmulatorPkg/PlatformCI/PlatformBuild.py +++ b/EmulatorPkg/PlatformCI/PlatformBuild.py @@ -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", "VS2019", "Default Toolchain")
+ self.env.SetValue("TOOL_CHAIN_TAG", "VS2022", "Default Toolchain")
# Add support for using the correct Platform Headers, tools, and Libs based on emulator architecture
- # requested to be built when building VS2019 or VS2017
- if self.env.GetValue("TOOL_CHAIN_TAG") == "VS2019" or self.env.GetValue("TOOL_CHAIN_TAG") == "VS2017":
+ # 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":
key = self.env.GetValue("TOOL_CHAIN_TAG") + "_HOST"
if self.env.GetValue("TARGET_ARCH") == "IA32":
shell_environment.ShellEnvironment().set_shell_var(key, "x86")
diff --git a/EmulatorPkg/PlatformCI/ReadMe.md b/EmulatorPkg/PlatformCI/ReadMe.md index f123bb2a48..00a8a3cd62 100644 --- a/EmulatorPkg/PlatformCI/ReadMe.md +++ b/EmulatorPkg/PlatformCI/ReadMe.md @@ -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 VS2019 and Ubuntu 18.04 with GCC5 toolchain. Four different firmware builds are
+with VS2022 and Ubuntu 18.04 with GCC5 toolchain. Four different firmware builds are
supported and are described below.
| Configuration name | Architectures | DSC File |Additional Flags |
|