Skip to content

Commit a2a6580

Browse files
committed
matching Xamarin.Android builds
1 parent 4312e87 commit a2a6580

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

azure-pipelines.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@ variables:
1010
AndroidXMigrationVersion: 1.0.10
1111
BootsVersion: 1.1.0.712-preview2
1212
DotNetVersion: 6.0.300
13+
XcodeVersion: 13.3.1
1314
DotNet6Source: https://aka.ms/dotnet6/nuget/index.json
1415
NuGetOrgSource: https://api.nuget.org/v3/index.json
1516
XamarinDotNetWorkloadSource: workloads.json # or url (check for recent versions - redth)
1617
# https://aka.ms/dotnet/maui/6.0.400.json
17-
LegacyXamarinAndroidPkg: https://aka.ms/xamarin-android-commercial-d17-2-macos
18-
LegacyXamarinAndroidVsix: https://aka.ms/xamarin-android-commercial-d17-2-windows
18+
# matching builds
19+
LegacyXamarinAndroidPkg: https://dl.internalx.com/vsts-devdiv/Xamarin.Android/public/6454390/6.0.4xx/0b8d593a61bb49120fdf817e8dfdbc4b33937772/xamarin.android-12.3.99.117.pkg
20+
LegacyXamarinAndroidVsix: https://dl.internalx.com/vsts-devdiv/Xamarin.Android/public/6454390/6.0.4xx/0b8d593a61bb49120fdf817e8dfdbc4b33937772/Xamarin.Android.Sdk-12.3.99.117.vsix
1921
BUILD_NUMBER: $(Build.BuildNumber)
2022
BUILD_COMMIT: $(Build.SourceVersion)
2123
PRE_RESTORE_PROJECTS: true # Windows is having an issue on CI right now
@@ -41,9 +43,9 @@ jobs:
4143
areaPath: 'DevDiv\VS Client - Runtime SDKs\Android'
4244
macosImage: macOS-12 # the name of the macOS VM image (BigSur)
4345
windowsAgentPoolName: android-win-2022
44-
xcode: 13.3.1
45-
dotnet: '6.0.300' # the version of .NET Core to use
46-
dotnetStable: '6.0.300' # the stable version of .NET Core to use
46+
xcode: $(XcodeVersion)
47+
dotnet: $(DotNetVersion) # the version of .NET Core to use
48+
dotnetStable: $(DotNetVersion) # the stable version of .NET Core to use
4749
initSteps:
4850
- task: UseDotNet@2
4951
displayName: install .NET $(DotNetVersion)
@@ -65,7 +67,7 @@ jobs:
6567
dotnet tool update --global Cake.Tool
6668
dotnet tool update --global boots --version $(BootsVersion)
6769
boots $(LegacyXamarinAndroidPkg)
68-
sudo xcode-select -s "/Applications/Xcode_13.3.1.app"
70+
sudo xcode-select -s "/Applications/Xcode_$(XcodeVersion).app"
6971
sudo xcode-select -p
7072
condition: eq(variables['System.JobName'], 'macos')
7173
- pwsh: |

0 commit comments

Comments
 (0)