summaryrefslogtreecommitdiff
path: root/.azurepipelines/Ubuntu-GCC5.yml
diff options
context:
space:
mode:
authorGua Guo <gua.guo@intel.com>2022-11-08 16:38:49 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-01-04 02:06:01 +0000
commit89c5d90003d9c54d03d3e85bd305718e9c29a213 (patch)
tree544e52a7c2fd2d8f327d2cd4b2df1d1c9c5895ad /.azurepipelines/Ubuntu-GCC5.yml
parent6bb00aa4846c874a8b98163624c41856b486daee (diff)
downloadedk2-89c5d90003d9c54d03d3e85bd305718e9c29a213.zip
edk2-89c5d90003d9c54d03d3e85bd305718e9c29a213.tar.gz
edk2-89c5d90003d9c54d03d3e85bd305718e9c29a213.tar.bz2
.azurepipelines: Install code coverage tool
For Windows add below tool for code coverage 1. OpenCppCoverage: parsing pdb file to generate coverage data 2. pycobertura: show up html format data for coverage data For Linux add below tool for code coverage 1. lcov: parsing gcda gcno file to generate coverage data 2. lcov-cobertura: convert coverage data to cobertura format 3. pycobertura: show up html format data for coverage data Cc: Sean Brogan <sean.brogan@microsoft.com> Cc: Bret Barkelew <Bret.Barkelew@microsoft.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Reviewed-by: Michael Kubacki <michael.kubacki@microsoft.com> Signed-off-by: Gua Guo <gua.guo@intel.com>
Diffstat (limited to '.azurepipelines/Ubuntu-GCC5.yml')
-rw-r--r--.azurepipelines/Ubuntu-GCC5.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.azurepipelines/Ubuntu-GCC5.yml b/.azurepipelines/Ubuntu-GCC5.yml
index 1acd8d2..f83951e 100644
--- a/.azurepipelines/Ubuntu-GCC5.yml
+++ b/.azurepipelines/Ubuntu-GCC5.yml
@@ -19,4 +19,7 @@ jobs:
tool_chain_tag: 'GCC5'
vm_image: 'ubuntu-latest'
arch_list: "IA32,X64,ARM,AARCH64,RISCV64,LOONGARCH64"
-
+ extra_install_step:
+ - bash: sudo apt-get install -y lcov
+ displayName: Install Code Coverage Tools
+ condition: and(gt(variables.pkg_count, 0), succeeded())