File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -109,12 +109,20 @@ extends:
109109 - checkout : self
110110 clean : true
111111 # Use utility script to run script command dependent on agent OS.
112- - script : eng/common/cibuild.cmd
113- -configuration $(_BuildConfig)
114- -prepareMachine
115- -integrationTest
116- $(_InternalBuildArgs)
117- displayName : Windows Build / Publish
112+ - ${{ if in(variables['Build.Reason'], 'PullRequest') }} :
113+ - script : eng/common/cibuild.cmd
114+ -configuration $(_BuildConfig)
115+ -prepareMachine
116+ -integrationTest
117+ $(_InternalBuildArgs)
118+ displayName : Windows Build / Publish
119+ - ${{ else }} :
120+ - script : eng/common/cibuild.cmd
121+ -configuration $(_BuildConfig)
122+ -prepareMachine
123+ /p:Test=false
124+ $(_InternalBuildArgs)
125+ displayName : Windows Build / Publish
118126
119127 - ${{ if in(variables['Build.Reason'], 'PullRequest') }} :
120128 - ${{ each config in parameters.buildConfigurations }} :
You can’t perform that action at this time.
0 commit comments