From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web08.3004.1650419045032480245 for ; Tue, 19 Apr 2022 18:44:05 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@linux.microsoft.com header.s=default header.b=UYONc7uT; spf=pass (domain: linux.microsoft.com, ip: 13.77.154.182, mailfrom: mikuback@linux.microsoft.com) Received: from localhost.localdomain (unknown [47.201.46.36]) by linux.microsoft.com (Postfix) with ESMTPSA id A354820E1A87; Tue, 19 Apr 2022 18:44:03 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com A354820E1A87 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1650419044; bh=9GPFAiYdDez3JGKGG1SEG8qmvxcI8gwoy5p8fiDgKKQ=; h=From:To:Cc:Subject:Date:From; b=UYONc7uTnaCom78Nrvdza/szuXlGs1sZd8CNF74H11rGct9+ojOB12HKOWu42bHpy mkV8x/Tl54Mk8T7/9wDjrivIRXhLJ9TI92kbv8wMH/B1SA5h90DCPVgSg2xCx4RjZr LWtVvGV2U8xZUlhgvfUxaAOiKsxY/HL+gENoVJoo= From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Sean Brogan , Bret Barkelew , Michael D Kinney , Liming Gao Subject: [PATCH v1 1/1] .azurepipelines: Add NOOPT to all package builds Date: Tue, 19 Apr 2022 21:43:43 -0400 Message-Id: <20220420014343.1720-1-mikuback@linux.microsoft.com> X-Mailer: git-send-email 2.28.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Kubacki 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 Cc: Bret Barkelew Cc: Michael D Kinney Cc: Liming Gao Signed-off-by: Michael Kubacki --- .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/.azurepipe= lines/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,DynamicTab= lesPkg' 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' =20 workspace: clean: all --=20 2.28.0.windows.1