-parameters:
- installDotnet: false
-
steps:
- - ${{ if eq(parameters.installDotnet, true) }}:
- - task: UseDotNet@2
- displayName: Install dotnet ${{ parameters.dotnetVersion }}
- inputs:
- packageType: sdk
- useGlobalJson: true
- installationPath: $(Agent.TempDirectory)/_dotnet
-
- task: NuGetAuthenticate@0
inputs:
nuGetServiceConnections: 'dotnet-core-internal-tooling'
forceReinstallCredentialProvider: true
- - task: DotNetCoreCLI@2
+ - script: $(Build.SourcesDirectory)$(dir)build$(scriptExt)
+ -ci
+ -restore
+ -projects $(Build.SourcesDirectory)/eng/common/internal/Tools.csproj
+ /bl:$(Build.SourcesDirectory)/artifacts/log/$(_BuildConfig)/RestoreInternal.binlog
+ /v:normal
displayName: Restore internal tools
condition: and(succeeded(), ne(variables['_skipRestoreInternalTools'], 'true'))
- inputs:
- command: restore
- feedsToUse: config
- projects: 'eng/common/internal/Tools.csproj'
- nugetConfigPath: 'eng/internal/NuGet.config'
- restoreDirectory: '$(Build.SourcesDirectory)\.packages'
- verbosityRestore: 'diagnostic'
\ No newline at end of file
- script: $(Build.SourcesDirectory)\eng\common\init-tools-native.cmd -InstallDirectory $(Build.SourcesDirectory)\native-tools -Force
displayName: Install native dependencies
- # # Install internal tools on official builds
- # # Since our internal tools are behind an authenticated feed,
- # # we need to use the DotNetCli AzDO task to restore from the feed using a service connection.
- # # We can't do this from within the build, so we need to do this as a separate step.
+ # Install internal tools on official builds
+ # Since our internal tools are behind an authenticated feed,
+ # we need to use the DotNetCli AzDO task to restore from the feed using a service connection.
+ # We can't do this from within the build, so we need to do this as a separate step.
- ${{ if and(eq(variables['System.TeamProject'], 'internal'), ne(variables['Build.Reason'], 'PullRequest')) }}:
- template: /eng/pipelines/common/restore-internal-tools.yml
- parameters:
- installDotnet: true
# Build Private CoreLib
- script: $(Build.SourcesDirectory)$(dir)build$(scriptExt) -subset clr.corelib $(crossArg) -arch $(archType) -c $(buildConfig) $(officialBuildIdArg) -ci
- script: $(Build.SourcesDirectory)\eng\common\init-tools-native.cmd -InstallDirectory $(Build.SourcesDirectory)\native-tools -Force
displayName: Install native dependencies
- # # Install internal tools on official builds
- # # Since our internal tools are behind an authenticated feed,
- # # we need to use the DotNetCli AzDO task to restore from the feed using a service connection.
- # # We can't do this from within the build, so we need to do this as a separate step.
+ # Install internal tools on official builds
+ # Since our internal tools are behind an authenticated feed,
+ # we need to use the DotNetCli AzDO task to restore from the feed using a service connection.
+ # We can't do this from within the build, so we need to do this as a separate step.
- ${{ if and(eq(variables['System.TeamProject'], 'internal'), ne(variables['Build.Reason'], 'PullRequest')) }}:
- template: /eng/pipelines/common/restore-internal-tools.yml
- parameters:
- installDotnet: true
# Build CoreCLR tools needed by the native runtime build
- script: $(Build.SourcesDirectory)$(dir)build$(scriptExt) -subset clr.buildtools $(crossArg) -arch $(archType) -c $(buildConfig) $(officialBuildIdArg) -ci /bl:$(Build.SourcesDirectory)/artifacts/log/clr.buildtools.binlog
- ${{ if eq(parameters.isOfficialBuild, true) }}:
- template: /eng/pipelines/common/restore-internal-tools.yml
- parameters:
- installDotnet: true
- script: $(_buildScript)
-subset $(_subset)
{
"sdk": {
- "version": "5.0.100-preview.2.20176.6",
+ "version": "5.0.100-preview.4.20202.8",
"allowPrerelease": true,
"rollForward": "major"
},