ci: Adjust x64 only samples app uitest build

This commit is contained in:
Jerome Laban 2022-09-09 17:07:38 -04:00
Родитель 50730557b8
Коммит 57c30c4bf1
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -76,7 +76,7 @@ jobs:
nugetPackages: $(NUGET_PACKAGES)
- script: |
mono '$(VS_MSBUILD)' '$(build.sourcesdirectory)/src/SamplesApp/SamplesApp.Droid/SamplesApp.Droid.csproj' /m /r /p:Configuration=Release /p:IsUiAutomationMappingEnabled=true /p:AndroidBuildApplicationPackage=True /p:AndroidUseLatestPlatformSdk=true /p:AndroidSupportedAbis=x86_64 /bl:$(build.artifactstagingdirectory)/android-sampleapp.binlog
mono '$(VS_MSBUILD)' '$(build.sourcesdirectory)/src/SamplesApp/SamplesApp.Droid/SamplesApp.Droid.csproj' /m /r /p:Configuration=Release /p:IsUiAutomationMappingEnabled=true /p:AndroidBuildApplicationPackage=True /p:AndroidUseLatestPlatformSdk=true /p:AndroidSupportedAbis=x86_64 /p:UnoDisableValidateAndroidSupportedAbis=true /bl:$(build.artifactstagingdirectory)/android-sampleapp.binlog
displayName: Build Android App

Просмотреть файл

@ -239,7 +239,7 @@
<Error Condition="!$(_MyMdpiAsset.Contains('-nodpi'))" Text="The file nodpi-validationresource.jpeg does not exist under drawable-nodpi directory" />
</Target>
<Target Name="_ValidateAndroidSupportedAbis" BeforeTargets="BeforeBuild">
<Error Condition="'$(AndroidSupportedAbis)' != 'armeabi-v7a;x86;x86_64;arm64-v8a'" Text="The target list isn't correct, it must be 'armeabi-v7a;x86;x86_64;arm64-v8a'" />
<Error Condition="'$(UnoDisableValidateAndroidSupportedAbis)'=='' and '$(AndroidSupportedAbis)' != 'armeabi-v7a;x86;x86_64;arm64-v8a'" Text="The target list isn't correct, it must be 'armeabi-v7a;x86;x86_64;arm64-v8a'" />
</Target>
<Target Name="_FilterInvalidMacOSmsorlibReference" BeforeTargets="BeforeBuild">
<!--Condition="$([MSBuild]::IsOsPlatform('OSX'))"-->