30 lines
1.5 KiB
Text
30 lines
1.5 KiB
Text
|
<Project Sdk="Microsoft.DotNet.Helix.Sdk" DefaultTargets="Test">
|
||
|
<PropertyGroup Condition="'$(AGENT_OS)' != 'Windows_NT'">
|
||
|
<Python>python3</Python>
|
||
|
<HelixPreCommands>$(HelixPreCommands);chmod +x $HELIX_WORKITEM_PAYLOAD/SOD/SizeOnDisk</HelixPreCommands>
|
||
|
</PropertyGroup>
|
||
|
|
||
|
<ItemGroup>
|
||
|
<HelixCorrelationPayload Include="$(CorrelationPayloadDirectory)">
|
||
|
<PayloadDirectory>%(Identity)</PayloadDirectory>
|
||
|
</HelixCorrelationPayload>
|
||
|
</ItemGroup>
|
||
|
|
||
|
<PropertyGroup Condition="'$(AGENT_OS)' == 'Windows_NT'">
|
||
|
<ScenarioDirectory>%HELIX_CORRELATION_PAYLOAD%\performance\src\scenarios\</ScenarioDirectory>
|
||
|
<BlazorDirectory>$(ScenarioDirectory)blazor\</BlazorDirectory>
|
||
|
</PropertyGroup>
|
||
|
<PropertyGroup Condition="'$(AGENT_OS)' != 'Windows_NT'">
|
||
|
<ScenarioDirectory>$HELIX_CORRELATION_PAYLOAD/performance/src/scenarios/</ScenarioDirectory>
|
||
|
<BlazorDirectory>$(ScenarioDirectory)blazor/</BlazorDirectory>
|
||
|
</PropertyGroup>
|
||
|
|
||
|
<ItemGroup>
|
||
|
<HelixWorkItem Include="SOD - New Blazor Template - Publish">
|
||
|
<PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory>
|
||
|
<PreCommands>cd $(BlazorDirectory);$(Python) pre.py publish --msbuild %27/p:_TrimmerDumpDependencies=true%27 --msbuild-static AdditionalMonoLinkerOptions=%27"%24(AdditionalMonoLinkerOptions) --dump-dependencies"%27 --binlog %27./traces/blazor_publish.binlog%27</PreCommands>
|
||
|
<Command>$(Python) test.py sod --scenario-name "%(Identity)"</Command>
|
||
|
<PostCommands>$(Python) post.py</PostCommands>
|
||
|
</HelixWorkItem>
|
||
|
</ItemGroup>
|
||
|
</Project>
|