forked from dotnet/performance
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Small refactoring for common props/items for various scenarios (#2665)
- Loading branch information
1 parent
6e8cd17
commit 0068602
Showing
3 changed files
with
32 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<Project> | ||
<ItemGroup> | ||
<HelixCorrelationPayload Include="$(CorrelationPayloadDirectory)"> | ||
<PayloadDirectory>%(Identity)</PayloadDirectory> | ||
</HelixCorrelationPayload> | ||
</ItemGroup> | ||
|
||
<ItemDefinitionGroup> | ||
<HelixWorkItem> | ||
<Timeout>4:00</Timeout> | ||
</HelixWorkItem> | ||
</ItemDefinitionGroup> | ||
|
||
<PropertyGroup> | ||
<FrameworkVersion>$(PERFLAB_Framework.Substring($([MSBuild]::Subtract($(PERFLAB_Framework.Length), 3))))</FrameworkVersion> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(TargetsWindows)' == 'true'"> | ||
<ScenariosDir>$(WorkItemDirectory)\src\scenarios\</ScenariosDir> | ||
<HelixPreCommands>$(HelixPreCommands);set PYTHONPATH=%HELIX_CORRELATION_PAYLOAD%\scripts%3B%HELIX_CORRELATION_PAYLOAD%</HelixPreCommands> | ||
<RID>win-$(Architecture)</RID> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(TargetsWindows)' != 'true'"> | ||
<ScenariosDir>$(WorkItemDirectory)/src/scenarios/</ScenariosDir> | ||
<HelixPreCommands>$(HelixPreCommands);sudo apt-get update;chmod +x $HELIX_CORRELATION_PAYLOAD/startup/perfcollect</HelixPreCommands> | ||
<HelixPreCommands>$(HelixPreCommands);export PYTHONPATH=$HELIX_CORRELATION_PAYLOAD/scripts:$HELIX_CORRELATION_PAYLOAD</HelixPreCommands> | ||
<RID>linux-$(Architecture)</RID> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters