* Install `--preview Xamarin.Android`
This commit is contained in:
Jonathan Peppers 2021-06-30 16:21:57 -05:00 коммит произвёл GitHub
Родитель 1b0b091652
Коммит f78e04e916
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 12 добавлений и 21 удалений

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

@ -17,19 +17,13 @@ variables:
- name: Configuration
value: Release
- name: DotNetVersion
value: 6.0.100-preview.4.21255.9
value: 6.0.100-preview.5.21302.13
- name: BootsVersion
value: 1.0.4.624
- name: DotNet.Cli.Telemetry.OptOut
value: true
- name: Android.Msi
value: https://dl.internalx.com/vsts-devdiv/Xamarin.Android/public/net6/4716293/6.0.1xx-preview4/a09fa1e93a94c7ee9f759c840ed7a5829d0e9152/Microsoft.NET.Workload.Android.11.0.200.245.msi
- name: Android.Pkg
value: https://dl.internalx.com/vsts-devdiv/Xamarin.Android/public/net6/4716293/6.0.1xx-preview4/a09fa1e93a94c7ee9f759c840ed7a5829d0e9152/Microsoft.NET.Workload.Android-11.0.200-preview.4.245.pkg
- name: iOS.Msi
value: https://bosstoragemirror.azureedge.net/wrench/6.0.1xx-preview4/05cf7f73ec60d360f1a6391f1c047d4e8957203a/4731910/package/Microsoft.NET.Workload.iOS.14.5.100-preview.4.638.msi
- name: iOS.Pkg
value: https://bosstoragemirror.azureedge.net/wrench/6.0.1xx-preview4/05cf7f73ec60d360f1a6391f1c047d4e8957203a/4731910/package/notarized/Microsoft.iOS.Bundle.14.5.100-preview.4.638.pkg
- name: DotNet.Workloads
value: microsoft-android-sdk-full microsoft-ios-sdk-full microsoft-macos-sdk-full
jobs:
@ -45,12 +39,11 @@ jobs:
& dotnet --list-sdks
displayName: install .NET $(DotNetVersion)
- powershell: |
& dotnet tool update --global boots --version $(BootsVersion)
& boots $(Android.Msi)
& boots $(iOS.Msi)
& dotnet workload install $(DotNet.Workloads) --verbosity diag
displayName: install .NET workloads
- powershell: |
& boots --stable Xamarin.Android
& dotnet tool update --global boots --version $(BootsVersion)
& boots --preview Xamarin.Android
displayName: install Xamarin.Android
- script: dotnet build Xamarin.Legacy.Sdk.sln -bl:$(System.DefaultWorkingDirectory)/bin/Xamarin.Legacy.Sdk.binlog
displayName: build SDK
@ -83,12 +76,11 @@ jobs:
& dotnet --list-sdks
displayName: install .NET $(DotNetVersion)
- powershell: |
& dotnet tool update --global boots --version $(BootsVersion)
& boots $(Android.Msi)
& boots $(iOS.Msi)
& dotnet workload install $(DotNet.Workloads) --verbosity diag
displayName: install .NET workloads
- powershell: |
& boots --stable Xamarin.Android
& dotnet tool update --global boots --version $(BootsVersion)
& boots --preview Xamarin.Android
displayName: install Xamarin.Android
- task: MSBuild@1
inputs:
@ -124,12 +116,11 @@ jobs:
dotnet --list-sdks &&
echo "##vso[task.setvariable variable=PATH]$PATH"
displayName: install .NET $(DotNetVersion)
- bash: dotnet workload install $(DotNet.Workloads) --verbosity diag
displayName: install .NET workloads
- bash: >
dotnet tool update --global boots --version $(BootsVersion) &&
boots $(Android.Pkg) &&
boots $(iOS.Pkg)
displayName: install .NET workloads
- bash: boots --stable Xamarin.Android
boots --preview Xamarin.Android
displayName: install Xamarin.Android
- script: dotnet build Xamarin.Legacy.Sdk.sln -bl:$(System.DefaultWorkingDirectory)/bin/Xamarin.Legacy.Sdk.binlog
displayName: build SDK