diff --git a/.vsts-ci.yml b/.vsts-ci.yml index 8eeba1e2f323..a8babf11e674 100644 --- a/.vsts-ci.yml +++ b/.vsts-ci.yml @@ -330,6 +330,11 @@ extends: buildArchitecture: arm64 runTests: false + # Source Build + - template: /eng/common/templates-official/jobs/source-build.yml@self + parameters: + enableInternalSources: true + - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: - stage: Publish dependsOn: diff --git a/.vsts-pr.yml b/.vsts-pr.yml index 349e05fd7105..24e64b2daeb8 100644 --- a/.vsts-pr.yml +++ b/.vsts-pr.yml @@ -340,6 +340,10 @@ stages: linuxPortable: true runTests: false + - template: /eng/common/templates/jobs/source-build.yml + parameters: + enableInternalSources: true + - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: - stage: Publish dependsOn: