mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-26 23:24:03 +02:00
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>
This commit is contained in:
parent
bcbb709959
commit
1c5c951ec3
@ -1,5 +1,5 @@
|
|||||||
## @file
|
## @file
|
||||||
# Azure Pipeline build file for a build using Windows and VS2019
|
# Azure Pipeline build file for a build using Windows and VS2022
|
||||||
#
|
#
|
||||||
# Copyright (c) Microsoft Corporation.
|
# Copyright (c) Microsoft Corporation.
|
||||||
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||||
@ -18,8 +18,8 @@ variables:
|
|||||||
jobs:
|
jobs:
|
||||||
- template: templates/pr-gate-build-job.yml
|
- template: templates/pr-gate-build-job.yml
|
||||||
parameters:
|
parameters:
|
||||||
tool_chain_tag: 'VS2019'
|
tool_chain_tag: 'VS2022'
|
||||||
vm_image: 'windows-2019'
|
vm_image: 'windows-2022'
|
||||||
arch_list: "IA32,X64"
|
arch_list: "IA32,X64"
|
||||||
usePythonVersion: ${{ variables.default_python_version }}
|
usePythonVersion: ${{ variables.default_python_version }}
|
||||||
extra_install_step:
|
extra_install_step:
|
||||||
|
@ -98,7 +98,7 @@ jobs:
|
|||||||
clean: all
|
clean: all
|
||||||
|
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'windows-2019'
|
vmImage: 'windows-2022'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- checkout: self
|
- checkout: self
|
||||||
|
14
.github/workflows/codeql.yml
vendored
14
.github/workflows/codeql.yml
vendored
@ -25,7 +25,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
analyze:
|
analyze:
|
||||||
name: Analyze
|
name: Analyze
|
||||||
runs-on: windows-2019
|
runs-on: windows-2022
|
||||||
permissions:
|
permissions:
|
||||||
actions: read
|
actions: read
|
||||||
contents: read
|
contents: read
|
||||||
@ -149,7 +149,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Setup
|
- name: Setup
|
||||||
if: steps.get_ci_file_operations.outputs.setup_supported == 'true'
|
if: steps.get_ci_file_operations.outputs.setup_supported == 'true'
|
||||||
run: stuart_setup -c .pytool/CISettings.py -t DEBUG -a ${{ matrix.ArchList }} TOOL_CHAIN_TAG=VS2019
|
run: stuart_setup -c .pytool/CISettings.py -t DEBUG -a ${{ matrix.ArchList }} TOOL_CHAIN_TAG=VS2022
|
||||||
|
|
||||||
- name: Upload Setup Log As An Artifact
|
- name: Upload Setup Log As An Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
@ -163,7 +163,7 @@ jobs:
|
|||||||
|
|
||||||
- name: CI Setup
|
- name: CI Setup
|
||||||
if: steps.get_ci_file_operations.outputs.ci_setup_supported == 'true'
|
if: steps.get_ci_file_operations.outputs.ci_setup_supported == 'true'
|
||||||
run: stuart_ci_setup -c .pytool/CISettings.py -t DEBUG -a ${{ matrix.ArchList }} TOOL_CHAIN_TAG=VS2019
|
run: stuart_ci_setup -c .pytool/CISettings.py -t DEBUG -a ${{ matrix.ArchList }} TOOL_CHAIN_TAG=VS2022
|
||||||
|
|
||||||
- name: Upload CI Setup Log As An Artifact
|
- name: Upload CI Setup Log As An Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
@ -176,7 +176,7 @@ jobs:
|
|||||||
if-no-files-found: ignore
|
if-no-files-found: ignore
|
||||||
|
|
||||||
- name: Update
|
- name: Update
|
||||||
run: stuart_update -c .pytool/CISettings.py -t DEBUG -a ${{ matrix.ArchList }} TOOL_CHAIN_TAG=VS2019
|
run: stuart_update -c .pytool/CISettings.py -t DEBUG -a ${{ matrix.ArchList }} TOOL_CHAIN_TAG=VS2022
|
||||||
|
|
||||||
- name: Upload Update Log As An Artifact
|
- name: Upload Update Log As An Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
@ -189,7 +189,7 @@ jobs:
|
|||||||
if-no-files-found: ignore
|
if-no-files-found: ignore
|
||||||
|
|
||||||
- name: Build Tools From Source
|
- name: Build Tools From Source
|
||||||
run: python BaseTools/Edk2ToolsBuild.py -t VS2019
|
run: python BaseTools/Edk2ToolsBuild.py -t VS2022
|
||||||
|
|
||||||
- name: Find CodeQL Plugin Directory
|
- name: Find CodeQL Plugin Directory
|
||||||
id: find_dir
|
id: find_dir
|
||||||
@ -246,7 +246,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Download CodeQL CLI
|
- name: Download CodeQL CLI
|
||||||
if: steps.codeqlcli_cache.outputs.cache-hit != 'true'
|
if: steps.codeqlcli_cache.outputs.cache-hit != 'true'
|
||||||
run: stuart_update -c .pytool/CISettings.py -t DEBUG -a ${{ matrix.ArchList }} TOOL_CHAIN_TAG=VS2019 --codeql
|
run: stuart_update -c .pytool/CISettings.py -t DEBUG -a ${{ matrix.ArchList }} TOOL_CHAIN_TAG=VS2022 --codeql
|
||||||
|
|
||||||
- name: Remove CI Plugins Irrelevant to CodeQL
|
- name: Remove CI Plugins Irrelevant to CodeQL
|
||||||
shell: python
|
shell: python
|
||||||
@ -269,7 +269,7 @@ jobs:
|
|||||||
- name: CI Build
|
- name: CI Build
|
||||||
env:
|
env:
|
||||||
STUART_CODEQL_PATH: ${{ steps.cache_key_gen.outputs.codeql_cli_ext_dep_dir }}
|
STUART_CODEQL_PATH: ${{ steps.cache_key_gen.outputs.codeql_cli_ext_dep_dir }}
|
||||||
run: stuart_ci_build -c .pytool/CISettings.py -t DEBUG -p ${{ matrix.Package }} -a ${{ matrix.ArchList }} TOOL_CHAIN_TAG=VS2019 --codeql
|
run: stuart_ci_build -c .pytool/CISettings.py -t DEBUG -p ${{ matrix.Package }} -a ${{ matrix.ArchList }} TOOL_CHAIN_TAG=VS2022 --codeql
|
||||||
|
|
||||||
- name: Build Cleanup
|
- name: Build Cleanup
|
||||||
id: build_cleanup
|
id: build_cleanup
|
||||||
|
@ -9,7 +9,7 @@ on the TianoCore wiki.
|
|||||||
|
|
||||||
## Basic Status
|
## Basic Status
|
||||||
|
|
||||||
| Package | Windows VS2019 (IA32/X64)| Ubuntu GCC (IA32/X64/ARM/AARCH64) | Known Issues |
|
| Package | Windows VS2022 (IA32/X64)| Ubuntu GCC (IA32/X64/ARM/AARCH64) | Known Issues |
|
||||||
| :---- | :----- | :---- | :--- |
|
| :---- | :----- | :---- | :--- |
|
||||||
| ArmPkg | | :heavy_check_mark: |
|
| ArmPkg | | :heavy_check_mark: |
|
||||||
| ArmPlatformPkg | | :heavy_check_mark: |
|
| ArmPlatformPkg | | :heavy_check_mark: |
|
||||||
@ -48,7 +48,7 @@ located [here](https://github.com/tianocore/edk2-pytool-library) and
|
|||||||
[here](https://github.com/tianocore/edk2-pytool-extensions)).
|
[here](https://github.com/tianocore/edk2-pytool-extensions)).
|
||||||
|
|
||||||
The primary execution flows can be found in the
|
The primary execution flows can be found in the
|
||||||
`.azurepipelines/Windows-VS2019.yml` and `.azurepipelines/Ubuntu-GCC5.yml`
|
`.azurepipelines/Windows-VS2022.yml` and `.azurepipelines/Ubuntu-GCC5.yml`
|
||||||
files. These YAML files are consumed by the Azure Dev Ops Build Pipeline and
|
files. These YAML files are consumed by the Azure Dev Ops Build Pipeline and
|
||||||
dictate what server resources should be used, how they should be configured, and
|
dictate what server resources should be used, how they should be configured, and
|
||||||
what processes should be run on them. An overview of this schema can be found
|
what processes should be run on them. An overview of this schema can be found
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# @file Edk2ToolsBuild.py
|
# @file Edk2ToolsBuild.py
|
||||||
# Invocable class that builds the basetool c files.
|
# Invocable class that builds the basetool c files.
|
||||||
#
|
#
|
||||||
# Supports VS2017, VS2019, and GCC5
|
# Supports VS2019, VS2022, and GCC5
|
||||||
##
|
##
|
||||||
# Copyright (c) Microsoft Corporation
|
# Copyright (c) Microsoft Corporation
|
||||||
#
|
#
|
||||||
@ -24,7 +24,7 @@ class Edk2ToolsBuild(BaseAbstractInvocable):
|
|||||||
def ParseCommandLineOptions(self):
|
def ParseCommandLineOptions(self):
|
||||||
''' parse arguments '''
|
''' parse arguments '''
|
||||||
ParserObj = argparse.ArgumentParser()
|
ParserObj = argparse.ArgumentParser()
|
||||||
ParserObj.add_argument("-t", "--tool_chain_tag", dest="tct", default="VS2017",
|
ParserObj.add_argument("-t", "--tool_chain_tag", dest="tct", default="VS2022",
|
||||||
help="Set the toolchain used to compile the build tools")
|
help="Set the toolchain used to compile the build tools")
|
||||||
args = ParserObj.parse_args()
|
args = ParserObj.parse_args()
|
||||||
self.tool_chain_tag = args.tct
|
self.tool_chain_tag = args.tct
|
||||||
|
@ -417,7 +417,7 @@ endlocal
|
|||||||
|
|
||||||
:Usage
|
:Usage
|
||||||
@echo.
|
@echo.
|
||||||
echo Usage: "%0 [-h | -help | --help | /h | /help | /?] [ Rebuild | ForceRebuild ] [Reconfig] [base_tools_path [edk_tools_path]] [VS2019] [VS2017] [VS2015]"
|
echo Usage: "%0 [-h | -help | --help | /h | /help | /?] [ Rebuild | ForceRebuild ] [Reconfig] [base_tools_path [edk_tools_path]] [VS2022] [VS2019] [VS2017] [VS2015]"
|
||||||
@echo.
|
@echo.
|
||||||
@echo base_tools_path BaseTools project path, BASE_TOOLS_PATH will be set to this path.
|
@echo base_tools_path BaseTools project path, BASE_TOOLS_PATH will be set to this path.
|
||||||
@echo edk_tools_path EDK_TOOLS_PATH will be set to this path.
|
@echo edk_tools_path EDK_TOOLS_PATH will be set to this path.
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
# Platform: EMULATORPKG
|
# Platform: EMULATORPKG
|
||||||
# OS: Windows
|
# OS: Windows
|
||||||
# Toolchain: VS2019
|
# Toolchain: VS2022
|
||||||
#
|
#
|
||||||
# Copyright (c) Microsoft Corporation.
|
# Copyright (c) Microsoft Corporation.
|
||||||
# Copyright (c) 2020, Intel Corporation. All rights reserved.
|
# Copyright (c) 2020, Intel Corporation. All rights reserved.
|
||||||
@ -23,7 +23,7 @@ jobs:
|
|||||||
- job: Platform_CI
|
- job: Platform_CI
|
||||||
variables:
|
variables:
|
||||||
package: 'EmulatorPkg'
|
package: 'EmulatorPkg'
|
||||||
vm_image: 'windows-2019'
|
vm_image: 'windows-2022'
|
||||||
should_run: true
|
should_run: true
|
||||||
run_flags: "MAKE_STARTUP_NSH=TRUE"
|
run_flags: "MAKE_STARTUP_NSH=TRUE"
|
||||||
|
|
||||||
@ -124,7 +124,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- template: ../../../.azurepipelines/templates/platform-build-run-steps.yml
|
- template: ../../../.azurepipelines/templates/platform-build-run-steps.yml
|
||||||
parameters:
|
parameters:
|
||||||
tool_chain_tag: VS2019
|
tool_chain_tag: VS2022
|
||||||
build_pkg: $(package)
|
build_pkg: $(package)
|
||||||
build_target: $(Build.Target)
|
build_target: $(Build.Target)
|
||||||
build_arch: $(Build.Arch)
|
build_arch: $(Build.Arch)
|
||||||
|
@ -186,11 +186,11 @@ class PlatformBuilder(UefiBuilder, BuildSettingsManager):
|
|||||||
def SetPlatformEnv(self):
|
def SetPlatformEnv(self):
|
||||||
logging.debug("PlatformBuilder SetPlatformEnv")
|
logging.debug("PlatformBuilder SetPlatformEnv")
|
||||||
self.env.SetValue("PRODUCT_NAME", "EmulatorPkg", "Platform Hardcoded")
|
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
|
# Add support for using the correct Platform Headers, tools, and Libs based on emulator architecture
|
||||||
# requested to be built when building VS2019 or VS2017
|
# requested to be built when building VS2022 or VS2019
|
||||||
if self.env.GetValue("TOOL_CHAIN_TAG") == "VS2019" or self.env.GetValue("TOOL_CHAIN_TAG") == "VS2017":
|
if self.env.GetValue("TOOL_CHAIN_TAG") == "VS2022" or self.env.GetValue("TOOL_CHAIN_TAG") == "VS2019":
|
||||||
key = self.env.GetValue("TOOL_CHAIN_TAG") + "_HOST"
|
key = self.env.GetValue("TOOL_CHAIN_TAG") + "_HOST"
|
||||||
if self.env.GetValue("TARGET_ARCH") == "IA32":
|
if self.env.GetValue("TARGET_ARCH") == "IA32":
|
||||||
shell_environment.ShellEnvironment().set_shell_var(key, "x86")
|
shell_environment.ShellEnvironment().set_shell_var(key, "x86")
|
||||||
|
@ -6,7 +6,7 @@ to use the same Pytools based build infrastructure locally.
|
|||||||
## Supported Configuration Details
|
## Supported Configuration Details
|
||||||
|
|
||||||
This solution for building and running EmulatorPkg has only been validated with Windows 10
|
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.
|
supported and are described below.
|
||||||
|
|
||||||
| Configuration name | Architectures | DSC File |Additional Flags |
|
| Configuration name | Architectures | DSC File |Additional Flags |
|
||||||
|
@ -21,11 +21,11 @@ https://github.com/tianocore/tianocore.github.io/wiki/EmulatorPkg
|
|||||||
**You can use the following command to build.**
|
**You can use the following command to build.**
|
||||||
* 32bit emulator in Windows:
|
* 32bit emulator in Windows:
|
||||||
|
|
||||||
`build -p EmulatorPkg\EmulatorPkg.dsc -t VS2017 -a IA32`
|
`build -p EmulatorPkg\EmulatorPkg.dsc -t VS2022 -a IA32`
|
||||||
|
|
||||||
* 64bit emulator in Windows:
|
* 64bit emulator in Windows:
|
||||||
|
|
||||||
`build -p EmulatorPkg\EmulatorPkg.dsc -t VS2017 -a X64`
|
`build -p EmulatorPkg\EmulatorPkg.dsc -t VS2022 -a X64`
|
||||||
|
|
||||||
* 32bit emulator in Linux:
|
* 32bit emulator in Linux:
|
||||||
|
|
||||||
@ -38,11 +38,11 @@ https://github.com/tianocore/tianocore.github.io/wiki/EmulatorPkg
|
|||||||
**You can start/run the emulator using the following command:**
|
**You can start/run the emulator using the following command:**
|
||||||
* 32bit emulator in Windows:
|
* 32bit emulator in Windows:
|
||||||
|
|
||||||
`cd Build\EmulatorIA32\DEBUG_VS2017\IA32\ && WinHost.exe`
|
`cd Build\EmulatorIA32\DEBUG_VS2022\IA32\ && WinHost.exe`
|
||||||
|
|
||||||
* 64bit emulator in Windows:
|
* 64bit emulator in Windows:
|
||||||
|
|
||||||
`cd Build\EmulatorX64\DEBUG_VS2017\X64\ && WinHost.exe`
|
`cd Build\EmulatorX64\DEBUG_VS2022\X64\ && WinHost.exe`
|
||||||
|
|
||||||
* 32bit emulator in Linux:
|
* 32bit emulator in Linux:
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
# Platform: OVMF
|
# Platform: OVMF
|
||||||
# OS: Windows
|
# OS: Windows
|
||||||
# Toolchain: VS2019
|
# Toolchain: VS2022
|
||||||
#
|
#
|
||||||
# Copyright (c) Microsoft Corporation.
|
# Copyright (c) Microsoft Corporation.
|
||||||
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||||
@ -22,7 +22,7 @@ jobs:
|
|||||||
- job: Platform_CI
|
- job: Platform_CI
|
||||||
variables:
|
variables:
|
||||||
package: 'OvmfPkg'
|
package: 'OvmfPkg'
|
||||||
vm_image: 'windows-2019'
|
vm_image: 'windows-2022'
|
||||||
should_run: true
|
should_run: true
|
||||||
run_flags: "MAKE_STARTUP_NSH=TRUE QEMU_HEADLESS=TRUE"
|
run_flags: "MAKE_STARTUP_NSH=TRUE QEMU_HEADLESS=TRUE"
|
||||||
|
|
||||||
@ -130,7 +130,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- template: ../../../.azurepipelines/templates/platform-build-run-steps.yml
|
- template: ../../../.azurepipelines/templates/platform-build-run-steps.yml
|
||||||
parameters:
|
parameters:
|
||||||
tool_chain_tag: VS2019
|
tool_chain_tag: VS2022
|
||||||
build_pkg: $(package)
|
build_pkg: $(package)
|
||||||
build_target: $(Build.Target)
|
build_target: $(Build.Target)
|
||||||
build_arch: $(Build.Arch)
|
build_arch: $(Build.Arch)
|
||||||
|
@ -6,7 +6,7 @@ to use the same Pytools based build infrastructure locally.
|
|||||||
## Supported Configuration Details
|
## Supported Configuration Details
|
||||||
|
|
||||||
This solution for building and running OvmfPkg has only been validated with Windows 10
|
This solution for building and running OvmfPkg 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.
|
supported and are described below.
|
||||||
|
|
||||||
| Configuration name | Architectures | DSC File |Additional Flags |
|
| Configuration name | Architectures | DSC File |Additional Flags |
|
||||||
|
@ -97,8 +97,8 @@ the package being built.
|
|||||||
Like a typical EDK II package, the PrmPkg binary build output can be found in the Build directory in the edk2
|
Like a typical EDK II package, the PrmPkg binary build output can be found in the Build directory in the edk2
|
||||||
workspace. The organization in that directory follows the same layout as other EDK II packages.
|
workspace. The organization in that directory follows the same layout as other EDK II packages.
|
||||||
|
|
||||||
For example, that path to PRM module sample binaries for a DEBUG VS2017 X64 build is: \
|
For example, that path to PRM module sample binaries for a DEBUG VS2022 X64 build is: \
|
||||||
``edk2/Build/Prm/DEBUG_VS2017/X64/PrmPkg/Samples``
|
``edk2/Build/Prm/DEBUG_VS2022/X64/PrmPkg/Samples``
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ The sample modules are built as part of the normal `PrmPkg` build so you can fol
|
|||||||
workspace build output directory. For example, if your build workspace is called "edk2" and you build
|
workspace build output directory. For example, if your build workspace is called "edk2" and you build
|
||||||
64-bit binaries on the Visual Studio 2017 tool chain, your sample module binaries will be in the following
|
64-bit binaries on the Visual Studio 2017 tool chain, your sample module binaries will be in the following
|
||||||
location: \
|
location: \
|
||||||
``edk2/Build/Prm/DEBUG_VS2017/X64/PrmPkg/Samples``
|
``edk2/Build/Prm/DEBUG_VS2022/X64/PrmPkg/Samples``
|
||||||
|
|
||||||
### Build an Individual PRM Sample Module
|
### Build an Individual PRM Sample Module
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ Note that the build command does provide the option to build a specific module i
|
|||||||
faster build time. If you would like to just build a single PRM module that can be done by specifying the path to
|
faster build time. If you would like to just build a single PRM module that can be done by specifying the path to
|
||||||
the module INF file with the "-m" argument to `build`. For example, this command builds 32-bit and 64-bit binaries
|
the module INF file with the "-m" argument to `build`. For example, this command builds 32-bit and 64-bit binaries
|
||||||
with Visual Studio 2019: \
|
with Visual Studio 2019: \
|
||||||
``build -p PrmPkg/PrmPkg.dsc -m PrmPkg/Samples/PrmSampleContextBufferModule/PrmSampleContextBufferModule.inf -a IA32 -a X64 -t VS2019``
|
``build -p PrmPkg/PrmPkg.dsc -m PrmPkg/Samples/PrmSampleContextBufferModule/PrmSampleContextBufferModule.inf -a IA32 -a X64 -t VS2022``
|
||||||
|
|
||||||
## PRM Sample Module User's Guide
|
## PRM Sample Module User's Guide
|
||||||
|
|
||||||
|
62
ReadMe.rst
62
ReadMe.rst
@ -11,7 +11,7 @@ Core CI Build Status
|
|||||||
============================= ================= =============== ===================
|
============================= ================= =============== ===================
|
||||||
Host Type & Toolchain Build Status Test Status Code Coverage
|
Host Type & Toolchain Build Status Test Status Code Coverage
|
||||||
============================= ================= =============== ===================
|
============================= ================= =============== ===================
|
||||||
Windows_VS2019_ |WindowsCiBuild| |WindowsCiTest| |WindowsCiCoverage|
|
Windows_VS2022_ |WindowsCiBuild| |WindowsCiTest| |WindowsCiCoverage|
|
||||||
Ubuntu_GCC5_ |UbuntuCiBuild| |UbuntuCiTest| |UbuntuCiCoverage|
|
Ubuntu_GCC5_ |UbuntuCiBuild| |UbuntuCiTest| |UbuntuCiCoverage|
|
||||||
============================= ================= =============== ===================
|
============================= ================= =============== ===================
|
||||||
|
|
||||||
@ -20,17 +20,17 @@ Ubuntu_GCC5_ |UbuntuCiBuild| |UbuntuCiTest| |UbuntuCiCoverag
|
|||||||
Platform CI Build Status
|
Platform CI Build Status
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
Microsoft Windows VS2019
|
Microsoft Windows VS2022
|
||||||
````````````````````````
|
````````````````````````
|
||||||
|
|
||||||
============================= ================= ============= ============= ==============
|
============================= ================= ============= ============= ==============
|
||||||
Toolchain CONFIG DEBUG RELEASE NOOPT
|
Toolchain CONFIG DEBUG RELEASE NOOPT
|
||||||
============================= ================= ============= ============= ==============
|
============================= ================= ============= ============= ==============
|
||||||
EmulatorPkg_Win_VS2019_ | IA32 |em32d| |em32r| |em32n|
|
EmulatorPkg_Win_VS2022_ | IA32 |em32d| |em32r| |em32n|
|
||||||
| | X64 |em64d| |em64r| |em64n|
|
| | X64 |em64d| |em64r| |em64n|
|
||||||
| | IA32 FULL |em32fd| |em32fr| |em32fn|
|
| | IA32 FULL |em32fd| |em32fr| |em32fn|
|
||||||
| | X64 FULL |em64fd| |em64fr| |em64fn|
|
| | X64 FULL |em64fd| |em64fr| |em64fn|
|
||||||
OvmfPkg_Win_VS2019_ | IA32 |op32d| |op32r| |op32n|
|
OvmfPkg_Win_VS2022_ | IA32 |op32d| |op32r| |op32n|
|
||||||
| | X64 |op64d| |op64r| |op64n|
|
| | X64 |op64d| |op64r| |op64n|
|
||||||
| | IA32 X64 |op3264d| |op3264r| |op3264n|
|
| | IA32 X64 |op3264d| |op3264r| |op3264n|
|
||||||
| | IA32 X64 FULL |op3264fd| |op3264fr| |op3264fn|
|
| | IA32 X64 FULL |op3264fd| |op3264fr| |op3264fn|
|
||||||
@ -280,8 +280,8 @@ use.
|
|||||||
|
|
||||||
.. CoreCI
|
.. CoreCI
|
||||||
|
|
||||||
.. _Windows_VS2019: https://dev.azure.com/tianocore/edk2-ci/_build/latest?definitionId=32&branchName=master
|
.. _Windows_VS2022: https://dev.azure.com/tianocore/edk2-ci/_build/latest?definitionId=32&branchName=master
|
||||||
.. |WindowsCiBuild| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/Windows%20VS2019%20CI?branchName=master
|
.. |WindowsCiBuild| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/Windows%20VS2022%20CI?branchName=master
|
||||||
.. |WindowsCiTest| image:: https://img.shields.io/azure-devops/tests/tianocore/edk2-ci/32.svg
|
.. |WindowsCiTest| image:: https://img.shields.io/azure-devops/tests/tianocore/edk2-ci/32.svg
|
||||||
.. |WindowsCiCoverage| image:: https://img.shields.io/badge/coverage-coming_soon-blue
|
.. |WindowsCiCoverage| image:: https://img.shields.io/badge/coverage-coming_soon-blue
|
||||||
|
|
||||||
@ -309,35 +309,35 @@ use.
|
|||||||
.. |TCBZ_2639| image:: https://img.shields.io/bugzilla/2639?baseUrl=https%3A%2F%2Fbugzilla.tianocore.org
|
.. |TCBZ_2639| image:: https://img.shields.io/bugzilla/2639?baseUrl=https%3A%2F%2Fbugzilla.tianocore.org
|
||||||
.. _TCBZ_2639: https://bugzilla.tianocore.org/show_bug.cgi?id=2639
|
.. _TCBZ_2639: https://bugzilla.tianocore.org/show_bug.cgi?id=2639
|
||||||
|
|
||||||
.. _EmulatorPkg_Win_VS2019: https://dev.azure.com/tianocore/edk2-ci/_build/latest?definitionId=44&branchName=master
|
.. _EmulatorPkg_Win_VS2022: https://dev.azure.com/tianocore/edk2-ci/_build/latest?definitionId=44&branchName=master
|
||||||
.. _EmulatorPkg_Ubuntu_GCC5: https://dev.azure.com/tianocore/edk2-ci/_build/latest?definitionId=43&branchName=master
|
.. _EmulatorPkg_Ubuntu_GCC5: https://dev.azure.com/tianocore/edk2-ci/_build/latest?definitionId=43&branchName=master
|
||||||
|
|
||||||
.. |em32d| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Windows_VS2019_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_IA32_DEBUG
|
.. |em32d| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Windows_VS2022_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_IA32_DEBUG
|
||||||
.. |em32du| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_IA32_DEBUG
|
.. |em32du| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_IA32_DEBUG
|
||||||
.. |em32r| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Windows_VS2019_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_IA32_RELEASE
|
.. |em32r| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Windows_VS2022_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_IA32_RELEASE
|
||||||
.. |em32ru| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_IA32_RELEASE
|
.. |em32ru| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_IA32_RELEASE
|
||||||
.. |em32n| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Windows_VS2019_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_IA32_NOOPT
|
.. |em32n| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Windows_VS2022_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_IA32_NOOPT
|
||||||
.. |em32nu| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_IA32_NOOPT
|
.. |em32nu| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_IA32_NOOPT
|
||||||
|
|
||||||
.. |em32fd| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Windows_VS2019_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_IA32_FULL_DEBUG
|
.. |em32fd| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Windows_VS2022_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_IA32_FULL_DEBUG
|
||||||
.. |em32fdu| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_IA32_FULL_DEBUG
|
.. |em32fdu| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_IA32_FULL_DEBUG
|
||||||
.. |em32fr| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Windows_VS2019_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_IA32_FULL_RELEASE
|
.. |em32fr| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Windows_VS2022_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_IA32_FULL_RELEASE
|
||||||
.. |em32fru| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_IA32_FULL_RELEASE
|
.. |em32fru| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_IA32_FULL_RELEASE
|
||||||
.. |em32fn| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Windows_VS2019_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_IA32_FULL_NOOPT
|
.. |em32fn| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Windows_VS2022_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_IA32_FULL_NOOPT
|
||||||
.. |em32fnu| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_IA32_FULL_NOOPT
|
.. |em32fnu| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_IA32_FULL_NOOPT
|
||||||
|
|
||||||
.. |em64d| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Windows_VS2019_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_X64_DEBUG
|
.. |em64d| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Windows_VS2022_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_X64_DEBUG
|
||||||
.. |em64du| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_X64_DEBUG
|
.. |em64du| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_X64_DEBUG
|
||||||
.. |em64r| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Windows_VS2019_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_X64_RELEASE
|
.. |em64r| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Windows_VS2022_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_X64_RELEASE
|
||||||
.. |em64ru| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_X64_RELEASE
|
.. |em64ru| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_X64_RELEASE
|
||||||
.. |em64n| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Windows_VS2019_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_X64_NOOPT
|
.. |em64n| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Windows_VS2022_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_X64_NOOPT
|
||||||
.. |em64nu| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_X64_NOOPT
|
.. |em64nu| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_X64_NOOPT
|
||||||
|
|
||||||
.. |em64fd| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Windows_VS2019_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_X64_FULL_DEBUG
|
.. |em64fd| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Windows_VS2022_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_X64_FULL_DEBUG
|
||||||
.. |em64fdu| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_X64_FULL_DEBUG
|
.. |em64fdu| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_X64_FULL_DEBUG
|
||||||
.. |em64fr| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Windows_VS2019_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_X64_FULL_RELEASE
|
.. |em64fr| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Windows_VS2022_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_X64_FULL_RELEASE
|
||||||
.. |em64fru| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_X64_FULL_RELEASE
|
.. |em64fru| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_X64_FULL_RELEASE
|
||||||
.. |em64fn| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Windows_VS2019_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_X64_FULL_NOOPT
|
.. |em64fn| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Windows_VS2022_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_X64_FULL_NOOPT
|
||||||
.. |em64fnu| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_X64_FULL_NOOPT
|
.. |em64fnu| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_EmulatorPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20EmulatorPkg_X64_FULL_NOOPT
|
||||||
|
|
||||||
.. OvmfPkg
|
.. OvmfPkg
|
||||||
@ -345,34 +345,34 @@ use.
|
|||||||
.. |TCBZ_2661| image:: https://img.shields.io/bugzilla/2661?baseUrl=https%3A%2F%2Fbugzilla.tianocore.org
|
.. |TCBZ_2661| image:: https://img.shields.io/bugzilla/2661?baseUrl=https%3A%2F%2Fbugzilla.tianocore.org
|
||||||
.. _TCBZ_2661: https://bugzilla.tianocore.org/show_bug.cgi?id=2661
|
.. _TCBZ_2661: https://bugzilla.tianocore.org/show_bug.cgi?id=2661
|
||||||
|
|
||||||
.. _OvmfPkg_Win_VS2019: https://dev.azure.com/tianocore/edk2-ci/_build/latest?definitionId=50&branchName=master
|
.. _OvmfPkg_Win_VS2022: https://dev.azure.com/tianocore/edk2-ci/_build/latest?definitionId=50&branchName=master
|
||||||
.. _OvmfPkg_Ubuntu_GCC5: https://dev.azure.com/tianocore/edk2-ci/_build/latest?definitionId=48&branchName=master
|
.. _OvmfPkg_Ubuntu_GCC5: https://dev.azure.com/tianocore/edk2-ci/_build/latest?definitionId=48&branchName=master
|
||||||
|
|
||||||
.. |op32d| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Windows_VS2019_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32_DEBUG
|
.. |op32d| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Windows_VS2022_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32_DEBUG
|
||||||
.. |op32du| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32_DEBUG
|
.. |op32du| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32_DEBUG
|
||||||
.. |op32r| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Windows_VS2019_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32_RELEASE
|
.. |op32r| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Windows_VS2022_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32_RELEASE
|
||||||
.. |op32ru| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32_RELEASE
|
.. |op32ru| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32_RELEASE
|
||||||
.. |op32n| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Windows_VS2019_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32_NOOPT
|
.. |op32n| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Windows_VS2022_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32_NOOPT
|
||||||
.. |op32nu| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32_NOOPT
|
.. |op32nu| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32_NOOPT
|
||||||
|
|
||||||
.. |op64d| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Windows_VS2019_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_X64_DEBUG
|
.. |op64d| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Windows_VS2022_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_X64_DEBUG
|
||||||
.. |op64du| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_X64_DEBUG
|
.. |op64du| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_X64_DEBUG
|
||||||
.. |op64r| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Windows_VS2019_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_X64_RELEASE
|
.. |op64r| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Windows_VS2022_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_X64_RELEASE
|
||||||
.. |op64ru| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_X64_RELEASE
|
.. |op64ru| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_X64_RELEASE
|
||||||
.. |op64n| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Windows_VS2019_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_X64_NOOPT
|
.. |op64n| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Windows_VS2022_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_X64_NOOPT
|
||||||
.. |op64nu| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_X64_NOOPT
|
.. |op64nu| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_X64_NOOPT
|
||||||
|
|
||||||
|
|
||||||
.. |op3264d| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Windows_VS2019_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32X64_DEBUG
|
.. |op3264d| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Windows_VS2022_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32X64_DEBUG
|
||||||
.. |op3264du| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32X64_DEBUG
|
.. |op3264du| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32X64_DEBUG
|
||||||
.. |op3264r| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Windows_VS2019_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32X64_RELEASE
|
.. |op3264r| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Windows_VS2022_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32X64_RELEASE
|
||||||
.. |op3264ru| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32X64_RELEASE
|
.. |op3264ru| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32X64_RELEASE
|
||||||
.. |op3264n| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Windows_VS2019_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32X64_NOOPT
|
.. |op3264n| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Windows_VS2022_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32X64_NOOPT
|
||||||
.. |op3264nu| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32X64_NOOPT
|
.. |op3264nu| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32X64_NOOPT
|
||||||
|
|
||||||
.. |op3264fd| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Windows_VS2019_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32X64_FULL_DEBUG
|
.. |op3264fd| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Windows_VS2022_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32X64_FULL_DEBUG
|
||||||
.. |op3264fdu| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32X64_FULL_DEBUG
|
.. |op3264fdu| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32X64_FULL_DEBUG
|
||||||
.. |op3264fr| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Windows_VS2019_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32X64_FULL_RELEASE
|
.. |op3264fr| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Windows_VS2022_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32X64_FULL_RELEASE
|
||||||
.. |op3264fru| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32X64_FULL_RELEASE
|
.. |op3264fru| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32X64_FULL_RELEASE
|
||||||
.. |op3264fn| replace:: |TCBZ_2661|_
|
.. |op3264fn| replace:: |TCBZ_2661|_
|
||||||
.. |op3264fnu| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32X64_FULL_NOOPT
|
.. |op3264fnu| image:: https://dev.azure.com/tianocore/edk2-ci/_apis/build/status/PlatformCI_OvmfPkg_Ubuntu_GCC5_CI?branchName=master&jobName=Platform_CI&configuration=Platform_CI%20OVMF_IA32X64_FULL_NOOPT
|
||||||
|
@ -1312,7 +1312,7 @@ If you are trying to iterate on a single test, a convenient pattern is to build
|
|||||||
the following command will build only the SafeIntLib host-based test from the MdePkg...
|
the following command will build only the SafeIntLib host-based test from the MdePkg...
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
stuart_ci_build -c .pytool/CISettings.py TOOL_CHAIN_TAG=VS2017 -p MdePkg -t NOOPT BUILDMODULE=MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLib.inf
|
stuart_ci_build -c .pytool/CISettings.py TOOL_CHAIN_TAG=VS2022 -p MdePkg -t NOOPT BUILDMODULE=MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLib.inf
|
||||||
```
|
```
|
||||||
|
|
||||||
### Hooking BaseLib
|
### Hooking BaseLib
|
||||||
@ -1337,7 +1337,7 @@ symbolic debugging to be enabled.
|
|||||||
You can run a build by adding the `BLD_*_UNIT_TESTING_DEBUG=TRUE` parameter to enable this build option.
|
You can run a build by adding the `BLD_*_UNIT_TESTING_DEBUG=TRUE` parameter to enable this build option.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
stuart_ci_build -c .pytool/CISettings.py TOOL_CHAIN_TAG=VS2019 -p MdePkg -t NOOPT BLD_*_UNIT_TESTING_DEBUG=TRUE
|
stuart_ci_build -c .pytool/CISettings.py TOOL_CHAIN_TAG=VS2022 -p MdePkg -t NOOPT BLD_*_UNIT_TESTING_DEBUG=TRUE
|
||||||
```
|
```
|
||||||
|
|
||||||
## Building and Running Host-Based Tests
|
## Building and Running Host-Based Tests
|
||||||
@ -1361,16 +1361,16 @@ After that, the following commands will set up the build and run the host-based
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Setup repo for building
|
# Setup repo for building
|
||||||
# stuart_setup -c ./.pytool/CISettings.py TOOL_CHAIN_TAG=<GCC5, VS2019, etc.>
|
# stuart_setup -c ./.pytool/CISettings.py TOOL_CHAIN_TAG=<GCC5, VS2022, etc.>
|
||||||
stuart_setup -c ./.pytool/CISettings.py TOOL_CHAIN_TAG=VS2019
|
stuart_setup -c ./.pytool/CISettings.py TOOL_CHAIN_TAG=VS2022
|
||||||
|
|
||||||
# Update all binary dependencies
|
# Update all binary dependencies
|
||||||
# stuart_update -c ./.pytool/CISettings.py TOOL_CHAIN_TAG=<GCC5, VS2019, etc.>
|
# stuart_update -c ./.pytool/CISettings.py TOOL_CHAIN_TAG=<GCC5, VS2022, etc.>
|
||||||
stuart_update -c ./.pytool/CISettings.py TOOL_CHAIN_TAG=VS2019
|
stuart_update -c ./.pytool/CISettings.py TOOL_CHAIN_TAG=VS2022
|
||||||
|
|
||||||
# Build and run the tests
|
# Build and run the tests
|
||||||
# stuart_ci_build -c ./.pytool/CISettings.py TOOL_CHAIN_TAG=<GCC5, VS2019, etc.> -t NOOPT [-p <Package Name>]
|
# stuart_ci_build -c ./.pytool/CISettings.py TOOL_CHAIN_TAG=<GCC5, VS2022, etc.> -t NOOPT [-p <Package Name>]
|
||||||
stuart_ci_build -c ./.pytool/CISettings.py TOOL_CHAIN_TAG=VS2019 -t NOOPT -p MdePkg
|
stuart_ci_build -c ./.pytool/CISettings.py TOOL_CHAIN_TAG=VS2022 -t NOOPT -p MdePkg
|
||||||
```
|
```
|
||||||
|
|
||||||
### Evaluating the Results
|
### Evaluating the Results
|
||||||
@ -1378,7 +1378,7 @@ stuart_ci_build -c ./.pytool/CISettings.py TOOL_CHAIN_TAG=VS2019 -t NOOPT -p Mde
|
|||||||
In your immediate output, any build failures will be highlighted. You can see these below as "WARNING" and "ERROR" messages.
|
In your immediate output, any build failures will be highlighted. You can see these below as "WARNING" and "ERROR" messages.
|
||||||
|
|
||||||
```text
|
```text
|
||||||
(edk_env) PS C:\_uefi\edk2> stuart_ci_build -c .\.pytool\CISettings.py TOOL_CHAIN_TAG=VS2019 -t NOOPT -p MdePkg
|
(edk_env) PS C:\_uefi\edk2> stuart_ci_build -c .\.pytool\CISettings.py TOOL_CHAIN_TAG=VS2022 -t NOOPT -p MdePkg
|
||||||
|
|
||||||
SECTION - Init SDE
|
SECTION - Init SDE
|
||||||
SECTION - Loading Plugins
|
SECTION - Loading Plugins
|
||||||
@ -1413,7 +1413,7 @@ ERROR - Error
|
|||||||
If a test fails, you can run it manually to get more details...
|
If a test fails, you can run it manually to get more details...
|
||||||
|
|
||||||
```text
|
```text
|
||||||
(edk_env) PS C:\_uefi\edk2> .\Build\MdePkg\HostTest\NOOPT_VS2019\X64\TestBaseSafeIntLibHost.exe
|
(edk_env) PS C:\_uefi\edk2> .\Build\MdePkg\HostTest\NOOPT_VS2022\X64\TestBaseSafeIntLibHost.exe
|
||||||
|
|
||||||
Int Safe Lib Unit Test Application v0.1
|
Int Safe Lib Unit Test Application v0.1
|
||||||
---------------------------------------------------------
|
---------------------------------------------------------
|
||||||
@ -1446,7 +1446,7 @@ A sample of this output looks like:
|
|||||||
```xml
|
```xml
|
||||||
<!--
|
<!--
|
||||||
Excerpt taken from:
|
Excerpt taken from:
|
||||||
Build\MdePkg\HostTest\NOOPT_VS2019\X64\TestBaseSafeIntLibHost.exe.Int Safe Conversions Test Suite.X64.result.xml
|
Build\MdePkg\HostTest\NOOPT_VS2022\X64\TestBaseSafeIntLibHost.exe.Int Safe Conversions Test Suite.X64.result.xml
|
||||||
-->
|
-->
|
||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<testsuites>
|
<testsuites>
|
||||||
@ -1494,13 +1494,13 @@ OpenCppCoverage windows tool to parse coverage data to cobertura xml format.
|
|||||||
```bash
|
```bash
|
||||||
Download and install https://github.com/OpenCppCoverage/OpenCppCoverage/releases
|
Download and install https://github.com/OpenCppCoverage/OpenCppCoverage/releases
|
||||||
python -m pip install --upgrade -r ./pip-requirements.txt
|
python -m pip install --upgrade -r ./pip-requirements.txt
|
||||||
stuart_ci_build -c .pytool/CISettings.py -t NOOPT TOOL_CHAIN_TAG=VS2019 -p MdeModulePkg
|
stuart_ci_build -c .pytool/CISettings.py -t NOOPT TOOL_CHAIN_TAG=VS2022 -p MdeModulePkg
|
||||||
Open Build/coverage.xml
|
Open Build/coverage.xml
|
||||||
```
|
```
|
||||||
|
|
||||||
- How to see code coverage data on IDE Visual Studio
|
- How to see code coverage data on IDE Visual Studio
|
||||||
```
|
```
|
||||||
Open Visual Studio VS2019 or above version
|
Open Visual Studio VS2022 or above version
|
||||||
Click "Tools" -> "OpenCppCoverage Settings"
|
Click "Tools" -> "OpenCppCoverage Settings"
|
||||||
Fill your execute file into "Program to run:"
|
Fill your execute file into "Program to run:"
|
||||||
Click "Tools" -> "Run OpenCppCoverage"
|
Click "Tools" -> "Run OpenCppCoverage"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user