buildConfig: Release
runtimeFlavor: mono
platforms:
- #- Android_arm64 # disabled due to https://github.com/dotnet/runtime/issues/47850
+ - Android_arm64
variables:
- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest')) }}:
- name: _HelixSource
eq(dependencies.evaluate_paths.outputs['SetPathVars_runtimetests.containsChange'], true),
eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true),
eq(variables['isFullMatrix'], true))
- # extra steps, run tests
- extraStepsTemplate: /eng/pipelines/common/templates/runtimes/android-runtime-and-send-to-helix.yml
- extraStepsParameters:
- creator: dotnet-bot
- testRunNamePrefixSuffix: Mono_$(_BuildConfig)
+ # don't run tests on PRs until we can get significantly more devices
+ ${{ if eq(variables['isFullMatrix'], true) }}:
+ # extra steps, run tests
+ extraStepsTemplate: /eng/pipelines/common/templates/runtimes/android-runtime-and-send-to-helix.yml
+ extraStepsParameters:
+ creator: dotnet-bot
+ testRunNamePrefixSuffix: Mono_$(_BuildConfig)
# Run disabled installer tests on Linux x64
- template: /eng/pipelines/common/platform-matrix.yml
string xharnessCmd;
string cmdStr;
string appExtension;
- int timeout = 240000; // Set timeout to 4 mins, because the installation on Android arm64/32 devices could take up to 4 mins on CI
+ int timeout = 600000; // Set timeout to 4 mins, because the installation on Android arm64/32 devices could take up to 10 mins on CI
if(String.IsNullOrEmpty(dotnetCmd_raw))
{
private static string ConvertCmd2Arg(string cmd)
{
cmd.Replace("\"", "\"\"");
- var result = $"-c \"{cmd}\"";
- return result;
+
+ string cmdPrefix;
+ if(OperatingSystem.IsWindows())
+ {
+ cmdPrefix = "/c";
+ }
+ else
+ {
+ cmdPrefix = "-c";
+ }
+
+ return $"{cmdPrefix} \"{cmd}\"";
}
}
}
</ItemGroup>
<ItemGroup Condition=" $(TargetOS) == 'Android' And '$(TargetArchitecture)' == 'arm64' " >
- <ExcludeList Include = "$(XunitTestBinBase)/JIT/HardwareIntrinsics/**">
- <Issue>https://github.com/dotnet/runtime/issues/45568 (workitem JIT.HardwareIntrinsics)</Issue>
- </ExcludeList>
- <ExcludeList Include = "$(XunitTestBinBase)/JIT/Methodical/**">
- <Issue>https://github.com/dotnet/runtime/issues/45568 (workitem JIT.Methodical*)</Issue>
- </ExcludeList>
- <ExcludeList Include = "$(XunitTestBinBase)/JIT/IL_Conformance/**">
- <Issue>https://github.com/dotnet/runtime/issues/45568 (workitem JIT.IL_Conformance)</Issue>
- </ExcludeList>
- <ExcludeList Include = "$(XunitTestBinBase)/JIT/SIMD/**">
- <Issue>https://github.com/dotnet/runtime/issues/45568 (workitem JIT)</Issue>
- </ExcludeList>
- <ExcludeList Include = "$(XunitTestBinBase)/JIT/opt/**">
- <Issue>https://github.com/dotnet/runtime/issues/45568 (workitem JIT)</Issue>
- </ExcludeList>
- <ExcludeList Include = "$(XunitTestBinBase)/JIT/Regression/**">
- <Issue>https://github.com/dotnet/runtime/issues/45568 (workitem JIT.Regression.CLR-x86-JIT.V1-M12-M13)</Issue>
- </ExcludeList>
- <ExcludeList Include = "$(XunitTestBinBase)/GC/Scenarios/**">
- <Issue>https://github.com/dotnet/runtime/issues/45568 (workitem PayloadGroup0)</Issue>
+ <ExcludeList Include = "$(XunitTestBinBase)/JIT/Performance/CodeQuality/BenchmarksGame/fannkuch-redux/fannkuch-redux-5/**">
+ <Issue>https://github.com/dotnet/runtime/issues/52781</Issue>
</ExcludeList>
</ItemGroup>
</Project>