Update source-build CI to not arm64 leg on internal PRs

This commit is contained in:
MichaelSimons 2022-10-17 22:16:46 +00:00
parent cebd153a5a
commit 1d431b292f

View file

@ -78,22 +78,19 @@ jobs:
${{ if eq(variables['System.TeamProject'], 'internal') }}: ${{ if eq(variables['System.TeamProject'], 'internal') }}:
${{ parameters.poolInternalAmd64 }} ${{ parameters.poolInternalAmd64 }}
- ${{ if eq(variables['System.TeamProject'], 'internal') }}: - ${{ if and(eq(variables['System.TeamProject'], 'internal'), ne(variables['Build.Reason'], 'PullRequest')) }}:
- template: /src/SourceBuild/Arcade/eng/common/templates/job/source-build-build-tarball.yml - template: /src/SourceBuild/Arcade/eng/common/templates/job/source-build-build-tarball.yml
parameters: parameters:
architecture: arm64 architecture: arm64
dependsOn: ${{ parameters.dependsOn }} dependsOn: ${{ parameters.dependsOn }}
${{ if in(variables['Build.Reason'], 'PullRequest') }}:
excludeSdkContentTests: true
installerBuildResourceId: ${{ parameters.installerBuildResourceId }} installerBuildResourceId: ${{ parameters.installerBuildResourceId }}
matrix: matrix:
${{ if ne(variables['Build.Reason'], 'PullRequest') }}: Debian9-Offline:
Debian9-Offline: _BootstrapPrep: true
_BootstrapPrep: true _Container: ${{ parameters.debian9Arm64Container }}
_Container: ${{ parameters.debian9Arm64Container }} _EnablePoison: false
_EnablePoison: false _ExcludeOmniSharpTests: false
_ExcludeOmniSharpTests: false _RunOnline: false
_RunOnline: false
name: Build_Tarball_arm64 name: Build_Tarball_arm64
pool: ${{ parameters.poolInternalArm64 }} pool: ${{ parameters.poolInternalArm64 }}