File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <Project Sdk =" Microsoft.DotNet.Helix.Sdk" DefaultTargets =" Test" >
2+ <PropertyGroup >
3+ <Language >msbuild</Language >
4+ <EnableAzurePipelinesReporter Condition =" '$(SYSTEM_ACCESSTOKEN)' != ''" >true</EnableAzurePipelinesReporter >
5+ <EnableAzurePipelinesReporter Condition =" '$(SYSTEM_ACCESSTOKEN)' == ''" >false</EnableAzurePipelinesReporter >
6+ <FailOnTestFailure >true</FailOnTestFailure >
7+ <HelixType Condition =" '$(HelixType)' == ''" >tests/android/maui-r2r/</HelixType >
8+ <HelixWorkItemName Condition =" '$(HelixWorkItemName)' == ''" >WorkItem</HelixWorkItemName >
9+ <HelixTestRunName Condition =" '$(HelixTestRunName)' == ''" >$(HelixWorkItemName)</HelixTestRunName >
10+ <HelixResultsDestinationDir Condition =" '$(HelixResultsDestinationDir)' == '' and '$(BUILD_STAGINGDIRECTORY)' != ''" >$(BUILD_STAGINGDIRECTORY)\helix-results\$(HelixWorkItemName)</HelixResultsDestinationDir >
11+ <HelixResultsDestinationDir Condition =" '$(HelixResultsDestinationDir)' == ''" >$(MSBuildThisFileDirectory)..\..\artifacts\helix-results\$(HelixWorkItemName)</HelixResultsDestinationDir >
12+ </PropertyGroup >
13+
14+ <ItemGroup >
15+ <HelixTargetQueue Include =" $(HelixTargetQueueForItem)" >
16+ <TestRunName >$(HelixTestRunName)</TestRunName >
17+ </HelixTargetQueue >
18+ </ItemGroup >
19+
20+ <ItemGroup >
21+ <HelixWorkItem Include =" $(HelixWorkItemName)" Condition =" '$(WorkItemDirectory)' != ''" >
22+ <PayloadDirectory >$(WorkItemDirectory)</PayloadDirectory >
23+ <Command >$(WorkItemCommand)</Command >
24+ <Timeout Condition =" '$(WorkItemTimeout)' != ''" >$(WorkItemTimeout)</Timeout >
25+ </HelixWorkItem >
26+ </ItemGroup >
27+ </Project >
Original file line number Diff line number Diff line change @@ -620,6 +620,13 @@ stages:
620620 xaSourcePath : $(Build.SourcesDirectory)/android
621621 displayName : Build MAUI template - Release
622622
623+ - template : /build-tools/automation/yaml-templates/run-maui-r2r-helix-matrix.yaml
624+ parameters :
625+ project : $(Build.StagingDirectory)/MauiTestProj/MauiTestProj.csproj
626+ xaSourcePath : $(Build.SourcesDirectory)/android
627+ logsDirectory : $(Build.StagingDirectory)/logs
628+ extraBuildArguments : --configfile $(Build.SourcesDirectory)/maui/NuGet.config
629+
623630 - task : CopyFiles@2
624631 displayName : copy build logs
625632 condition : always()
Original file line number Diff line number Diff line change @@ -236,6 +236,13 @@ extends:
236236 xaSourcePath : $(Build.SourcesDirectory)/android
237237 displayName : Build MAUI template - Release
238238
239+ - template : /build-tools/automation/yaml-templates/run-maui-r2r-helix-matrix.yaml@self
240+ parameters :
241+ project : $(Build.StagingDirectory)/MauiTestProj/MauiTestProj.csproj
242+ xaSourcePath : $(Build.SourcesDirectory)/android
243+ logsDirectory : $(Build.StagingDirectory)/logs
244+ extraBuildArguments : --configfile $(Build.SourcesDirectory)/maui/NuGet.config
245+
239246 - task : CopyFiles@2
240247 displayName : copy build logs
241248 condition : always()
You can’t perform that action at this time.
0 commit comments