@@ -30,11 +30,6 @@ resources:
3030    name : xamarin/release-scripts 
3131    ref : refs/heads/sign-and-notarized 
3232    endpoint : xamarin 
33-   - repository : uitools 
34-     type : github 
35-     name : xamarin/UITools 
36-     ref : refs/heads/main 
37-     endpoint : xamarin 
3833
3934parameters :
4035- name : provisionatorChannel 
@@ -697,11 +692,6 @@ stages:
697692      target_framework : $(DotNetStableTargetFramework) 
698693      provisionatorChannel : ${{ parameters.provisionatorChannel }} 
699694
700- - stage : wear_tests 
701-   displayName : WearOS Tests 
702-   dependsOn : mac_build 
703-   condition : and(succeeded(), or(eq(variables['RunAllTests'], true), contains(dependencies.mac_build.outputs['mac_build_create_installers.TestConditions.TestAreas'], 'MSBuildDevice'))) 
704-   jobs :
705695  - job : wear_tests 
706696    displayName : macOS > Tests > WearOS  
707697    timeoutInMinutes : 180 
@@ -771,172 +761,6 @@ stages:
771761    - template : yaml-templates/fail-on-issue.yaml 
772762
773763
774- 
775- - stage : designer_tests 
776-   displayName : Designer Tests 
777-   dependsOn : mac_build 
778-   condition : and(succeeded(), or(eq(variables['RunAllTests'], true), contains(dependencies.mac_build.outputs['mac_build_create_installers.TestConditions.TestAreas'], 'Designer'))) 
779-   jobs :
780-   #  Check - "Xamarin.Android (macOS > Tests > Designer Integration)"
781-   - job : designer_integration_mac 
782-     condition : false  # TODO: Enable once test issues are fixed.
783-     displayName : macOS > Tests > Designer Integration 
784-     pool :
785-       vmImage : $(HostedMacImage) 
786-     timeoutInMinutes : 120 
787-     cancelTimeoutInMinutes : 5 
788-     workspace :
789-       clean : all 
790-     variables :
791-       EnableRegressionTest : true 
792-     steps :
793-     - checkout : uitools 
794-       clean : true 
795-       submodules : recursive 
796-       path : s/UITools 
797-       persistCredentials : true 
798- 
799-     - powershell : | 
800-         # Use the branch name of the source being built or the PR target branch name. Fall back to 'main' if the branch is unknown. 
801-         $branchPrefix = "/refs/heads/" 
802-         $branchName = "$(Build.SourceBranch)" -replace $branchPrefix, "" 
803-         if ("$(Build.Reason)" -eq "PullRequest") { 
804-             $branchName = "$(System.PullRequest.TargetBranch)" -replace $branchPrefix, "" 
805-         } 
806-         if (("$branchName" -ne "main") -and ("$branchName" -notlike "d1*")) { 
807-             $branchName = "main" 
808-         } 
809-         Set-Location -Path $(System.DefaultWorkingDirectory)/UITools 
810-         git checkout $branchName 
811-         git submodule update -q --init --recursive 
812-       displayName: Clone and update UITools 
813- 
814- task : NuGetAuthenticate@0 
815-       displayName : authenticate with azure artifacts 
816-       inputs :
817-         forceReinstallCredentialProvider : true 
818- 
819-     - task : provisionator@2 
820-       displayName : provision designer dependencies 
821-       inputs :
822-         github_token : $(GitHub.Token) 
823-         provisioning_script : $(System.DefaultWorkingDirectory)/UITools/src/bot-provisioning/dependencies.csx 
824-         provisioning_extra_args : -remove Xamarin.Android -vv DEVDIV_PKGS_NUGET_TOKEN=$(DevDiv.NuGet.Token) SECTOOLS_PKGS_NUGET_TOKEN=$(SecTools.NuGet.Token) 
825-       env :
826-         PROVISIONATOR_CHANNEL : ${{ parameters.provisionatorChannel }} 
827- 
828-     - template : yaml-templates/setup-test-environment.yaml 
829-       parameters :
830-         xaSourcePath : $(System.DefaultWorkingDirectory)/xamarin-android 
831-         jdkTestFolder : $(JAVA_HOME_8_X64) 
832-         provisionatorChannel : ${{ parameters.provisionatorChannel }} 
833- 
834-     - template : designer/android-designer-build-mac.yaml@yaml-templates 
835-       parameters :
836-         designerSourcePath : $(System.DefaultWorkingDirectory)/UITools/src 
837- 
838-     - template : designer/android-designer-tests.yaml@yaml-templates 
839-       parameters :
840-         designerSourcePath : $(System.DefaultWorkingDirectory)/UITools/src 
841-         runAddinTests : false 
842- 
843-     - task : CopyFiles@2 
844-       displayName : ' Copy binlogs' 
845-       inputs :
846-         sourceFolder : $(System.DefaultWorkingDirectory)/UITools/src/Xamarin.Designer.Android 
847-         contents : ' **/*.binlog' 
848-         targetFolder : $(Build.ArtifactStagingDirectory)/designer-binlogs 
849-         overWrite : true 
850-         flattenFolders : true 
851-       condition : ne(variables['Agent.JobStatus'], 'Succeeded') 
852- 
853-     - template : yaml-templates/publish-artifact.yaml 
854-       parameters :
855-         displayName : upload designer binlogs 
856-         artifactName : Test Results - Designer - macOS 
857-         targetPath : $(Build.ArtifactStagingDirectory)/designer-binlogs 
858-         condition : ne(variables['Agent.JobStatus'], 'Succeeded') 
859- 
860-   #  Check - "Xamarin.Android (Windows > Tests > Designer Integration)"
861-   - job : designer_integration_win 
862-     displayName : Windows > Tests > Designer Integration 
863-     pool :
864-       vmImage : $(HostedWinImage) 
865-     timeoutInMinutes : 120 
866-     cancelTimeoutInMinutes : 5 
867-     workspace :
868-       clean : all 
869-     variables :
870-       EnableRegressionTest : true 
871-       RegressionTestSuiteOutputDir : C:\Git\ADesRegTestSuite 
872-       VisualStudioInstallationPath : C:\Program Files\Microsoft Visual Studio\2022\Enterprise 
873-     steps :
874-     - checkout : uitools 
875-       clean : true 
876-       submodules : recursive 
877-       path : s\UITools 
878-       persistCredentials : true 
879- 
880-     - powershell : | 
881-         # Use the branch name of the source being built or the PR target branch name. Fall back to 'main' if the branch is unknown. 
882-         $branchPrefix = "/refs/heads/" 
883-         $branchName = "$(Build.SourceBranch)" -replace $branchPrefix, "" 
884-         if ("$(Build.Reason)" -eq "PullRequest") { 
885-             $branchName = "$(System.PullRequest.TargetBranch)" -replace $branchPrefix, "" 
886-         } 
887-         if (("$branchName" -ne "main") -and ("$branchName" -notlike "d1*")) { 
888-             $branchName = "main" 
889-         } 
890-         Set-Location -Path $(System.DefaultWorkingDirectory)\UITools 
891-         git checkout $branchName 
892-         git submodule update -q --init --recursive 
893-       displayName: Clone and update UITools 
894- 
895- task : NuGetAuthenticate@0 
896-       displayName : authenticate with azure artifacts 
897-       inputs :
898-         forceReinstallCredentialProvider : true 
899- 
900-     - task : provisionator@2 
901-       displayName : provision designer dependencies 
902-       inputs :
903-         github_token : $(GitHub.Token) 
904-         provisioning_script : $(System.DefaultWorkingDirectory)\UITools\src\bot-provisioning\dependencies.csx 
905-         provisioning_extra_args : -vv DEVDIV_PKGS_NUGET_TOKEN=$(DevDiv.NuGet.Token) SECTOOLS_PKGS_NUGET_TOKEN=$(SecTools.NuGet.Token) 
906-       env :
907-         PROVISIONATOR_CHANNEL : ${{ parameters.provisionatorChannel }} 
908- 
909-     - template : yaml-templates\setup-test-environment.yaml 
910-       parameters :
911-         xaSourcePath : $(System.DefaultWorkingDirectory)\xamarin-android 
912-         jdkTestFolder : $(JAVA_HOME_8_X64) 
913-         provisionatorChannel : ${{ parameters.provisionatorChannel }} 
914- 
915-     - task : VSBuild@1 
916-       displayName : Restore Xamarin.AndroidDesigner 
917-       inputs :
918-         solution : $(System.DefaultWorkingDirectory)\UITools\src\Xamarin.Designer.Android\Xamarin.AndroidDesigner.sln 
919-         vsVersion : 17.0 
920-         msbuildArgs : >- 
921-           /t:Restore /p:RestoreDisableParallel=true 
922-           /p:RestoreConfigFile="$(System.DefaultWorkingDirectory)\UITools\NuGet.Config" 
923-           /p:JavaSdkDirectory="$(JAVA_HOME_8_X64)" 
924- platform : Any CPU 
925-         configuration : DebugWin32 
926- 
927-     - task : VSBuild@1 
928-       displayName : Build Xamarin.AndroidDesigner 
929-       inputs :
930-         solution : $(System.DefaultWorkingDirectory)\UITools\src\Xamarin.Designer.Android\Xamarin.AndroidDesigner.sln 
931-         vsVersion : 17.0 
932-         msbuildArgs : /t:Build /p:GitHubToken=$(GitHub.Token) 
933-         platform : Any CPU 
934-         configuration : DebugWin32 
935- 
936-     - template : yaml-templates/run-designer-tests.yml 
937-       parameters :
938-         designerSourcePath : $(System.DefaultWorkingDirectory)\UITools\src 
939- 
940764- stage : bcl_tests 
941765  displayName : BCL Emulator Tests 
942766  dependsOn : mac_build 
0 commit comments