]> git.proxmox.com Git - mirror_edk2.git/commitdiff
.azurepipelines: Add NOOPT to all package builds
authorMichael Kubacki <michael.kubacki@microsoft.com>
Wed, 20 Apr 2022 00:12:56 +0000 (20:12 -0400)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 22 Apr 2022 14:59:40 +0000 (14:59 +0000)
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>
Reviewed-by: Sean Brogan <sean.brogan@microsoft.com>
.azurepipelines/templates/pr-gate-build-job.yml

index 69e4c50afdbbbd965d7116f7da6e82baa0d9d0b9..0e4ad019bf03a55b46dd12a7d2b55ff3d6e0aece 100644 (file)
@@ -35,10 +35,10 @@ jobs:
         Build.Targets: 'RELEASE,NO-TARGET'\r
       TARGET_NETWORK:\r
         Build.Pkgs: 'NetworkPkg,RedfishPkg'\r
-        Build.Targets: 'DEBUG,RELEASE,NO-TARGET'\r
+        Build.Targets: 'DEBUG,RELEASE,NO-TARGET,NOOPT'\r
       TARGET_OTHER:\r
         Build.Pkgs: 'PcAtChipsetPkg,PrmPkg,ShellPkg,StandaloneMmPkg'\r
-        Build.Targets: 'DEBUG,RELEASE,NO-TARGET'\r
+        Build.Targets: 'DEBUG,RELEASE,NO-TARGET,NOOPT'\r
       TARGET_FMP_FAT_TEST:\r
         Build.Pkgs: 'FmpDevicePkg,FatPkg,UnitTestFrameworkPkg,DynamicTablesPkg'\r
         Build.Targets: 'DEBUG,RELEASE,NO-TARGET,NOOPT'\r
@@ -47,15 +47,15 @@ jobs:
         Build.Targets: 'DEBUG,RELEASE,NO-TARGET,NOOPT'\r
       TARGET_SECURITY:\r
         Build.Pkgs: 'SecurityPkg'\r
-        Build.Targets: 'DEBUG,RELEASE,NO-TARGET'\r
+        Build.Targets: 'DEBUG,RELEASE,NO-TARGET,NOOPT'\r
       TARGET_UEFIPAYLOAD:\r
         Build.Pkgs: 'UefiPayloadPkg'\r
-        Build.Targets: 'DEBUG,RELEASE,NO-TARGET'\r
+        Build.Targets: 'DEBUG,RELEASE,NO-TARGET,NOOPT'\r
       TARGET_PLATFORMS:\r
         # For Platforms only check code. Leave it to Platform CI\r
         # to build them.\r
         Build.Pkgs: 'ArmVirtPkg,EmulatorPkg,OvmfPkg'\r
-        Build.Targets: 'NO-TARGET'\r
+        Build.Targets: 'NO-TARGET,NOOPT'\r
 \r
   workspace:\r
     clean: all\r