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 @@ -123,12 +123,20 @@ extends:
123123 clean : true
124124
125125 # Use utility script to run script command dependent on agent OS.
126- - script : eng/common/cibuild.cmd
127- -configuration $(_BuildConfig)
128- -prepareMachine
129- -integrationTest
130- $(_InternalBuildArgs)
131- displayName : Windows Build / Publish
126+ - ${{ if in(variables['Build.Reason'], 'PullRequest') }} :
127+ - script : eng/common/cibuild.cmd
128+ -configuration $(_BuildConfig)
129+ -prepareMachine
130+ -integrationTest
131+ $(_InternalBuildArgs)
132+ displayName : Windows Build / Publish
133+ - ${{ else }} :
134+ - script : eng/common/cibuild.cmd
135+ -configuration $(_BuildConfig)
136+ -prepareMachine
137+ /p:Test=false
138+ $(_InternalBuildArgs)
139+ displayName : Windows Build / Publish
132140
133141 - ${{ if in(variables['Build.Reason'], 'PullRequest') }} :
134142 - ${{ each config in parameters.buildConfigurations }} :
You can’t perform that action at this time.
0 commit comments