File tree Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -253,11 +253,15 @@ stages:
253253
254254 - template : yaml-templates/run-installer.yaml
255255
256- # HACK - Provision Emulator
257- - script : |
258- make prepare CONFIGURATION=$(ApkTestConfiguration) V=1 MSBUILD=msbuild MSBUILD_ARGS="$(AutoProvisionArgs)"
259- git clean -xfd
260- displayName: (hack) make prepare - provision emulator
256+ - task : MSBuild@1
257+ displayName : build xaprepare
258+ inputs :
259+ solution : build-tools/xaprepare/xaprepare.sln
260+ configuration : $(XA.Build.Configuration)
261+ msbuildArguments : /t:Restore,Build
262+
263+ - script : mono build-tools/xaprepare/xaprepare/bin/$(XA.Build.Configuration)/xaprepare.exe --s=AndroidToolchain --no-emoji --run-mode=CI
264+ displayName : provision Android toolchain
261265
262266 - task : NuGetCommand@2
263267 displayName : nuget restore Xamarin.Android.Tools.sln
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ parameters:
33 testName : []
44 project : []
55 testResultsFiles : []
6- extraBuildArgs : []
6+ extraBuildArgs : " "
77 testResultsFormat : NUnit
88 packageType : Apk
99
Original file line number Diff line number Diff line change 303303 />
304304 </Target >
305305 <Target Name =" RenameApkTestCases"
306- Condition =" '@(TestApk)' != '' " >
306+ Condition =" '@(TestApk)' != '' Or '@(TestAab)' != '' " >
307307 <RenameTestCases
308308 Condition =" '%(TestApkInstrumentation.ResultsPath)' != '' "
309309 Configuration =" $(Configuration)"
You can’t perform that action at this time.
0 commit comments