@@ -92,27 +92,28 @@ stages:
92
92
displayName : Build
93
93
jobs :
94
94
# Code check
95
- - template : jobs/default-build.yml
96
- parameters :
97
- jobName : Code_check
98
- jobDisplayName : Code check
99
- agentOs : Windows
100
- steps :
101
- - ${{ if ne(variables['System.TeamProject'], 'public') }} :
102
- - task : PowerShell@2
103
- displayName : Setup Private Feeds Credentials
104
- inputs :
105
- filePath : $(Build.SourcesDirectory)/eng/common/SetupNugetSources.ps1
106
- arguments : -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token
107
- env :
108
- Token : $(dn-bot-dnceng-artifact-feeds-rw)
109
- - powershell : ./eng/scripts/CodeCheck.ps1 -ci $(_InternalRuntimeDownloadArgs)
110
- displayName : Run eng/scripts/CodeCheck.ps1
111
- artifacts :
112
- - name : Code_Check_Logs
113
- path : artifacts/log/
114
- publishOnError : true
115
- includeForks : true
95
+ - ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }} :
96
+ - template : jobs/default-build.yml
97
+ parameters :
98
+ jobName : Code_check
99
+ jobDisplayName : Code check
100
+ agentOs : Windows
101
+ steps :
102
+ - ${{ if ne(variables['System.TeamProject'], 'public') }} :
103
+ - task : PowerShell@2
104
+ displayName : Setup Private Feeds Credentials
105
+ inputs :
106
+ filePath : $(Build.SourcesDirectory)/eng/common/SetupNugetSources.ps1
107
+ arguments : -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token
108
+ env :
109
+ Token : $(dn-bot-dnceng-artifact-feeds-rw)
110
+ - powershell : ./eng/scripts/CodeCheck.ps1 -ci $(_InternalRuntimeDownloadArgs)
111
+ displayName : Run eng/scripts/CodeCheck.ps1
112
+ artifacts :
113
+ - name : Code_Check_Logs
114
+ path : artifacts/log/
115
+ publishOnError : true
116
+ includeForks : true
116
117
117
118
# Build Windows (x64/x86)
118
119
- template : jobs/default-build.yml
@@ -594,7 +595,7 @@ stages:
594
595
parameters :
595
596
condition : ne(variables['SkipTests'], 'true')
596
597
jobName : MacOS_Test
597
- jobDisplayName : " Test: macOS 10.13 "
598
+ jobDisplayName : " Test: macOS 10.14 "
598
599
agentOs : macOS
599
600
isTestingJob : true
600
601
buildArgs : --all --test "/p:RunTemplateTests=false /p:SkipHelixReadyTests=true" $(_InternalRuntimeDownloadArgs)
0 commit comments