[edk2-devel] [PATCH v2 2/2] .azurepipelines: Install code coverage tool

Michael D Kinney michael.d.kinney at intel.com
Sun Apr 23 03:15:56 UTC 2023


Reviewed-by: Michael D Kinney <michael.d.kinney at intel.com>

> -----Original Message-----
> From: Guo, Gua <gua.guo at intel.com>
> Sent: Saturday, April 22, 2023 6:22 PM
> To: devel at edk2.groups.io
> Cc: Guo, Gua <gua.guo at intel.com>; Kinney, Michael D <michael.d.kinney at intel.com>; Sean Brogan <sean.brogan at microsoft.com>;
> Michael Kubacki <mikuback at linux.microsoft.com>; Oliver Steffen <osteffen at redhat.com>
> Subject: [PATCH v2 2/2] .azurepipelines: Install code coverage tool
> 
> From: Gua Guo <gua.guo at intel.com>
> 
> Azure should install code coverage tool (lcov), it didn't
> exist on Fedora and Ubuntu by default.
> 
> Cc: Michael D Kinney <michael.d.kinney at intel.com>
> Cc: Sean Brogan <sean.brogan at microsoft.com>
> Cc: Michael Kubacki <mikuback at linux.microsoft.com>
> Cc: Oliver Steffen <osteffen at redhat.com>
> Signed-off-by: Gua Guo <gua.guo at intel.com>
> ---
>  .azurepipelines/Ubuntu-GCC5.yml | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/.azurepipelines/Ubuntu-GCC5.yml b/.azurepipelines/Ubuntu-GCC5.yml
> index b9a3b851cf..d884256148 100644
> --- a/.azurepipelines/Ubuntu-GCC5.yml
> +++ b/.azurepipelines/Ubuntu-GCC5.yml
> @@ -24,3 +24,7 @@ jobs:
>      container: ${{ variables.default_linux_image }}
> 
>      arch_list: "IA32,X64,ARM,AARCH64,RISCV64,LOONGARCH64"
> 
>      usePythonVersion: ''  # use Python from the container image
> 
> +    extra_install_step:
> 
> +    - bash: sudo dnf install -y lcov
> 
> +      displayName: Install Code Coverage Tools
> 
> +      condition: and(gt(variables.pkg_count, 0), succeeded())
> 
> --
> 2.39.2.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#103446): https://edk2.groups.io/g/devel/message/103446
Mute This Topic: https://groups.io/mt/98443857/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/leave/3943202/1813853/130120423/xyzzy [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list