diff --git a/build-tools/automation/azure-pipelines.yaml b/build-tools/automation/azure-pipelines.yaml index 0b23fc239c6..e86ecdec80f 100644 --- a/build-tools/automation/azure-pipelines.yaml +++ b/build-tools/automation/azure-pipelines.yaml @@ -341,6 +341,8 @@ stages: jobs: # Check - "Xamarin.Android (Smoke Tests APKs Legacy - macOS)" - job: mac_apk_tests_legacy + # Disabled on .NET 6 release branches + condition: false displayName: APKs Legacy - macOS pool: vmImage: $(HostedMacImage) @@ -820,7 +822,8 @@ stages: - stage: msbuild_legacy displayName: Legacy Tests dependsOn: mac_build - condition: and(succeeded(), or(eq(variables['RunAllTests'], true), contains(dependencies.mac_build.outputs['mac_build_create_installers.TestConditions.TestAreas'], 'MSBuild'))) + # Disabled on .NET 6 release branches + condition: false jobs: # Xamarin.Android (Test MSBuild Legacy - macOS) - template: yaml-templates\run-msbuild-mac-tests.yaml @@ -1315,6 +1318,8 @@ stages: jobs: # Check - "Xamarin.Android (BCL Emulator Tests macOS)" - job: mac_bcl_tests + # Disabled on .NET 6 release branches + condition: false displayName: macOS pool: vmImage: $(HostedMacImage) diff --git a/build-tools/automation/yaml-templates/run-installer.yaml b/build-tools/automation/yaml-templates/run-installer.yaml index 47f67a0e731..7bb53c666ff 100644 --- a/build-tools/automation/yaml-templates/run-installer.yaml +++ b/build-tools/automation/yaml-templates/run-installer.yaml @@ -15,7 +15,8 @@ steps: artifactName: $(InstallerArtifactName) downloadPath: $(System.DefaultWorkingDirectory) patterns: Xamarin.Android*.vsix - condition: and(succeeded(), eq(variables['agent.os'], 'Windows_NT')) + # Disabled on .NET 6 release branches + condition: false - powershell: | $itemPattern = "*.vsix" @@ -29,7 +30,8 @@ steps: } Write-Host "##vso[task.setvariable variable=XA.Provisionator.Args]$installer" displayName: find installer and set provisionator variable - condition: and(succeeded(), ne(variables['agent.os'], 'Linux')) + # Disabled Windows on .NET 6 release branches + condition: and(succeeded(), eq(variables['agent.os'], 'Darwin')) - task: provisionator@2 inputs: @@ -37,6 +39,7 @@ steps: github_token: $(GitHub.Token) provisioning_script: $(XA.Provisionator.Args) provisioning_extra_args: ${{ parameters.provisionExtraArgs }} - condition: and(succeeded(), ne(variables['agent.os'], 'Linux')) + # Disabled Windows on .NET 6 release branches + condition: and(succeeded(), eq(variables['agent.os'], 'Darwin')) env: PROVISIONATOR_CHANNEL: ${{ parameters.provisionatorChannel }} diff --git a/build-tools/automation/yaml-templates/run-msbuild-device-tests.yaml b/build-tools/automation/yaml-templates/run-msbuild-device-tests.yaml index 5ad51b43315..4b58af79ce3 100644 --- a/build-tools/automation/yaml-templates/run-msbuild-device-tests.yaml +++ b/build-tools/automation/yaml-templates/run-msbuild-device-tests.yaml @@ -11,6 +11,8 @@ parameters: jobs: - job: ${{ parameters.job_name }} displayName: MSBuild With Emulator - macOS-${{ parameters.node_id }} - ${{ parameters.job_suffix }} + # Disabled on .NET 6 release branches + condition: ne('${{ parameters.job_suffix }}', 'Legacy') pool: vmImage: $(HostedMacImage) timeoutInMinutes: 90