diff --git a/tools/devops/automation/templates/common/setup.yml b/tools/devops/automation/templates/common/setup.yml index a3bc6b60a7..788f937208 100644 --- a/tools/devops/automation/templates/common/setup.yml +++ b/tools/devops/automation/templates/common/setup.yml @@ -49,6 +49,7 @@ steps: sudo rm -Rf /Developer/MonoTouch sudo rm -Rf /Library/Frameworks/Xamarin.iOS.framework sudo rm -Rf /Library/Frameworks/Xamarin.Mac.framework + ls -R /Library/Frameworks displayName: 'Delete library folders' timeoutInMinutes: 5 diff --git a/tools/devops/automation/templates/tests/build.yml b/tools/devops/automation/templates/tests/build.yml index f67c5fd485..333ad35126 100644 --- a/tools/devops/automation/templates/tests/build.yml +++ b/tools/devops/automation/templates/tests/build.yml @@ -63,11 +63,6 @@ steps: parameters: keyringPass: ${{ parameters.keyringPass }} -- bash: | - rm -Rf /Library/Frameworks/Xamarin.Mac.framework - rm -Rf /Library/Frameworks/Xamarin.iOS.framework - displayName: 'Remove older Frameworks' - # Use a cmdlet to check if the space available in the devices root system is larger than 50 gb. If there is not # enough space available it: # 1. Set the status of the build to error. It is not a failure since no tests have been ran. @@ -178,6 +173,11 @@ steps: provisioning_extra_args: '-vvvv' timeoutInMinutes: 250 +- bash: | + ls -R /Library/Frameworks/Xamarin.iOS.framework + ls -R /Library/Frameworks/Xamarin.Mac.framework + displayName: "Show installed Frameworks" + - bash: | set -e set -x diff --git a/tools/devops/automation/templates/tests/run-tests.yml b/tools/devops/automation/templates/tests/run-tests.yml index 0a2eb6c53c..1898da93ed 100644 --- a/tools/devops/automation/templates/tests/run-tests.yml +++ b/tools/devops/automation/templates/tests/run-tests.yml @@ -84,15 +84,19 @@ steps: $versionData = Get-Content $workloadPath | ConvertFrom-Json # could be done in a loop, but we don't want to be smart just yet $iOSVersion = $versionData | Select-Object -ExpandProperty "microsoft.net.sdk.ios" + Write-Host "iOS workload version is $iOSVersion" Write-Host "##vso[task.setvariable variable=IOS_WORKLOAD_VERSION;]$iOSVersion" - + $tvOSVersion = $versionData | Select-Object -ExpandProperty "microsoft.net.sdk.tvos" + Write-Host "tvOS workload version is $tvOSVersion" Write-Host "##vso[task.setvariable variable=TVOS_WORKLOAD_VERSION;]$tvOSVersion" $macVersion = $versionData | Select-Object -ExpandProperty "microsoft.net.sdk.macos" + Write-Host "macOS workload version is $macVersion" Write-Host "##vso[task.setvariable variable=MACOS_WORKLOAD_VERSION;]$macVersion" $catalystVersion = $versionData | Select-Object -ExpandProperty "microsoft.net.sdk.maccatalyst" + Write-Host "MacCatalyst workload version is $catalystVersion " Write-Host "##vso[task.setvariable variable=MACCATALYST_WORKLOAD_VERSION;]$catalystVersion" displayName: 'Set workload versions for xtro'