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.web09.10986.1650477181895847107 for ; Wed, 20 Apr 2022 10:53:02 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=hpSUu44g; spf=pass (domain: linux.microsoft.com, ip: 13.77.154.182, mailfrom: mikuback@linux.microsoft.com) Received: from [192.168.4.22] (unknown [47.201.46.36]) by linux.microsoft.com (Postfix) with ESMTPSA id 8B6E72056561; Wed, 20 Apr 2022 10:53:00 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 8B6E72056561 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1650477181; bh=+EN9dIAruaOQhcxOwGhfqtIZfJ7ROSZXJSFUK/pJcjw=; h=Date:Subject:From:To:Cc:Reply-To:References:In-Reply-To:From; b=hpSUu44gOVafvOVWyN008xG91sj4FSB9bkqbDb4QI2+6zeJRBdLg7bM54bacDtczR pUkSQB96K/VpE/5miRMBicGvG0OeGpRUhwJkrgFirLLFtnueCOVO7yhFrtD2AY7+fs mID9wexMAD6uJm3pZVEDikxXdIf28KLHg8yWCJLQ= Message-ID: <033d7eb2-dc53-2a0e-cf78-b93151f59d25@linux.microsoft.com> Date: Wed, 20 Apr 2022 13:52:59 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [edk2-devel] [PATCH v1 1/1] .azurepipelines: Add NOOPT to all package builds From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Sean Brogan , Bret Barkelew , Michael D Kinney , Liming Gao Reply-To: devel@edk2.groups.io, mikuback@linux.microsoft.com References: <16E777609E777E5C.10736@groups.io> In-Reply-To: <16E777609E777E5C.10736@groups.io> Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 > > 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/.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