diff --git a/.azurepipelines/templates/pr-gate-build-job.yml b/.azurepipelines/templates/pr-gate-build-job.yml index 61868554d4..a9f89aa684 100644 --- a/.azurepipelines/templates/pr-gate-build-job.yml +++ b/.azurepipelines/templates/pr-gate-build-job.yml @@ -44,6 +44,11 @@ jobs: TARGET_SECURITY: Build.Pkgs: 'SecurityPkg' Build.Targets: 'DEBUG,RELEASE,NO-TARGET' + TARGET_PLATFORMS: + # For Platforms only check code. Leave it to Platform CI + # to build them. + Build.Pkgs: 'ArmVirtPkg,EmulatorPkg,OvmfPkg' + Build.Targets: 'NO-TARGET' workspace: clean: all