2018-10-17 22:17:40 +00:00
|
|
|
trigger:
|
2019-04-10 23:17:11 +00:00
|
|
|
batch: true
|
|
|
|
branches:
|
|
|
|
include:
|
|
|
|
- master
|
|
|
|
- release/*
|
2019-11-26 01:28:25 +00:00
|
|
|
- internal/release/3.*
|
2020-07-21 14:55:52 +00:00
|
|
|
- internal/release/5.*
|
2018-10-17 22:17:40 +00:00
|
|
|
|
|
|
|
variables:
|
2020-04-27 15:53:02 +00:00
|
|
|
# These two variables are used by CopyToLatest.
|
|
|
|
# when CopyToLatest goes away in favor of improvements to dotnet-install, this can be removed.
|
2019-01-24 19:21:51 +00:00
|
|
|
- name: _PublishBlobFeedUrl
|
|
|
|
value: https://dotnetcli.blob.core.windows.net/dotnet/index.json
|
|
|
|
- name: _PublishChecksumsBlobFeedUrl
|
|
|
|
value: https://dotnetclichecksums.blob.core.windows.net/dotnet/index.json
|
2019-09-10 19:33:20 +00:00
|
|
|
- name: _PublishUsingPipelines
|
|
|
|
value: false
|
2019-01-24 19:21:51 +00:00
|
|
|
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
|
|
|
- group: DotNet-DotNetCli-Storage
|
2019-06-26 15:53:21 +00:00
|
|
|
- group: DotNet-Blob-Feed
|
2020-04-02 13:24:09 +00:00
|
|
|
- group: DotNet-Installer-SDLValidation-Params
|
2019-09-10 19:33:20 +00:00
|
|
|
- name: _PublishUsingPipelines
|
|
|
|
value: true
|
2018-10-17 22:17:40 +00:00
|
|
|
|
2020-04-27 15:53:02 +00:00
|
|
|
# Default to running tests in PRs and public CI, but not in official builds
|
|
|
|
- name: _WindowsTestArg
|
|
|
|
value: '-test'
|
|
|
|
- name: _NonWindowsTestArg
|
|
|
|
value: '--test'
|
|
|
|
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
|
|
|
- name: _WindowsTestArg
|
|
|
|
value: ''
|
|
|
|
- name: _NonWindowsTestArg
|
|
|
|
value: ''
|
|
|
|
|
2019-09-10 19:33:20 +00:00
|
|
|
stages:
|
|
|
|
- stage: build
|
|
|
|
jobs:
|
|
|
|
- template: /eng/build.yml
|
|
|
|
parameters:
|
|
|
|
agentOs: Windows_NT
|
|
|
|
pool:
|
2020-07-20 18:48:37 +00:00
|
|
|
${{ if eq(variables['System.TeamProject'], 'public') }}:
|
[master] Update dependencies from dotnet/sdk (#7984)
* Update dependencies from https://github.com/dotnet/sdk build 20200713.1
Microsoft.NET.Sdk , Microsoft.DotNet.MSBuildSdkResolver
From Version 5.0.100-preview.8.20362.2 -> To Version 5.0.100-preview.8.20363.1
* Update dependencies from https://github.com/dotnet/sdk build 20200713.2
Microsoft.NET.Sdk , Microsoft.DotNet.MSBuildSdkResolver
From Version 5.0.100-preview.8.20362.2 -> To Version 5.0.100-preview.8.20363.2
* Update dependencies from https://github.com/dotnet/sdk build 20200713.3
Microsoft.NET.Sdk , Microsoft.DotNet.MSBuildSdkResolver
From Version 5.0.100-preview.8.20362.2 -> To Version 5.0.100-preview.8.20363.3
* Update dependencies from https://github.com/dotnet/sdk build 20200713.4
Microsoft.NET.Sdk , Microsoft.DotNet.MSBuildSdkResolver
From Version 5.0.100-preview.8.20362.2 -> To Version 5.0.100-preview.8.20363.4
* Update dependencies from https://github.com/dotnet/sdk build 20200713.5
Microsoft.NET.Sdk , Microsoft.DotNet.MSBuildSdkResolver
From Version 5.0.100-preview.8.20362.2 -> To Version 5.0.100-preview.8.20363.5
Dependency coherency updates
Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch
From Version 5.0.0-preview.8.20360.11 -> To Version 5.0.0-preview.8.20363.2 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/sdk build 20200713.6
Microsoft.NET.Sdk , Microsoft.DotNet.MSBuildSdkResolver
From Version 5.0.100-preview.8.20362.2 -> To Version 5.0.100-preview.8.20363.6
Dependency coherency updates
Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch
From Version 5.0.0-preview.8.20360.11 -> To Version 5.0.0-preview.8.20363.2 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/sdk build 20200714.2
Microsoft.NET.Sdk , Microsoft.DotNet.MSBuildSdkResolver
From Version 5.0.100-preview.8.20362.2 -> To Version 5.0.100-preview.8.20364.2
Dependency coherency updates
Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch
From Version 5.0.0-preview.8.20360.11 -> To Version 5.0.0-preview.8.20364.3 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/sdk build 20200714.3
Microsoft.NET.Sdk , Microsoft.DotNet.MSBuildSdkResolver
From Version 5.0.100-preview.8.20362.2 -> To Version 5.0.100-preview.8.20364.3
Dependency coherency updates
Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch
From Version 5.0.0-preview.8.20360.11 -> To Version 5.0.0-preview.8.20364.8 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/sdk build 20200714.4
Microsoft.NET.Sdk , Microsoft.DotNet.MSBuildSdkResolver
From Version 5.0.100-preview.8.20362.2 -> To Version 5.0.100-preview.8.20364.4
Dependency coherency updates
Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch
From Version 5.0.0-preview.8.20360.11 -> To Version 5.0.0-preview.8.20364.8 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/sdk build 20200715.1
Microsoft.NET.Sdk , Microsoft.DotNet.MSBuildSdkResolver
From Version 5.0.100-preview.8.20362.2 -> To Version 5.0.100-preview.8.20365.1
Dependency coherency updates
Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch
From Version 5.0.0-preview.8.20360.11 -> To Version 5.0.0-preview.8.20364.16 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/sdk build 20200715.3
Microsoft.NET.Sdk , Microsoft.DotNet.MSBuildSdkResolver
From Version 5.0.100-preview.8.20362.2 -> To Version 5.0.100-preview.8.20365.3
Dependency coherency updates
Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch
From Version 5.0.0-preview.8.20360.11 -> To Version 5.0.0-preview.8.20364.16 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/sdk build 20200715.8
Microsoft.NET.Sdk , Microsoft.DotNet.MSBuildSdkResolver
From Version 5.0.100-preview.8.20362.2 -> To Version 5.0.100-preview.8.20365.8
Dependency coherency updates
Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch
From Version 5.0.0-preview.8.20360.11 -> To Version 5.0.0-preview.8.20364.16 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/sdk build 20200715.11
Microsoft.NET.Sdk , Microsoft.DotNet.MSBuildSdkResolver
From Version 5.0.100-preview.8.20362.2 -> To Version 5.0.100-preview.8.20365.11
Dependency coherency updates
Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch
From Version 5.0.0-preview.8.20360.11 -> To Version 5.0.0-preview.8.20364.16 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/sdk build 20200715.14
Microsoft.NET.Sdk , Microsoft.DotNet.MSBuildSdkResolver
From Version 5.0.100-preview.8.20362.2 -> To Version 5.0.100-rc.1.20365.14
Dependency coherency updates
Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.DotNet.Common.ItemTemplates
From Version 5.0.0-preview.8.20360.11 -> To Version 5.0.0-rc.1.20365.8 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/sdk build 20200715.15
Microsoft.NET.Sdk , Microsoft.DotNet.MSBuildSdkResolver
From Version 5.0.100-preview.8.20362.2 -> To Version 5.0.100-rc.1.20365.15
Dependency coherency updates
Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.DotNet.Common.ItemTemplates
From Version 5.0.0-preview.8.20360.11 -> To Version 5.0.0-rc.1.20365.8 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/sdk build 20200715.16
Microsoft.NET.Sdk , Microsoft.DotNet.MSBuildSdkResolver
From Version 5.0.100-preview.8.20362.2 -> To Version 5.0.100-rc.1.20365.16
Dependency coherency updates
Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.DotNet.Common.ItemTemplates
From Version 5.0.0-preview.8.20360.11 -> To Version 5.0.0-rc.1.20365.11 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/sdk build 20200715.17
Microsoft.NET.Sdk , Microsoft.DotNet.MSBuildSdkResolver
From Version 5.0.100-preview.8.20362.2 -> To Version 5.0.100-rc.1.20365.17
Dependency coherency updates
Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.DotNet.Common.ItemTemplates
From Version 5.0.0-preview.8.20360.11 -> To Version 5.0.0-rc.1.20365.11 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/sdk build 20200715.19
Microsoft.NET.Sdk , Microsoft.DotNet.MSBuildSdkResolver
From Version 5.0.100-preview.8.20362.2 -> To Version 5.0.100-rc.1.20365.19
Dependency coherency updates
Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.DotNet.Common.ItemTemplates
From Version 5.0.0-preview.8.20360.11 -> To Version 5.0.0-rc.1.20365.12 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/sdk build 20200716.2
Microsoft.NET.Sdk , Microsoft.DotNet.MSBuildSdkResolver
From Version 5.0.100-preview.8.20362.2 -> To Version 5.0.100-rc.1.20366.2
Dependency coherency updates
Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.DotNet.Common.ItemTemplates
From Version 5.0.0-preview.8.20360.11 -> To Version 5.0.0-rc.1.20365.18 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/sdk build 20200716.4
Microsoft.NET.Sdk , Microsoft.DotNet.MSBuildSdkResolver
From Version 5.0.100-preview.8.20362.2 -> To Version 5.0.100-rc.1.20366.4
Dependency coherency updates
Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.DotNet.Common.ItemTemplates
From Version 5.0.0-preview.8.20360.11 -> To Version 5.0.0-rc.1.20366.1 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/sdk build 20200716.8
Microsoft.NET.Sdk , Microsoft.DotNet.MSBuildSdkResolver
From Version 5.0.100-preview.8.20362.2 -> To Version 5.0.100-rc.1.20366.8
Dependency coherency updates
Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.DotNet.Common.ItemTemplates
From Version 5.0.0-preview.8.20360.11 -> To Version 5.0.0-rc.1.20366.2 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/sdk build 20200716.13
Microsoft.NET.Sdk , Microsoft.DotNet.MSBuildSdkResolver
From Version 5.0.100-preview.8.20362.2 -> To Version 5.0.100-rc.1.20366.13
Dependency coherency updates
Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.DotNet.Common.ItemTemplates
From Version 5.0.0-preview.8.20360.11 -> To Version 5.0.0-rc.1.20366.3 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/sdk build 20200716.16
Microsoft.NET.Sdk , Microsoft.DotNet.MSBuildSdkResolver
From Version 5.0.100-preview.8.20362.2 -> To Version 5.0.100-rc.1.20366.16
Dependency coherency updates
Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.DotNet.Common.ItemTemplates
From Version 5.0.0-preview.8.20360.11 -> To Version 5.0.0-rc.1.20366.4 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/sdk build 20200716.17
Microsoft.NET.Sdk , Microsoft.DotNet.MSBuildSdkResolver
From Version 5.0.100-preview.8.20362.2 -> To Version 5.0.100-rc.1.20366.17
Dependency coherency updates
Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.DotNet.Common.ItemTemplates
From Version 5.0.0-preview.8.20360.11 -> To Version 5.0.0-rc.1.20366.5 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/sdk build 20200716.19
Microsoft.NET.Sdk , Microsoft.DotNet.MSBuildSdkResolver
From Version 5.0.100-preview.8.20362.2 -> To Version 5.0.100-rc.1.20366.19
Dependency coherency updates
Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.DotNet.Common.ItemTemplates
From Version 5.0.0-preview.8.20360.11 -> To Version 5.0.0-rc.1.20366.16 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/sdk build 20200716.21
Microsoft.NET.Sdk , Microsoft.DotNet.MSBuildSdkResolver
From Version 5.0.100-preview.8.20362.2 -> To Version 5.0.100-rc.1.20366.21
Dependency coherency updates
Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.DotNet.Common.ItemTemplates
From Version 5.0.0-preview.8.20360.11 -> To Version 5.0.0-rc.1.20366.24 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/sdk build 20200717.1
Microsoft.NET.Sdk , Microsoft.DotNet.MSBuildSdkResolver
From Version 5.0.100-preview.8.20362.2 -> To Version 5.0.100-rc.1.20367.1
Dependency coherency updates
Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.DotNet.Common.ItemTemplates
From Version 5.0.0-preview.8.20360.11 -> To Version 5.0.0-rc.1.20366.25 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/sdk build 20200717.2
Microsoft.NET.Sdk , Microsoft.DotNet.MSBuildSdkResolver
From Version 5.0.100-preview.8.20362.2 -> To Version 5.0.100-rc.1.20367.2
Dependency coherency updates
Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.DotNet.Common.ItemTemplates
From Version 5.0.0-preview.8.20360.11 -> To Version 5.0.0-rc.1.20366.25 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/sdk build 20200717.3
Microsoft.NET.Sdk , Microsoft.DotNet.MSBuildSdkResolver
From Version 5.0.100-preview.8.20362.2 -> To Version 5.0.100-rc.1.20367.3
Dependency coherency updates
Microsoft.NETCore.App.Ref,Microsoft.NETCore.App.Internal,Microsoft.NETCore.App.Runtime.win-x64,Microsoft.NETCore.App.Host.win-x64,Microsoft.NETCore.DotNetHostResolver,Microsoft.NETCore.Platforms,Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.DotNet.Common.ItemTemplates
From Version 5.0.0-preview.8.20361.2 -> To Version 5.0.0-rc.1.20366.14 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/sdk build 20200717.4
Microsoft.NET.Sdk , Microsoft.DotNet.MSBuildSdkResolver
From Version 5.0.100-preview.8.20362.2 -> To Version 5.0.100-rc.1.20367.4
Dependency coherency updates
Microsoft.WindowsDesktop.App.Ref,Microsoft.WindowsDesktop.App,Microsoft.NETCore.App.Ref,Microsoft.NETCore.App.Internal,Microsoft.NETCore.App.Runtime.win-x64,Microsoft.NETCore.App.Host.win-x64,Microsoft.NETCore.DotNetHostResolver,Microsoft.NETCore.Platforms,Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.DotNet.Common.ItemTemplates,Microsoft.Dotnet.WinForms.ProjectTemplates,Microsoft.WindowsDesktop.App.Runtime.win-x64,Microsoft.DotNet.Wpf.ProjectTemplates
From Version 5.0.0-preview.8.20361.2 -> To Version 5.0.0-preview.8.20365.2 (parent: Microsoft.NET.Sdk
* Use dnceng agent
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: William Li <wul@microsoft.com>
2020-07-17 16:12:41 +00:00
|
|
|
name: NetCorePublic-Pool
|
|
|
|
queue: buildpool.windows.10.amd64.vs2017.open
|
2020-07-20 18:48:37 +00:00
|
|
|
${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
2019-09-10 19:33:20 +00:00
|
|
|
name: NetCoreInternal-Pool
|
|
|
|
queue: buildpool.windows.10.amd64.vs2017
|
|
|
|
timeoutInMinutes: 180
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
# Public-only builds
|
|
|
|
${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}:
|
|
|
|
Build_Debug_x86:
|
|
|
|
_BuildConfig: Debug
|
|
|
|
_BuildArchitecture: x86
|
|
|
|
_DOTNET_CLI_UI_LANGUAGE: ''
|
2020-04-27 15:53:02 +00:00
|
|
|
_AdditionalBuildParameters: ''
|
|
|
|
_TestArg: $(_WindowsTestArg)
|
2019-09-10 19:33:20 +00:00
|
|
|
Build_ES_Debug_x64:
|
|
|
|
_BuildConfig: Debug
|
|
|
|
_BuildArchitecture: x64
|
|
|
|
_DOTNET_CLI_UI_LANGUAGE: es
|
2020-04-27 15:53:02 +00:00
|
|
|
_AdditionalBuildParameters: ''
|
|
|
|
_TestArg: $(_WindowsTestArg)
|
2019-09-10 19:33:20 +00:00
|
|
|
# Internal-only builds
|
|
|
|
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
|
|
|
Build_Release_x86:
|
|
|
|
_BuildConfig: Release
|
|
|
|
_BuildArchitecture: x86
|
|
|
|
_DOTNET_CLI_UI_LANGUAGE: ''
|
2020-04-27 15:53:02 +00:00
|
|
|
_AdditionalBuildParameters: ''
|
|
|
|
_TestArg: $(_WindowsTestArg)
|
2019-09-10 19:33:20 +00:00
|
|
|
# Always run builds
|
|
|
|
Build_Release_x64:
|
2018-12-19 20:53:08 +00:00
|
|
|
_BuildConfig: Release
|
|
|
|
_BuildArchitecture: x64
|
|
|
|
_DOTNET_CLI_UI_LANGUAGE: ''
|
2020-04-27 15:53:02 +00:00
|
|
|
_AdditionalBuildParameters: '/p:PublishInternalAsset=true'
|
|
|
|
_TestArg: $(_WindowsTestArg)
|
2019-09-10 19:33:20 +00:00
|
|
|
Build_Release_arm:
|
2018-12-19 20:53:08 +00:00
|
|
|
_BuildConfig: Release
|
2019-09-10 19:33:20 +00:00
|
|
|
_BuildArchitecture: arm
|
2018-12-19 20:53:08 +00:00
|
|
|
_DOTNET_CLI_UI_LANGUAGE: ''
|
2020-04-27 15:53:02 +00:00
|
|
|
_AdditionalBuildParameters: ''
|
|
|
|
# Never run tests on arm64
|
|
|
|
_TestArg: ''
|
2020-03-06 23:51:55 +00:00
|
|
|
Build_Release_arm64:
|
|
|
|
_BuildConfig: Release
|
|
|
|
_BuildArchitecture: arm64
|
|
|
|
_DOTNET_CLI_UI_LANGUAGE: ''
|
2020-04-27 15:53:02 +00:00
|
|
|
_AdditionalBuildParameters: ''
|
|
|
|
# Never run tests on arm64
|
|
|
|
_TestArg: ''
|
2018-10-17 22:17:40 +00:00
|
|
|
|
2019-09-10 19:33:20 +00:00
|
|
|
- template: /eng/build.yml
|
|
|
|
parameters:
|
|
|
|
agentOs: Linux
|
|
|
|
pool:
|
2020-04-20 20:00:24 +00:00
|
|
|
${{ if eq(variables['System.TeamProject'], 'public') }}:
|
|
|
|
name: NetCorePublic-Pool
|
|
|
|
queue: BuildPool.Ubuntu.1604.Amd64.Open
|
|
|
|
${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
|
|
|
name: NetCoreInternal-Pool
|
|
|
|
queue: BuildPool.Ubuntu.1604.Amd64
|
2019-09-10 19:33:20 +00:00
|
|
|
timeoutInMinutes: 180
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}:
|
|
|
|
Build_Ubuntu_16_04_Debug_x64:
|
|
|
|
_BuildConfig: Debug
|
|
|
|
_DockerParameter: '--docker ubuntu.16.04'
|
|
|
|
_LinuxPortable: ''
|
|
|
|
_RuntimeIdentifier: ''
|
|
|
|
_BuildArchitecture: 'x64'
|
2020-04-27 15:53:02 +00:00
|
|
|
_TestArg: $(_NonWindowsTestArg)
|
2019-09-10 19:33:20 +00:00
|
|
|
Build_Ubuntu_18_04_Debug_x64:
|
|
|
|
_BuildConfig: Debug
|
|
|
|
_DockerParameter: '--docker ubuntu.18.04'
|
|
|
|
_LinuxPortable: '--linux-portable'
|
|
|
|
_RuntimeIdentifier: ''
|
|
|
|
_BuildArchitecture: 'x64'
|
2020-04-27 15:53:02 +00:00
|
|
|
_TestArg: $(_NonWindowsTestArg)
|
2019-09-10 19:33:20 +00:00
|
|
|
Build_Fedora_29_Debug_x64:
|
|
|
|
_BuildConfig: Debug
|
|
|
|
_DockerParameter: '--docker fedora.29'
|
|
|
|
_LinuxPortable: '--linux-portable'
|
|
|
|
_RuntimeIdentifier: ''
|
|
|
|
_BuildArchitecture: 'x64'
|
2020-04-27 15:53:02 +00:00
|
|
|
_TestArg: $(_NonWindowsTestArg)
|
2019-09-10 19:33:20 +00:00
|
|
|
Build_CentOS_7_1_Debug_x64:
|
|
|
|
_BuildConfig: Debug
|
|
|
|
_DockerParameter: '--docker centos'
|
|
|
|
_LinuxPortable: ''
|
|
|
|
_RuntimeIdentifier: ''
|
|
|
|
_BuildArchitecture: 'x64'
|
2020-04-27 15:53:02 +00:00
|
|
|
_TestArg: $(_NonWindowsTestArg)
|
2020-03-18 05:47:32 +00:00
|
|
|
Build_Debian_Stretch_Debug_x64:
|
|
|
|
_BuildConfig: Debug
|
|
|
|
_DockerParameter: '--docker debian'
|
|
|
|
_LinuxPortable: ''
|
|
|
|
_RuntimeIdentifier: ''
|
|
|
|
_BuildArchitecture: 'x64'
|
2020-04-27 15:53:02 +00:00
|
|
|
_TestArg: $(_NonWindowsTestArg)
|
2019-09-10 19:33:20 +00:00
|
|
|
Build_Rhel_7_2_Release_x64:
|
|
|
|
_BuildConfig: Release
|
|
|
|
_DockerParameter: '--docker rhel'
|
|
|
|
_LinuxPortable: ''
|
|
|
|
_RuntimeIdentifier: ''
|
|
|
|
_BuildArchitecture: 'x64'
|
2020-04-27 15:53:02 +00:00
|
|
|
_TestArg: $(_NonWindowsTestArg)
|
2019-09-10 19:33:20 +00:00
|
|
|
Build_Arm_Debug:
|
|
|
|
_BuildConfig: Debug
|
|
|
|
_DockerParameter: ''
|
|
|
|
_LinuxPortable: '--linux-portable'
|
|
|
|
_RuntimeIdentifier: '--runtime-id linux-arm'
|
|
|
|
_BuildArchitecture: 'arm'
|
2020-10-30 02:18:46 +00:00
|
|
|
# Never run tests on arm
|
2020-04-27 15:53:02 +00:00
|
|
|
_TestArg: ''
|
2019-09-10 19:33:20 +00:00
|
|
|
Build_Arm64_Debug:
|
|
|
|
_BuildConfig: Debug
|
|
|
|
_DockerParameter: ''
|
|
|
|
_LinuxPortable: '--linux-portable'
|
|
|
|
_RuntimeIdentifier: '--runtime-id linux-arm64'
|
|
|
|
_BuildArchitecture: 'arm64'
|
2020-04-27 15:53:02 +00:00
|
|
|
# Never run tests on arm64
|
|
|
|
_TestArg: ''
|
2020-10-30 02:18:46 +00:00
|
|
|
Build_Linux_musl_Debug_arm:
|
|
|
|
_BuildConfig: Debug
|
|
|
|
# linux-musl-arm cross gen depends on glibc 2.27 (this OS has it)
|
|
|
|
_DockerParameter: '--docker ubuntu.18.04'
|
|
|
|
_LinuxPortable: ''
|
|
|
|
_RuntimeIdentifier: '--runtime-id linux-musl-arm'
|
|
|
|
_BuildArchitecture: 'arm'
|
|
|
|
_AdditionalBuildParameters: '/p:OSName="linux-musl"'
|
|
|
|
# Never run tests on arm
|
|
|
|
_TestArg: ''
|
|
|
|
Build_Linux_musl_Debug_arm64:
|
|
|
|
_BuildConfig: Debug
|
|
|
|
_DockerParameter: ''
|
|
|
|
_LinuxPortable: ''
|
|
|
|
_RuntimeIdentifier: '--runtime-id linux-musl-arm64'
|
|
|
|
_BuildArchitecture: 'arm64'
|
|
|
|
_AdditionalBuildParameters: '/p:OSName="linux-musl"'
|
|
|
|
# Never run tests on arm64
|
|
|
|
_TestArg: ''
|
2019-09-10 19:33:20 +00:00
|
|
|
Build_Linux_musl_Debug_x64:
|
|
|
|
_BuildConfig: Debug
|
|
|
|
_DockerParameter: '--docker alpine.3.6'
|
|
|
|
_LinuxPortable: ''
|
|
|
|
_RuntimeIdentifier: '--runtime-id linux-musl-x64'
|
|
|
|
_BuildArchitecture: 'x64'
|
2020-10-30 02:18:46 +00:00
|
|
|
_AdditionalBuildParameters: '/p:OSName="linux-musl"'
|
2020-04-27 15:53:02 +00:00
|
|
|
_TestArg: $(_NonWindowsTestArg)
|
2019-09-10 19:33:20 +00:00
|
|
|
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
|
|
|
Build_Arm_Release:
|
|
|
|
_BuildConfig: Release
|
|
|
|
_DockerParameter: ''
|
|
|
|
_LinuxPortable: '--linux-portable'
|
|
|
|
_RuntimeIdentifier: '--runtime-id linux-arm'
|
|
|
|
_BuildArchitecture: 'arm'
|
2020-10-30 02:18:46 +00:00
|
|
|
# Never run tests on arm
|
2020-04-27 15:53:02 +00:00
|
|
|
_TestArg: ''
|
2019-09-10 19:33:20 +00:00
|
|
|
Build_Arm64_Release:
|
|
|
|
_BuildConfig: Release
|
|
|
|
_DockerParameter: ''
|
|
|
|
_LinuxPortable: '--linux-portable'
|
|
|
|
_RuntimeIdentifier: '--runtime-id linux-arm64'
|
|
|
|
_BuildArchitecture: 'arm64'
|
2020-04-27 15:53:02 +00:00
|
|
|
# Never run tests on arm64
|
|
|
|
_TestArg: ''
|
2020-10-30 02:18:46 +00:00
|
|
|
Build_Linux_musl_Release_arm:
|
|
|
|
_BuildConfig: Release
|
|
|
|
# linux-musl-arm cross gen depends on glibc 2.27 (this OS has it)
|
|
|
|
_DockerParameter: '--docker ubuntu.18.04'
|
|
|
|
_LinuxPortable: ''
|
|
|
|
_RuntimeIdentifier: '--runtime-id linux-musl-arm'
|
|
|
|
_BuildArchitecture: 'arm'
|
|
|
|
_AdditionalBuildParameters: '/p:OSName="linux-musl"'
|
|
|
|
# Never run tests on arm
|
|
|
|
_TestArg: ''
|
|
|
|
Build_Linux_musl_Release_arm64:
|
|
|
|
_BuildConfig: Release
|
|
|
|
_DockerParameter: ''
|
|
|
|
_LinuxPortable: ''
|
|
|
|
_RuntimeIdentifier: '--runtime-id linux-musl-arm64'
|
|
|
|
_BuildArchitecture: 'arm64'
|
|
|
|
_AdditionalBuildParameters: '/p:OSName="linux-musl"'
|
|
|
|
# Never run tests on arm64
|
|
|
|
_TestArg: ''
|
2019-09-10 19:33:20 +00:00
|
|
|
Build_Linux_musl_Release_x64:
|
|
|
|
_BuildConfig: Release
|
|
|
|
_DockerParameter: '--docker alpine.3.6'
|
|
|
|
_LinuxPortable: ''
|
|
|
|
_RuntimeIdentifier: '--runtime-id linux-musl-x64'
|
|
|
|
_BuildArchitecture: 'x64'
|
2020-10-30 02:18:46 +00:00
|
|
|
_AdditionalBuildParameters: '/p:OSName="linux-musl"'
|
2019-09-10 19:33:20 +00:00
|
|
|
Build_Linux_Portable_Deb_Release_x64:
|
|
|
|
_BuildConfig: Release
|
|
|
|
_DockerParameter: '--docker ubuntu.16.04'
|
|
|
|
_LinuxPortable: '--linux-portable'
|
|
|
|
_RuntimeIdentifier: ''
|
|
|
|
_BuildArchitecture: 'x64'
|
|
|
|
# Do not publish zips and tarballs. The linux-x64 binaries are
|
|
|
|
# already published by Build_LinuxPortable_Release_x64
|
|
|
|
_AdditionalBuildParameters: '/p:PublishBinariesAndBadge=false'
|
2020-04-27 15:53:02 +00:00
|
|
|
_TestArg: $(_NonWindowsTestArg)
|
2019-09-10 19:33:20 +00:00
|
|
|
Build_Linux_Portable_Rpm_Release_x64:
|
|
|
|
_BuildConfig: Release
|
|
|
|
_DockerParameter: '--docker rhel'
|
|
|
|
_LinuxPortable: '--linux-portable'
|
|
|
|
_RuntimeIdentifier: ''
|
|
|
|
_BuildArchitecture: 'x64'
|
|
|
|
# Do not publish zips and tarballs. The linux-x64 binaries are
|
|
|
|
# already published by Build_LinuxPortable_Release_x64
|
|
|
|
_AdditionalBuildParameters: '/p:PublishBinariesAndBadge=false'
|
2020-04-27 15:53:02 +00:00
|
|
|
_TestArg: $(_NonWindowsTestArg)
|
2019-09-10 19:33:20 +00:00
|
|
|
Build_LinuxPortable_Release_x64:
|
2018-12-19 20:53:08 +00:00
|
|
|
_BuildConfig: Release
|
|
|
|
_DockerParameter: ''
|
|
|
|
_LinuxPortable: '--linux-portable'
|
2018-12-24 18:12:23 +00:00
|
|
|
_RuntimeIdentifier: ''
|
|
|
|
_BuildArchitecture: 'x64'
|
2020-04-27 15:53:02 +00:00
|
|
|
_TestArg: $(_NonWindowsTestArg)
|
2019-09-10 19:33:20 +00:00
|
|
|
|
|
|
|
- template: /eng/build.yml
|
|
|
|
parameters:
|
|
|
|
agentOs: Darwin
|
|
|
|
pool:
|
|
|
|
name: Hosted macOS
|
|
|
|
timeoutInMinutes: 180
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
Build_Release:
|
2018-12-22 05:43:17 +00:00
|
|
|
_BuildConfig: Release
|
2020-04-27 15:53:02 +00:00
|
|
|
_TestArg: $(_NonWindowsTestArg)
|
2018-10-17 22:17:40 +00:00
|
|
|
|
2019-09-10 19:33:20 +00:00
|
|
|
# https://github.com/dotnet/core-sdk/issues/248
|
|
|
|
# - template: /eng/build.yml
|
|
|
|
# parameters:
|
|
|
|
# agentOs: FreeBSD
|
|
|
|
# queue:
|
|
|
|
# name: dnceng-freebsd-internal
|
|
|
|
# timeoutInMinutes: 180
|
|
|
|
# matrix:
|
|
|
|
# Build_Release:
|
|
|
|
# _BuildConfig: Release
|
|
|
|
# _AdditionalBuildParameters: '/p:DisableSourceLink=true /p:DISABLE_CROSSGEN=true'
|
2018-12-19 20:53:08 +00:00
|
|
|
|
2019-09-10 19:33:20 +00:00
|
|
|
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
|
|
|
- template: /eng/common/templates/job/publish-build-assets.yml
|
|
|
|
parameters:
|
|
|
|
dependsOn:
|
|
|
|
- Windows_NT
|
|
|
|
- Linux
|
|
|
|
- Darwin
|
|
|
|
publishUsingPipelines: true
|
|
|
|
pool:
|
2020-07-20 18:48:37 +00:00
|
|
|
vmImage: vs2017-win2016
|
2018-12-19 20:53:08 +00:00
|
|
|
|
2019-01-24 19:21:51 +00:00
|
|
|
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
2019-09-10 19:33:20 +00:00
|
|
|
- template: eng\common\templates\post-build\post-build.yml
|
2019-01-24 19:21:51 +00:00
|
|
|
parameters:
|
2020-09-17 17:05:22 +00:00
|
|
|
publishingInfraVersion: 3
|
2019-09-10 19:33:20 +00:00
|
|
|
enableSymbolValidation: false
|
|
|
|
enableSigningValidation: false
|
2020-07-13 17:27:42 +00:00
|
|
|
enableNugetValidation: false
|
|
|
|
enableSourceLinkValidation: false
|
2019-09-10 19:33:20 +00:00
|
|
|
publishInstallersAndChecksums: true
|
2020-04-02 13:24:09 +00:00
|
|
|
SDLValidationParameters:
|
2020-07-13 17:27:42 +00:00
|
|
|
enable: false
|
2020-04-02 13:24:09 +00:00
|
|
|
params: ' -SourceToolsList @("policheck","credscan")
|
|
|
|
-TsaInstanceURL $(_TsaInstanceURL)
|
|
|
|
-TsaProjectName $(_TsaProjectName)
|
|
|
|
-TsaNotificationEmail $(_TsaNotificationEmail)
|
|
|
|
-TsaCodebaseAdmin $(_TsaCodebaseAdmin)
|
|
|
|
-TsaBugAreaPath $(_TsaBugAreaPath)
|
|
|
|
-TsaIterationPath $(_TsaIterationPath)
|
2020-04-02 13:34:18 +00:00
|
|
|
-TsaRepositoryName "dotnet-installer"
|
|
|
|
-TsaCodebaseName "dotnet-installer"
|
2020-04-02 13:24:09 +00:00
|
|
|
-TsaPublish $True'
|
2019-03-12 21:36:55 +00:00
|
|
|
|
2019-09-10 19:33:20 +00:00
|
|
|
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), not(contains(variables['Build.SourceBranch'], 'refs/heads/internal/'))) }}:
|
|
|
|
- stage: copy_to_latest
|
|
|
|
displayName: Copy to latest
|
|
|
|
dependsOn:
|
2019-09-10 21:36:39 +00:00
|
|
|
# This will run only after all the publishing stages have run.
|
2019-09-10 19:33:20 +00:00
|
|
|
# These stages are introduced in the eng/common/templates/post-build/channels YAML templates
|
2020-09-28 22:48:57 +00:00
|
|
|
- publish_using_darc
|
2019-09-10 19:33:20 +00:00
|
|
|
jobs:
|
|
|
|
- job: Copy_SDK_To_Latest
|
2019-03-12 21:36:55 +00:00
|
|
|
pool:
|
2019-09-10 19:33:20 +00:00
|
|
|
name: Hosted VS2017
|
|
|
|
condition: succeeded()
|
|
|
|
variables:
|
|
|
|
- group: DotNet-DotNetCli-Storage
|
|
|
|
steps:
|
|
|
|
- script: eng/CopyToLatest.cmd
|
2020-01-10 05:13:46 +00:00
|
|
|
/p:OfficialBuildId=$(BUILD.BUILDNUMBER)
|
2019-09-10 21:57:28 +00:00
|
|
|
/p:DotnetPublishSdkAssetsBlobFeedUrl=https://dotnetcli.blob.core.windows.net/dotnet/index.json
|
2019-09-10 19:33:20 +00:00
|
|
|
/p:DotNetPublishSdkAssetsBlobFeedKey=$(dotnetcli-storage-key)
|
2019-09-10 21:57:28 +00:00
|
|
|
/p:DotnetPublishChecksumsBlobFeedUrl=https://dotnetclichecksums.blob.core.windows.net/dotnet/index.json
|
2019-09-10 19:33:20 +00:00
|
|
|
/p:DotNetPublishChecksumsBlobFeedKey=$(dotnetclichecksums-storage-key)
|
2020-08-03 23:02:18 +00:00
|
|
|
/p:SourceBranch=$(BUILD.SOURCEBRANCH)
|
2019-09-10 19:33:20 +00:00
|
|
|
displayName: Copy to latest
|