@@ -112,7 +112,7 @@ stages:
112112 restoreNUnitConsole : false
113113 updateMono : false
114114 xaprepareScenario : EmulatorTestDependencies
115-
115+
116116 - task : DownloadPipelineArtifact@2
117117 inputs :
118118 artifactName : $(TestAssembliesArtifactName)
@@ -140,7 +140,7 @@ stages:
140140 arguments : -t:PrepareJavaInterop -c $(XA.Build.Configuration) --no-restore
141141 displayName : prepare java.interop $(XA.Build.Configuration)
142142 continueOnError : false
143-
143+
144144 - template : yaml-templates/start-stop-emulator.yaml
145145
146146 - template : yaml-templates/apk-instrumentation.yaml
@@ -201,7 +201,7 @@ stages:
201201 extraBuildArgs : -p:TestsFlavor=AotLlvm -p:EnableLLVM=true -p:AndroidEnableProfiledAot=false
202202 artifactSource : bin/Test$(XA.Build.Configuration)/$(DotNetTargetFramework)-android/Mono.Android.NET_Tests-Signed.aab
203203 artifactFolder : $(DotNetTargetFramework)-AotLlvm
204-
204+
205205 - template : yaml-templates/apk-instrumentation.yaml
206206 parameters :
207207 configuration : $(XA.Build.Configuration)
@@ -220,13 +220,19 @@ stages:
220220 artifactSource : bin/Test$(XA.Build.Configuration)/$(DotNetTargetFramework)-android/Xamarin.Android.JcwGen_Tests-Signed.apk
221221 artifactFolder : $(DotNetTargetFramework)-FastDev_Assemblies_Dexes
222222 extraBuildArgs : /p:AndroidFastDeploymentType=Assemblies:Dexes
223-
223+
224224 - template : yaml-templates/run-nunit-tests.yaml
225225 parameters :
226226 testRunTitle : Xamarin.Android.Tools.Aidl-Tests - macOS
227227 testAssembly : $(System.DefaultWorkingDirectory)/bin/Test$(XA.Build.Configuration)/$(DotNetStableTargetFramework)/Xamarin.Android.Tools.Aidl-Tests.dll
228228 testResultsFile : TestResult-Aidl-Tests-macOS-$(XA.Build.Configuration).xml
229229
230+ - task : ShellScript@2
231+ displayName : Test dotnet-local.sh
232+ inputs :
233+ scriptPath : dotnet-local.sh
234+ args : build samples/HelloWorld/HelloWorld/HelloWorld.DotNet.csproj
235+
230236 - ${{ if ne(parameters.macTestAgentsUseCleanImages, true) }} :
231237 - template : yaml-templates/start-stop-emulator.yaml
232238 parameters :
@@ -276,6 +282,12 @@ stages:
276282 dotNetTestExtraArgs : --filter "TestCategory = SmokeTests"
277283 testResultsFile : TestResult-NETSmokeMSBuildTests-Linux-$(XA.Build.Configuration).xml
278284
285+ - task : ShellScript@2
286+ displayName : Test dotnet-local.sh
287+ inputs :
288+ scriptPath : dotnet-local.sh
289+ args : build samples/HelloWorld/HelloWorld/HelloWorld.DotNet.csproj
290+
279291 - template : yaml-templates/upload-results.yaml
280292 parameters :
281293 configuration : $(XA.Build.Configuration)
0 commit comments