File tree 5 files changed +21
-7
lines changed
automation/yaml-templates
tests/Mono.Android-Tests/Mono.Android-Tests
5 files changed +21
-7
lines changed Original file line number Diff line number Diff line change @@ -198,6 +198,16 @@ stages:
198
198
artifactSource : bin/Test$(XA.Build.Configuration)/$(DotNetTargetFramework)-android/Mono.Android.NET_Tests-Signed.aab
199
199
artifactFolder : $(DotNetTargetFramework)-AotLlvm
200
200
201
+ - template : /build-tools/automation/yaml-templates/apk-instrumentation.yaml
202
+ parameters :
203
+ configuration : $(XA.Build.Configuration)
204
+ testName : Mono.Android.NET_Tests-CoreCLR
205
+ project : tests/Mono.Android-Tests/Mono.Android-Tests/Mono.Android.NET-Tests.csproj
206
+ testResultsFiles : TestResult-Mono.Android.NET_Tests-$(XA.Build.Configuration)CoreCLR.xml
207
+ extraBuildArgs : -p:TestsFlavor=CoreCLR -p:UseMonoRuntime=false -p:AndroidEnableMarshalMethods=false
208
+ artifactSource : bin/Test$(XA.Build.Configuration)/$(DotNetTargetFramework)-android/Mono.Android.NET_Tests-Signed.aab
209
+ artifactFolder : $(DotNetTargetFramework)-CoreCLR
210
+
201
211
- template : /build-tools/automation/yaml-templates/apk-instrumentation.yaml
202
212
parameters :
203
213
configuration : $(XA.Build.Configuration)
Original file line number Diff line number Diff line change
1
+ <!-- Needed for projects using CoreCLR/NativeAOT runtime packs that are not in the workload -->
2
+ <Project >
3
+ <PropertyGroup Condition =" '$(RunningOnCI)' == 'true' " >
4
+ <_NuGetFolderOnCI >$(MSBuildThisFileDirectory)..\..\bin\Build$(Configuration)\nuget-unsigned</_NuGetFolderOnCI >
5
+ <RestoreAdditionalProjectSources Condition =" Exists('$(_NuGetFolderOnCI)')" >$(_NuGetFolderOnCI)</RestoreAdditionalProjectSources >
6
+ <_FastDeploymentDiagnosticLogging >true</_FastDeploymentDiagnosticLogging >
7
+ </PropertyGroup >
8
+ </Project >
Original file line number Diff line number Diff line change 18
18
19
19
<PropertyGroup >
20
20
<!-- APK tests might run on 32-bit emulators -->
21
- <RuntimeIdentifiers Condition =" '$(RuntimeIdentifier)' == '' " >android-arm64;android-x86;android-x64;</RuntimeIdentifiers >
21
+ <RuntimeIdentifiers Condition =" '$(RuntimeIdentifier)' == '' and '$(PublishAot)' != 'true' and '$(UseMonoRuntime)' != 'false' " >android-arm64;android-x86;android-x64;</RuntimeIdentifiers >
22
22
<TestAvdApiLevel Condition =" '$(TestAvdApiLevel)' == '' " >29</TestAvdApiLevel >
23
23
<TestAvdAbi Condition =" '$(TestAvdAbi)' == '' and '$(HostOS)' == 'Darwin' and '$(HostOSArchitecture)' == 'Arm64' " >arm64-v8a</TestAvdAbi >
24
24
<TestAvdAbi Condition =" '$(TestAvdAbi)' == '' " >x86_64</TestAvdAbi >
Original file line number Diff line number Diff line change 13
13
<PublishAot >true</PublishAot >
14
14
</PropertyGroup >
15
15
16
- <!-- Settings for CI -->
17
- <PropertyGroup Condition =" '$(RunningOnCI)' == 'true' " >
18
- <_NuGetFolderOnCI >..\..\bin\Build$(Configuration)\nuget-unsigned</_NuGetFolderOnCI >
19
- <RestoreAdditionalProjectSources Condition =" Exists('$(_NuGetFolderOnCI)')" >$(_NuGetFolderOnCI)</RestoreAdditionalProjectSources >
20
- <_FastDeploymentDiagnosticLogging >true</_FastDeploymentDiagnosticLogging >
21
- </PropertyGroup >
16
+ <Import Project =" ..\..\build-tools\scripts\TestApkFeeds.props" />
22
17
23
18
</Project >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<Import Project =" ..\..\..\Configuration.props" />
4
+ <Import Project =" ..\..\..\build-tools\scripts\TestApkFeeds.props" />
4
5
5
6
<PropertyGroup >
6
7
<TargetFramework >$(DotNetAndroidTargetFramework)</TargetFramework >
You can’t perform that action at this time.
0 commit comments