2021-03-26 13:37:05 +03:00
|
|
|
variables:
|
2021-05-27 20:10:19 +03:00
|
|
|
BuildVersion: $[counter('release-counter', 1)]
|
|
|
|
IsRunningOnCI: true
|
2021-07-09 16:53:53 +03:00
|
|
|
DotNet.Cli.Telemetry.OptOut: true
|
2022-01-06 04:58:13 +03:00
|
|
|
provisionator.path: '$(System.DefaultWorkingDirectory)/eng/provisioning/provisioning.csx'
|
|
|
|
provisionator.vs: '$(System.DefaultWorkingDirectory)/eng/provisioning/vs.csx'
|
|
|
|
provisionator.extraArguments: '--v'
|
2022-02-24 18:59:53 +03:00
|
|
|
signingCondition: or(eq(variables['Sign'], 'true'),
|
|
|
|
or(eq(variables['Build.SourceBranch'], 'refs/heads/main'),
|
|
|
|
or(startsWith(variables['Build.SourceBranch'],'refs/tags/'), startsWith(variables['Build.SourceBranch'],'refs/heads/release/') )
|
|
|
|
)
|
|
|
|
)
|
2021-03-26 13:37:05 +03:00
|
|
|
|
2021-03-26 23:09:23 +03:00
|
|
|
parameters:
|
|
|
|
- name: BuildConfigurations
|
|
|
|
type: object
|
|
|
|
default:
|
2022-02-25 18:13:19 +03:00
|
|
|
- name: Debug
|
|
|
|
poolName: $(windowsNet6VmPool)
|
|
|
|
vmImage: $(windowsNet6VmImage)
|
|
|
|
- name: Release
|
2022-02-25 22:31:55 +03:00
|
|
|
poolName: $(windowsNet6VmPool)
|
|
|
|
vmImage: $(windowsNet6VmPool)
|
2021-03-26 23:09:23 +03:00
|
|
|
|
2021-03-18 19:41:34 +03:00
|
|
|
trigger:
|
2021-03-26 13:25:46 +03:00
|
|
|
branches:
|
|
|
|
include:
|
|
|
|
- main
|
2021-06-21 12:23:47 +03:00
|
|
|
- release/*
|
2021-03-26 13:25:46 +03:00
|
|
|
tags:
|
|
|
|
include:
|
|
|
|
- '*'
|
|
|
|
paths:
|
|
|
|
include:
|
|
|
|
- '*'
|
|
|
|
exclude:
|
|
|
|
- .github/*
|
|
|
|
- docs/*
|
|
|
|
- CODE-OF-CONDUCT.md
|
|
|
|
- CONTRIBUTING.md
|
|
|
|
- LICENSE.TXT
|
|
|
|
- PATENTS.TXT
|
|
|
|
- README.md
|
|
|
|
- SECURITY.md
|
|
|
|
- THIRD-PARTY-NOTICES.TXT
|
|
|
|
|
|
|
|
pr:
|
|
|
|
branches:
|
|
|
|
include:
|
|
|
|
- main
|
2021-08-31 01:38:08 +03:00
|
|
|
- release/*
|
2021-03-26 13:25:46 +03:00
|
|
|
paths:
|
|
|
|
include:
|
|
|
|
- '*'
|
|
|
|
exclude:
|
|
|
|
- .github/*
|
|
|
|
- docs/*
|
|
|
|
- CODE-OF-CONDUCT.md
|
|
|
|
- CONTRIBUTING.md
|
|
|
|
- LICENSE.TXT
|
|
|
|
- PATENTS.TXT
|
|
|
|
- README.md
|
|
|
|
- SECURITY.md
|
|
|
|
- THIRD-PARTY-NOTICES.TXT
|
2021-04-21 02:47:11 +03:00
|
|
|
|
2021-03-26 23:09:23 +03:00
|
|
|
resources:
|
|
|
|
repositories:
|
|
|
|
- repository: xamarin-templates
|
|
|
|
type: github
|
|
|
|
name: xamarin/yaml-templates
|
|
|
|
endpoint: xamarin
|
2022-02-24 18:59:53 +03:00
|
|
|
ref: refs/heads/main
|
2021-03-18 19:41:34 +03:00
|
|
|
|
2021-03-26 23:09:23 +03:00
|
|
|
stages:
|
|
|
|
- stage: windows
|
|
|
|
displayName: Build Windows
|
|
|
|
jobs:
|
2021-07-09 16:30:57 +03:00
|
|
|
- ${{ each BuildConfiguration in parameters.BuildConfigurations }}:
|
2022-02-25 18:13:19 +03:00
|
|
|
- job: win_hosted_${{ BuildConfiguration.name }}
|
2021-03-26 23:09:23 +03:00
|
|
|
workspace:
|
|
|
|
clean: all
|
2022-02-25 18:13:19 +03:00
|
|
|
displayName: Build Windows Phase (${{ BuildConfiguration.name }})
|
2021-03-26 23:09:23 +03:00
|
|
|
timeoutInMinutes: 60
|
|
|
|
pool:
|
2022-02-25 18:13:19 +03:00
|
|
|
name: ${{ BuildConfiguration.poolName }}
|
|
|
|
vmImage: ${{ BuildConfiguration.vmImage }}
|
2021-03-26 23:09:23 +03:00
|
|
|
steps:
|
2021-09-16 00:07:34 +03:00
|
|
|
|
2022-01-06 03:58:21 +03:00
|
|
|
- template: /eng/pipelines/common/provision.yml
|
|
|
|
parameters:
|
|
|
|
platform: 'windows'
|
2022-01-06 03:49:42 +03:00
|
|
|
|
2021-09-16 00:07:34 +03:00
|
|
|
- task: NuGetToolInstaller@0
|
|
|
|
displayName: install new nuget
|
|
|
|
inputs:
|
|
|
|
versionSpec: '5.x'
|
|
|
|
|
2021-09-24 00:37:43 +03:00
|
|
|
- pwsh: |
|
2021-11-03 19:44:45 +03:00
|
|
|
$DOTNET_ROOT = "$env:ProgramFiles\dotnet"
|
|
|
|
$env:DOTNET_ROOT = $DOTNET_ROOT
|
|
|
|
echo "##vso[task.setvariable variable=DOTNET_ROOT]$DOTNET_ROOT"
|
|
|
|
displayName: set up the .NET root envvar
|
2021-07-09 16:53:53 +03:00
|
|
|
errorActionPreference: stop
|
2021-03-26 13:37:05 +03:00
|
|
|
|
2021-07-09 16:30:57 +03:00
|
|
|
- pwsh: dotnet tool restore
|
2021-05-27 20:45:48 +03:00
|
|
|
displayName: install dotnet tools
|
2021-05-27 19:53:42 +03:00
|
|
|
|
2021-07-09 16:46:36 +03:00
|
|
|
- pwsh: |
|
2021-11-03 19:44:45 +03:00
|
|
|
[xml] $fileXml = Get-Content "eng\Versions.props"
|
|
|
|
$DotNetVersion = $fileXml.SelectSingleNode("Project/PropertyGroup/MicrosoftDotnetSdkInternalPackageVersion").InnerText
|
[main] Update dependencies from xamarin/xamarin-android (#312)
* Update dependencies from https://github.com/xamarin/xamarin-macios build 20220207.42
Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk
From Version 15.2.300-preview.14.200 -> To Version 15.2.300-preview.14.217
* Update dependencies from https://github.com/xamarin/xamarin-android build main-4342afd8dc89202bb501d0552a7945fbed8101d3-1
Microsoft.Android.Sdk.Windows
From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.57
Dependency coherency updates
Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref
From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22106.1 (parent: Microsoft.Android.Sdk.Windows
* Remove emsdk explicit version
* Update dependencies from https://github.com/xamarin/xamarin-macios build 20220208.27
Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk
From Version 15.2.300-preview.14.200 -> To Version 15.2.300-preview.14.235
* Update dependencies from https://github.com/xamarin/xamarin-macios build 20220209.36
Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk
From Version 15.2.300-preview.14.200 -> To Version 15.2.300-preview.14.244
* Update dependencies from https://github.com/xamarin/xamarin-macios build 20220210.25
Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk
From Version 15.2.300-preview.14.200 -> To Version 15.2.300-preview.14.249
* Update dependencies from https://github.com/xamarin/xamarin-macios build 20220211.24
Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk
From Version 15.2.300-preview.14.200 -> To Version 15.2.300-preview.14.252
* Update dependencies from https://github.com/xamarin/xamarin-android build main-f9892cc8e63f6990ef4e4c426dde66a84d0d3816-1
Microsoft.Android.Sdk.Windows
From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.74
Dependency coherency updates
Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref
From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows
* Update dependencies from https://github.com/xamarin/xamarin-macios build 20220214.17
Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk
From Version 15.2.300-preview.14.200 -> To Version 15.2.300-preview.14.254
* Update dependencies from https://github.com/xamarin/xamarin-android build main-ee4322054292a8f6e33ca6c53fe9ce609fce3c95-1
Microsoft.Android.Sdk.Windows
From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.77
Dependency coherency updates
Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref
From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows
* Update dependencies from https://github.com/xamarin/xamarin-macios build 20220215.73
Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk
From Version 15.2.300-preview.14.200 -> To Version 15.2.302-preview.14.5
* Update dependencies from https://github.com/xamarin/xamarin-android build main-db56e3877069a5c519f61a0b1722726f890c77a6-1
Microsoft.Android.Sdk.Windows
From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.84
Dependency coherency updates
Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref
From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows
* Update dependencies from https://github.com/xamarin/xamarin-macios build 20220216.36
Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk
From Version 15.2.300-preview.14.200 -> To Version 15.2.302-preview.14.18
* Update dependencies from https://github.com/xamarin/xamarin-android build main-25e0eefbd20bb4778a4717e4ef587a080c82bca0-1
Microsoft.Android.Sdk.Windows
From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.89
Dependency coherency updates
Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref
From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows
* Update dependencies from https://github.com/xamarin/xamarin-android build main-ebdd4b826cc208202ac1793484cad2fe0036abc2-1
Microsoft.Android.Sdk.Windows
From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.91
Dependency coherency updates
Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref,Microsoft.NET.Workload.Emscripten.Manifest-6.0.100
From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows
* Update dependencies from https://github.com/xamarin/xamarin-android build main-d73e048af287b32c69d825191337927081bf8d3c-1
Microsoft.Android.Sdk.Windows
From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.93
Dependency coherency updates
Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref,Microsoft.NET.Workload.Emscripten.Manifest-6.0.100
From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows
* Update dependencies from https://github.com/xamarin/xamarin-macios build 20220219.1
Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk
From Version 15.2.300-preview.14.200 -> To Version 15.2.302-preview.14.34
* Update dependencies from https://github.com/xamarin/xamarin-android build main-0583ca1d3a44f4ffc6a29b487ef2b4ed33d2c067-1
Microsoft.Android.Sdk.Windows
From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.95
Dependency coherency updates
Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref,Microsoft.NET.Workload.Emscripten.Manifest-6.0.100
From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows
* Bump iOS, bring back emsdk
* try removing the signing until we can build
* try get things to run
* 🕵🏼
* wrong thing
* and vs again
* wrong files
* build all again
* Update dependencies from https://github.com/xamarin/xamarin-android build main-0583ca1d3a44f4ffc6a29b487ef2b4ed33d2c067-1
Microsoft.Android.Sdk.Windows
From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.95
Dependency coherency updates
Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref,Microsoft.NET.Workload.Emscripten.Manifest-6.0.100
From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows
* Try this way
* And this one
* moar
* asdf
* asdf
* asdf
* try params
* asdf
* asdf
* asdf
* sadf
* asdf
* :(
* asdf
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: redth <jondick@gmail.com>
Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
2022-02-22 06:22:47 +03:00
|
|
|
$DotNetVersionBand = $fileXml.SelectSingleNode("Project/PropertyGroup/DotNetVersionBand").InnerText
|
2021-11-03 19:44:45 +03:00
|
|
|
|
[main] Update dependencies from xamarin/xamarin-android (#312)
* Update dependencies from https://github.com/xamarin/xamarin-macios build 20220207.42
Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk
From Version 15.2.300-preview.14.200 -> To Version 15.2.300-preview.14.217
* Update dependencies from https://github.com/xamarin/xamarin-android build main-4342afd8dc89202bb501d0552a7945fbed8101d3-1
Microsoft.Android.Sdk.Windows
From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.57
Dependency coherency updates
Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref
From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22106.1 (parent: Microsoft.Android.Sdk.Windows
* Remove emsdk explicit version
* Update dependencies from https://github.com/xamarin/xamarin-macios build 20220208.27
Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk
From Version 15.2.300-preview.14.200 -> To Version 15.2.300-preview.14.235
* Update dependencies from https://github.com/xamarin/xamarin-macios build 20220209.36
Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk
From Version 15.2.300-preview.14.200 -> To Version 15.2.300-preview.14.244
* Update dependencies from https://github.com/xamarin/xamarin-macios build 20220210.25
Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk
From Version 15.2.300-preview.14.200 -> To Version 15.2.300-preview.14.249
* Update dependencies from https://github.com/xamarin/xamarin-macios build 20220211.24
Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk
From Version 15.2.300-preview.14.200 -> To Version 15.2.300-preview.14.252
* Update dependencies from https://github.com/xamarin/xamarin-android build main-f9892cc8e63f6990ef4e4c426dde66a84d0d3816-1
Microsoft.Android.Sdk.Windows
From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.74
Dependency coherency updates
Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref
From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows
* Update dependencies from https://github.com/xamarin/xamarin-macios build 20220214.17
Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk
From Version 15.2.300-preview.14.200 -> To Version 15.2.300-preview.14.254
* Update dependencies from https://github.com/xamarin/xamarin-android build main-ee4322054292a8f6e33ca6c53fe9ce609fce3c95-1
Microsoft.Android.Sdk.Windows
From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.77
Dependency coherency updates
Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref
From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows
* Update dependencies from https://github.com/xamarin/xamarin-macios build 20220215.73
Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk
From Version 15.2.300-preview.14.200 -> To Version 15.2.302-preview.14.5
* Update dependencies from https://github.com/xamarin/xamarin-android build main-db56e3877069a5c519f61a0b1722726f890c77a6-1
Microsoft.Android.Sdk.Windows
From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.84
Dependency coherency updates
Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref
From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows
* Update dependencies from https://github.com/xamarin/xamarin-macios build 20220216.36
Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk
From Version 15.2.300-preview.14.200 -> To Version 15.2.302-preview.14.18
* Update dependencies from https://github.com/xamarin/xamarin-android build main-25e0eefbd20bb4778a4717e4ef587a080c82bca0-1
Microsoft.Android.Sdk.Windows
From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.89
Dependency coherency updates
Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref
From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows
* Update dependencies from https://github.com/xamarin/xamarin-android build main-ebdd4b826cc208202ac1793484cad2fe0036abc2-1
Microsoft.Android.Sdk.Windows
From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.91
Dependency coherency updates
Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref,Microsoft.NET.Workload.Emscripten.Manifest-6.0.100
From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows
* Update dependencies from https://github.com/xamarin/xamarin-android build main-d73e048af287b32c69d825191337927081bf8d3c-1
Microsoft.Android.Sdk.Windows
From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.93
Dependency coherency updates
Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref,Microsoft.NET.Workload.Emscripten.Manifest-6.0.100
From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows
* Update dependencies from https://github.com/xamarin/xamarin-macios build 20220219.1
Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk
From Version 15.2.300-preview.14.200 -> To Version 15.2.302-preview.14.34
* Update dependencies from https://github.com/xamarin/xamarin-android build main-0583ca1d3a44f4ffc6a29b487ef2b4ed33d2c067-1
Microsoft.Android.Sdk.Windows
From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.95
Dependency coherency updates
Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref,Microsoft.NET.Workload.Emscripten.Manifest-6.0.100
From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows
* Bump iOS, bring back emsdk
* try removing the signing until we can build
* try get things to run
* 🕵🏼
* wrong thing
* and vs again
* wrong files
* build all again
* Update dependencies from https://github.com/xamarin/xamarin-android build main-0583ca1d3a44f4ffc6a29b487ef2b4ed33d2c067-1
Microsoft.Android.Sdk.Windows
From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.95
Dependency coherency updates
Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref,Microsoft.NET.Workload.Emscripten.Manifest-6.0.100
From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows
* Try this way
* And this one
* moar
* asdf
* asdf
* asdf
* try params
* asdf
* asdf
* asdf
* sadf
* asdf
* :(
* asdf
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: redth <jondick@gmail.com>
Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
2022-02-22 06:22:47 +03:00
|
|
|
echo "Installing .NET $DotNetVersion"
|
2021-11-03 19:44:45 +03:00
|
|
|
Invoke-WebRequest -Uri "https://dot.net/v1/dotnet-install.ps1" -OutFile dotnet-install.ps1
|
|
|
|
& .\dotnet-install.ps1 -Version $DotNetVersion -InstallDir "$env:DOTNET_ROOT" -Verbose
|
[main] Update dependencies from xamarin/xamarin-android (#312)
* Update dependencies from https://github.com/xamarin/xamarin-macios build 20220207.42
Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk
From Version 15.2.300-preview.14.200 -> To Version 15.2.300-preview.14.217
* Update dependencies from https://github.com/xamarin/xamarin-android build main-4342afd8dc89202bb501d0552a7945fbed8101d3-1
Microsoft.Android.Sdk.Windows
From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.57
Dependency coherency updates
Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref
From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22106.1 (parent: Microsoft.Android.Sdk.Windows
* Remove emsdk explicit version
* Update dependencies from https://github.com/xamarin/xamarin-macios build 20220208.27
Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk
From Version 15.2.300-preview.14.200 -> To Version 15.2.300-preview.14.235
* Update dependencies from https://github.com/xamarin/xamarin-macios build 20220209.36
Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk
From Version 15.2.300-preview.14.200 -> To Version 15.2.300-preview.14.244
* Update dependencies from https://github.com/xamarin/xamarin-macios build 20220210.25
Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk
From Version 15.2.300-preview.14.200 -> To Version 15.2.300-preview.14.249
* Update dependencies from https://github.com/xamarin/xamarin-macios build 20220211.24
Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk
From Version 15.2.300-preview.14.200 -> To Version 15.2.300-preview.14.252
* Update dependencies from https://github.com/xamarin/xamarin-android build main-f9892cc8e63f6990ef4e4c426dde66a84d0d3816-1
Microsoft.Android.Sdk.Windows
From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.74
Dependency coherency updates
Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref
From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows
* Update dependencies from https://github.com/xamarin/xamarin-macios build 20220214.17
Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk
From Version 15.2.300-preview.14.200 -> To Version 15.2.300-preview.14.254
* Update dependencies from https://github.com/xamarin/xamarin-android build main-ee4322054292a8f6e33ca6c53fe9ce609fce3c95-1
Microsoft.Android.Sdk.Windows
From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.77
Dependency coherency updates
Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref
From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows
* Update dependencies from https://github.com/xamarin/xamarin-macios build 20220215.73
Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk
From Version 15.2.300-preview.14.200 -> To Version 15.2.302-preview.14.5
* Update dependencies from https://github.com/xamarin/xamarin-android build main-db56e3877069a5c519f61a0b1722726f890c77a6-1
Microsoft.Android.Sdk.Windows
From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.84
Dependency coherency updates
Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref
From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows
* Update dependencies from https://github.com/xamarin/xamarin-macios build 20220216.36
Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk
From Version 15.2.300-preview.14.200 -> To Version 15.2.302-preview.14.18
* Update dependencies from https://github.com/xamarin/xamarin-android build main-25e0eefbd20bb4778a4717e4ef587a080c82bca0-1
Microsoft.Android.Sdk.Windows
From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.89
Dependency coherency updates
Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref
From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows
* Update dependencies from https://github.com/xamarin/xamarin-android build main-ebdd4b826cc208202ac1793484cad2fe0036abc2-1
Microsoft.Android.Sdk.Windows
From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.91
Dependency coherency updates
Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref,Microsoft.NET.Workload.Emscripten.Manifest-6.0.100
From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows
* Update dependencies from https://github.com/xamarin/xamarin-android build main-d73e048af287b32c69d825191337927081bf8d3c-1
Microsoft.Android.Sdk.Windows
From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.93
Dependency coherency updates
Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref,Microsoft.NET.Workload.Emscripten.Manifest-6.0.100
From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows
* Update dependencies from https://github.com/xamarin/xamarin-macios build 20220219.1
Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk
From Version 15.2.300-preview.14.200 -> To Version 15.2.302-preview.14.34
* Update dependencies from https://github.com/xamarin/xamarin-android build main-0583ca1d3a44f4ffc6a29b487ef2b4ed33d2c067-1
Microsoft.Android.Sdk.Windows
From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.95
Dependency coherency updates
Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref,Microsoft.NET.Workload.Emscripten.Manifest-6.0.100
From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows
* Bump iOS, bring back emsdk
* try removing the signing until we can build
* try get things to run
* 🕵🏼
* wrong thing
* and vs again
* wrong files
* build all again
* Update dependencies from https://github.com/xamarin/xamarin-android build main-0583ca1d3a44f4ffc6a29b487ef2b4ed33d2c067-1
Microsoft.Android.Sdk.Windows
From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.95
Dependency coherency updates
Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref,Microsoft.NET.Workload.Emscripten.Manifest-6.0.100
From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows
* Try this way
* And this one
* moar
* asdf
* asdf
* asdf
* try params
* asdf
* asdf
* asdf
* sadf
* asdf
* :(
* asdf
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: redth <jondick@gmail.com>
Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
2022-02-22 06:22:47 +03:00
|
|
|
|
|
|
|
echo "Removing signing"
|
|
|
|
& "${env:ProgramFiles(x86)}\Windows Kits\10\App Certification Kit\signtool.exe" remove /s "$env:DOTNET_ROOT\sdk\$DotNetVersionBand\dotnet.dll"
|
|
|
|
|
|
|
|
echo "Listing installed SDKs"
|
2021-11-03 19:44:45 +03:00
|
|
|
& dotnet --list-sdks
|
|
|
|
displayName: install .NET
|
|
|
|
errorActionPreference: stop
|
|
|
|
|
|
|
|
- pwsh: |
|
|
|
|
dotnet build ./build/DotNet/DotNet.csproj -p:DotNetDirectory="$env:DOTNET_ROOT" -p:InstallDotNet=false
|
2021-09-24 00:37:43 +03:00
|
|
|
displayName: install dotnet workloads
|
2021-07-09 16:46:36 +03:00
|
|
|
errorActionPreference: stop
|
|
|
|
|
2021-09-16 00:07:34 +03:00
|
|
|
- pwsh: |
|
2022-01-21 18:58:46 +03:00
|
|
|
Invoke-WebRequest 'https://raw.githubusercontent.com/Samsung/Tizen.NET/main/workload/scripts/workload-install.ps1' -OutFile 'workload-install.ps1'
|
2022-03-02 01:08:16 +03:00
|
|
|
# Fix sdk band version in Tizen script
|
2022-03-03 00:25:27 +03:00
|
|
|
((Get-Content -path .\workload-install.ps1 -Raw) -replace "\`$ManifestBaseName-\`$DotnetVersionBand","`$ManifestBaseName-6.0.200") | Set-Content -Path .\workload-install.ps1
|
2021-09-16 00:07:34 +03:00
|
|
|
.\workload-install.ps1
|
2021-08-12 22:23:27 +03:00
|
|
|
displayName: install tizen
|
|
|
|
|
2021-11-03 19:44:45 +03:00
|
|
|
- pwsh: |
|
|
|
|
$uri = 'https://go.microsoft.com/fwlink/?linkid=2083338'
|
|
|
|
Invoke-WebRequest -Uri $uri -OutFile winsdksetup.exe
|
|
|
|
.\winsdksetup.exe /norestart /quiet | Out-Null
|
|
|
|
dir "C:\Program Files (x86)\Windows Kits\10\References\"
|
|
|
|
displayName: install Windows 10 SDK, version 1903 (10.0.18362.1)
|
2022-02-25 19:16:24 +03:00
|
|
|
condition: eq(variables['provisioningWindowsSdk'], 'true')
|
2021-11-03 19:44:45 +03:00
|
|
|
|
2022-01-06 22:57:23 +03:00
|
|
|
- pwsh: |
|
2022-01-07 07:39:19 +03:00
|
|
|
# $VS_ROOT = (& dotnet vs where --prop=InstallationPath)[0]
|
2022-01-07 00:09:55 +03:00
|
|
|
$VS_ROOT = 'C:\Program Files\Microsoft Visual Studio\2022\Preview'
|
2022-01-06 22:57:23 +03:00
|
|
|
echo "##vso[task.setvariable variable=VS_ROOT]$VS_ROOT"
|
|
|
|
$MSBUILD_EXE = "$VS_ROOT\MSBuild\Current\Bin\MSBuild.exe"
|
|
|
|
echo "##vso[task.setvariable variable=MSBUILD_EXE]$MSBUILD_EXE"
|
|
|
|
echo "Using MSBuild: $MSBUILD_EXE"
|
|
|
|
displayName: set up the msbuild envvar
|
|
|
|
errorActionPreference: stop
|
2021-11-17 01:28:34 +03:00
|
|
|
|
2022-02-25 20:51:55 +03:00
|
|
|
- pwsh: |
|
|
|
|
& $env:MSBUILD_EXE /r /m ./build/Build.Microsoft.Maui.Graphics.Windows.sln /p:Configuration=${{ BuildConfiguration.name }} /bl:$(Build.ArtifactStagingDirectory)/${{ BuildConfiguration.name }}.binlog
|
|
|
|
displayName: build classic solutions~
|
2022-02-25 19:26:51 +03:00
|
|
|
|
2021-07-13 05:44:37 +03:00
|
|
|
- pwsh: |
|
2022-02-25 18:20:01 +03:00
|
|
|
& $env:MSBUILD_EXE /r /m ./Microsoft.Maui.Graphics-net6.sln /p:Configuration=${{ BuildConfiguration.name }} /bl:$(Build.ArtifactStagingDirectory)/${{ BuildConfiguration.name }}-net6.binlog
|
2021-07-13 05:44:37 +03:00
|
|
|
displayName: build net6 solutions
|
2021-07-09 16:44:41 +03:00
|
|
|
|
2021-05-28 20:39:12 +03:00
|
|
|
- task: NuGetCommand@2
|
|
|
|
displayName: 'Pack nupkg'
|
|
|
|
inputs:
|
|
|
|
command: 'pack'
|
2021-08-12 22:23:27 +03:00
|
|
|
packagesToPack: '**\Microsoft.Maui.*.nuspec'
|
2022-02-25 18:18:56 +03:00
|
|
|
packDestination: '$(Build.ArtifactStagingDirectory)/${{ BuildConfiguration.name }}'
|
|
|
|
configuration: ${{ BuildConfiguration.name }}
|
2021-05-28 20:39:12 +03:00
|
|
|
basePath: '$(System.DefaultWorkingDirectory)'
|
|
|
|
versioningScheme : 'byEnvVar'
|
|
|
|
versionEnvVar: 'BUILD_BUILDNUMBER'
|
2021-07-09 16:30:57 +03:00
|
|
|
|
2021-03-27 02:32:40 +03:00
|
|
|
- task: CopyFiles@2
|
2021-05-28 11:46:56 +03:00
|
|
|
displayName: 'Copy SignList.xml and Packages'
|
2021-03-27 02:32:40 +03:00
|
|
|
inputs:
|
2021-05-28 11:46:56 +03:00
|
|
|
Contents: |
|
|
|
|
**/SignList.xml
|
2022-02-25 18:18:56 +03:00
|
|
|
TargetFolder: '$(Build.ArtifactStagingDirectory)/${{ BuildConfiguration.name }}'
|
2021-03-27 02:32:40 +03:00
|
|
|
flattenFolders: true
|
2021-03-18 20:38:53 +03:00
|
|
|
|
2021-03-26 23:09:23 +03:00
|
|
|
- task: PublishBuildArtifacts@1
|
|
|
|
condition: always()
|
|
|
|
displayName: publish artifacts
|
|
|
|
inputs:
|
|
|
|
ArtifactName: nuget
|
2021-03-18 20:38:53 +03:00
|
|
|
|
2021-07-09 16:30:57 +03:00
|
|
|
# only sign using the private server
|
2021-03-26 23:09:23 +03:00
|
|
|
- ${{ if eq(variables['System.TeamProject'], 'devdiv') }}:
|
|
|
|
- stage: nuget_signing
|
2021-03-26 23:11:31 +03:00
|
|
|
dependsOn: windows
|
2021-03-26 23:09:23 +03:00
|
|
|
displayName: Sign Nuget
|
|
|
|
jobs:
|
|
|
|
- template: sign-artifacts/jobs/v2.yml@xamarin-templates
|
|
|
|
parameters:
|
2021-06-23 12:50:36 +03:00
|
|
|
signType: Real
|
2021-03-26 23:09:23 +03:00
|
|
|
teamName: Maui
|
|
|
|
usePipelineArtifactTasks: false
|
|
|
|
targetFolder: $(Build.ArtifactStagingDirectory)/nuget/signed
|
2021-03-27 01:49:56 +03:00
|
|
|
artifactPath: release
|
2021-03-26 23:09:23 +03:00
|
|
|
signedArtifactName: nuget
|
|
|
|
signedArtifactPath: signed
|
|
|
|
displayName: Sign Phase
|
2022-02-24 18:59:53 +03:00
|
|
|
condition: and(succeeded(), ${{ variables['signingCondition'] }} )
|
2022-02-15 18:40:39 +03:00
|
|
|
|
|
|
|
- stage: sbom
|
|
|
|
displayName: 'Software Bill of Materials'
|
2022-02-24 18:59:53 +03:00
|
|
|
dependsOn: [ 'windows', 'nuget_signing' ]
|
|
|
|
condition: succeeded('windows')
|
2022-02-15 18:40:39 +03:00
|
|
|
jobs:
|
2022-02-21 03:11:17 +03:00
|
|
|
- template: compliance/sbom/job.v1.yml@xamarin-templates
|
2022-02-15 18:40:39 +03:00
|
|
|
parameters:
|
2022-02-24 18:59:53 +03:00
|
|
|
jobName: SBOM_PR
|
|
|
|
jobDisplayName: 'Software Bill of Materials (PR)'
|
2022-02-15 18:40:39 +03:00
|
|
|
artifactNames: ['nuget']
|
2022-02-24 18:59:53 +03:00
|
|
|
artifactMap: ['nuget/Release']
|
2022-02-15 18:40:39 +03:00
|
|
|
packageName: 'Microsoft Maui Graphics'
|
|
|
|
packageFilter: '*.nupkg'
|
2022-02-24 18:59:53 +03:00
|
|
|
condition: not(${{ variables['signingCondition'] }}) # Executed when signing is not enabled such as for pull request builds (PRs)
|
|
|
|
|
|
|
|
- template: compliance/sbom/job.v1.yml@xamarin-templates
|
|
|
|
parameters:
|
|
|
|
jobName: SBOM_CI
|
|
|
|
jobDisplayName: 'Software Bill of Materials (CI)'
|
|
|
|
artifactNames: ['nuget']
|
|
|
|
artifactMap: ['nuget/signed']
|
|
|
|
packageName: 'Microsoft Maui Graphics'
|
|
|
|
packageFilter: '*.nupkg'
|
|
|
|
condition: and(succeeded(), ${{ variables['signingCondition'] }} ) # Executed when signing is enabled such as for continuous integration builds (CIs)
|