[release/5.0-preview3] Don't run Code Check in official builds

This commit is contained in:
Doug Bunting 2020-04-03 22:38:52 -07:00
parent 39a24220cf
commit ffa52140db
1 changed files with 23 additions and 22 deletions

View File

@ -92,6 +92,7 @@ stages:
displayName: Build displayName: Build
jobs: jobs:
# Code check # Code check
- ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}:
- template: jobs/default-build.yml - template: jobs/default-build.yml
parameters: parameters:
jobName: Code_check jobName: Code_check
@ -594,7 +595,7 @@ stages:
parameters: parameters:
condition: ne(variables['SkipTests'], 'true') condition: ne(variables['SkipTests'], 'true')
jobName: MacOS_Test jobName: MacOS_Test
jobDisplayName: "Test: macOS 10.13" jobDisplayName: "Test: macOS 10.14"
agentOs: macOS agentOs: macOS
isTestingJob: true isTestingJob: true
buildArgs: --all --test "/p:RunTemplateTests=false /p:SkipHelixReadyTests=true" $(_InternalRuntimeDownloadArgs) buildArgs: --all --test "/p:RunTemplateTests=false /p:SkipHelixReadyTests=true" $(_InternalRuntimeDownloadArgs)