public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v1 1/1] .azurepipelines: Add NOOPT to all package builds
@ 2022-04-20  1:43 Michael Kubacki
  2022-04-21 21:07 ` [edk2-devel] " Sean
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Kubacki @ 2022-04-20  1:43 UTC (permalink / raw)
  To: devel; +Cc: Sean Brogan, Bret Barkelew, Michael D Kinney, Liming Gao

From: Michael Kubacki <michael.kubacki@microsoft.com>

The NOOPT build target is used for host-based unit tests. This
change adds the NOOPT target for all packages to ensure that tests
are executed if present.

If the host-based DSC is not specified in the packages CI YAML file,
the host-based compiler plugin will be reported as a skipped test.

Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
---
 .azurepipelines/templates/pr-gate-build-job.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/.azurepipelines/templates/pr-gate-build-job.yml b/.azurepipelines/templates/pr-gate-build-job.yml
index 69e4c50afdbb..0e4ad019bf03 100644
--- a/.azurepipelines/templates/pr-gate-build-job.yml
+++ b/.azurepipelines/templates/pr-gate-build-job.yml
@@ -35,10 +35,10 @@ jobs:
         Build.Targets: 'RELEASE,NO-TARGET'
       TARGET_NETWORK:
         Build.Pkgs: 'NetworkPkg,RedfishPkg'
-        Build.Targets: 'DEBUG,RELEASE,NO-TARGET'
+        Build.Targets: 'DEBUG,RELEASE,NO-TARGET,NOOPT'
       TARGET_OTHER:
         Build.Pkgs: 'PcAtChipsetPkg,PrmPkg,ShellPkg,StandaloneMmPkg'
-        Build.Targets: 'DEBUG,RELEASE,NO-TARGET'
+        Build.Targets: 'DEBUG,RELEASE,NO-TARGET,NOOPT'
       TARGET_FMP_FAT_TEST:
         Build.Pkgs: 'FmpDevicePkg,FatPkg,UnitTestFrameworkPkg,DynamicTablesPkg'
         Build.Targets: 'DEBUG,RELEASE,NO-TARGET,NOOPT'
@@ -47,15 +47,15 @@ jobs:
         Build.Targets: 'DEBUG,RELEASE,NO-TARGET,NOOPT'
       TARGET_SECURITY:
         Build.Pkgs: 'SecurityPkg'
-        Build.Targets: 'DEBUG,RELEASE,NO-TARGET'
+        Build.Targets: 'DEBUG,RELEASE,NO-TARGET,NOOPT'
       TARGET_UEFIPAYLOAD:
         Build.Pkgs: 'UefiPayloadPkg'
-        Build.Targets: 'DEBUG,RELEASE,NO-TARGET'
+        Build.Targets: 'DEBUG,RELEASE,NO-TARGET,NOOPT'
       TARGET_PLATFORMS:
         # For Platforms only check code. Leave it to Platform CI
         # to build them.
         Build.Pkgs: 'ArmVirtPkg,EmulatorPkg,OvmfPkg'
-        Build.Targets: 'NO-TARGET'
+        Build.Targets: 'NO-TARGET,NOOPT'
 
   workspace:
     clean: all
-- 
2.28.0.windows.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [edk2-devel] [PATCH v1 1/1] .azurepipelines: Add NOOPT to all package builds
       [not found] <16E777609E777E5C.10736@groups.io>
@ 2022-04-20 17:52 ` Michael Kubacki
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Kubacki @ 2022-04-20 17:52 UTC (permalink / raw)
  To: devel; +Cc: Sean Brogan, Bret Barkelew, Michael D Kinney, Liming Gao

Here's a PR with this change that has an additional temp commit to 
trigger builds:

https://github.com/tianocore/edk2/pull/2806

Ignore the patch check failure, that is related to the temp commit.

Regards,
Michael

On 4/19/2022 9:43 PM, Michael Kubacki wrote:
> From: Michael Kubacki <michael.kubacki@microsoft.com>
> 
> The NOOPT build target is used for host-based unit tests. This
> change adds the NOOPT target for all packages to ensure that tests
> are executed if present.
> 
> If the host-based DSC is not specified in the packages CI YAML file,
> the host-based compiler plugin will be reported as a skipped test.
> 
> Cc: Sean Brogan <sean.brogan@microsoft.com>
> Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
> Cc: Michael D Kinney <michael.d.kinney@intel.com>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
> ---
>   .azurepipelines/templates/pr-gate-build-job.yml | 10 +++++-----
>   1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/.azurepipelines/templates/pr-gate-build-job.yml b/.azurepipelines/templates/pr-gate-build-job.yml
> index 69e4c50afdbb..0e4ad019bf03 100644
> --- a/.azurepipelines/templates/pr-gate-build-job.yml
> +++ b/.azurepipelines/templates/pr-gate-build-job.yml
> @@ -35,10 +35,10 @@ jobs:
>           Build.Targets: 'RELEASE,NO-TARGET'
>         TARGET_NETWORK:
>           Build.Pkgs: 'NetworkPkg,RedfishPkg'
> -        Build.Targets: 'DEBUG,RELEASE,NO-TARGET'
> +        Build.Targets: 'DEBUG,RELEASE,NO-TARGET,NOOPT'
>         TARGET_OTHER:
>           Build.Pkgs: 'PcAtChipsetPkg,PrmPkg,ShellPkg,StandaloneMmPkg'
> -        Build.Targets: 'DEBUG,RELEASE,NO-TARGET'
> +        Build.Targets: 'DEBUG,RELEASE,NO-TARGET,NOOPT'
>         TARGET_FMP_FAT_TEST:
>           Build.Pkgs: 'FmpDevicePkg,FatPkg,UnitTestFrameworkPkg,DynamicTablesPkg'
>           Build.Targets: 'DEBUG,RELEASE,NO-TARGET,NOOPT'
> @@ -47,15 +47,15 @@ jobs:
>           Build.Targets: 'DEBUG,RELEASE,NO-TARGET,NOOPT'
>         TARGET_SECURITY:
>           Build.Pkgs: 'SecurityPkg'
> -        Build.Targets: 'DEBUG,RELEASE,NO-TARGET'
> +        Build.Targets: 'DEBUG,RELEASE,NO-TARGET,NOOPT'
>         TARGET_UEFIPAYLOAD:
>           Build.Pkgs: 'UefiPayloadPkg'
> -        Build.Targets: 'DEBUG,RELEASE,NO-TARGET'
> +        Build.Targets: 'DEBUG,RELEASE,NO-TARGET,NOOPT'
>         TARGET_PLATFORMS:
>           # For Platforms only check code. Leave it to Platform CI
>           # to build them.
>           Build.Pkgs: 'ArmVirtPkg,EmulatorPkg,OvmfPkg'
> -        Build.Targets: 'NO-TARGET'
> +        Build.Targets: 'NO-TARGET,NOOPT'
>   
>     workspace:
>       clean: all

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [edk2-devel] [PATCH v1 1/1] .azurepipelines: Add NOOPT to all package builds
  2022-04-20  1:43 [PATCH v1 1/1] .azurepipelines: Add NOOPT to all package builds Michael Kubacki
@ 2022-04-21 21:07 ` Sean
  2022-04-22 14:33   ` Michael Kubacki
  0 siblings, 1 reply; 4+ messages in thread
From: Sean @ 2022-04-21 21:07 UTC (permalink / raw)
  To: Michael Kubacki, devel

[-- Attachment #1: Type: text/plain, Size: 54 bytes --]

Reviewed-by: Sean Brogan <sean.brogan@microsoft.com>

[-- Attachment #2: Type: text/html, Size: 60 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [edk2-devel] [PATCH v1 1/1] .azurepipelines: Add NOOPT to all package builds
  2022-04-21 21:07 ` [edk2-devel] " Sean
@ 2022-04-22 14:33   ` Michael Kubacki
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Kubacki @ 2022-04-22 14:33 UTC (permalink / raw)
  To: devel, spbrogan

PR with R-b tag is ready to push:

https://github.com/tianocore/edk2/pull/2818

On 4/21/2022 5:07 PM, Sean wrote:
> Reviewed-by: Sean Brogan <sean.brogan@microsoft.com>
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-04-22 14:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-20  1:43 [PATCH v1 1/1] .azurepipelines: Add NOOPT to all package builds Michael Kubacki
2022-04-21 21:07 ` [edk2-devel] " Sean
2022-04-22 14:33   ` Michael Kubacki
     [not found] <16E777609E777E5C.10736@groups.io>
2022-04-20 17:52 ` Michael Kubacki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox