|
131 | 131 | <HelixWorkItem Include="@(Partition)"> |
132 | 132 | <PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory> |
133 | 133 | <PreCommands Condition="'$(Compare)' == 'true'">$(WorkItemCommand) --bdn-artifacts $(BaselineArtifactsDirectory) --bdn-arguments="--anyCategories $(BDNCategories) $(ExtraBenchmarkDotNetArguments) $(BaselineCoreRunArgument) --partition-count $(PartitionCount) --partition-index %(HelixWorkItem.Index)"</PreCommands> |
134 | | - <Command> |
| 134 | + <Command Condition="'$(AGENT_OS)' != 'Windows_NT'"> |
135 | 135 | if [ "x$PERF_PREREQS_INSTALLED" = "x1" ]; then |
136 | 136 | $(WorkItemCommand) --bdn-artifacts $(ArtifactsDirectory) --bdn-arguments="--anyCategories $(BDNCategories) $(ExtraBenchmarkDotNetArguments) $(CoreRunArgument) --partition-count $(PartitionCount) --partition-index %(HelixWorkItem.Index)"; |
137 | 137 | else |
138 | 138 | echo "\n\n** Error: Failed to install prerequisites **\n\n"; export _commandExitCode=1; |
139 | 139 | fi</Command> |
| 140 | + <Command Condition="'$(AGENT_OS)' == 'Windows_NT'">$(WorkItemCommand) --bdn-artifacts $(ArtifactsDirectory) --bdn-arguments="--anyCategories $(BDNCategories) $(ExtraBenchmarkDotNetArguments) $(CoreRunArgument) --partition-count $(PartitionCount) --partition-index %(HelixWorkItem.Index)"</Command> |
140 | 141 | <PostCommands Condition="'$(Compare)' == 'true'">$(DotnetExe) run -f $(PERFLAB_Framework) -p $(ResultsComparer) --base $(BaselineArtifactsDirectory) --diff $(ArtifactsDirectory) --threshold 2$(Percent) --xml $(XMLResults);$(FinalCommand)</PostCommands> |
141 | 142 | <Timeout>$(WorkItemTimeout)</Timeout> |
142 | 143 | </HelixWorkItem> |
|
146 | 147 | <HelixWorkItem Include="$(BuildConfig).WorkItem"> |
147 | 148 | <PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory> |
148 | 149 | <PreCommands Condition="'$(Compare)' == 'true'">$(WorkItemCommand) --bdn-artifacts $(BaselineArtifactsDirectory) --bdn-arguments="--anyCategories $(BDNCategories) $(ExtraBenchmarkDotNetArguments) $(BaselineCoreRunArgument)"</PreCommands> |
149 | | - <Command> |
| 150 | + <Command Condition="'$(AGENT_OS)' != 'Windows_NT'"> |
150 | 151 | if [ "x$PERF_PREREQS_INSTALLED" = "x1" ]; then |
151 | 152 | $(WorkItemCommand) --bdn-artifacts $(ArtifactsDirectory) --bdn-arguments="--anyCategories $(BDNCategories) $(ExtraBenchmarkDotNetArguments) $(CoreRunArgument)"; |
152 | 153 | else |
153 | 154 | echo "\n\n** Error: Failed to install prerequisites **\n\n"; export _commandExitCode=1; |
154 | 155 | fi</Command> |
| 156 | + <Command Condition="'$(AGENT_OS)' == 'Windows_NT'">$(WorkItemCommand) --bdn-artifacts $(ArtifactsDirectory) --bdn-arguments="--anyCategories $(BDNCategories) $(ExtraBenchmarkDotNetArguments) $(CoreRunArgument)"</Command> |
155 | 157 | <PostCommands Condition="'$(Compare)' == 'true'">$(DotnetExe) run -f $(PERFLAB_Framework) -p $(ResultsComparer) --base $(BaselineArtifactsDirectory) --diff $(ArtifactsDirectory) --threshold 2$(Percent) --xml $(XMLResults)</PostCommands> |
156 | 158 | <Timeout>4:00</Timeout> |
157 | 159 | </HelixWorkItem> |
|
0 commit comments