mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-17 02:51:45 -05:00
Consolidate to one Nuget feed (#1155)
This commit is contained in:
@@ -18,38 +18,13 @@ steps:
|
||||
inputs:
|
||||
useGlobalJson: true
|
||||
|
||||
- task: DotNetCoreCLI@1
|
||||
displayName: 'dotnet restore src/Microsoft.SqlTools.Credentials'
|
||||
inputs:
|
||||
command: restore
|
||||
projects: '$(Build.SourcesDirectory)/src/Microsoft.SqlTools.Credentials'
|
||||
arguments: '--configfile $(Build.SourcesDirectory)/nuget.config'
|
||||
|
||||
- task: DotNetCoreCLI@1
|
||||
displayName: 'dotnet restore src/Microsoft.SqlTools.Hosting'
|
||||
inputs:
|
||||
command: restore
|
||||
projects: '$(Build.SourcesDirectory)/src/Microsoft.SqlTools.Hosting'
|
||||
arguments: '--configfile $(Build.SourcesDirectory)/nuget.config'
|
||||
|
||||
- task: DotNetCoreCLI@1
|
||||
displayName: 'dotnet restore src/Microsoft.SqlTools.ServiceLayer'
|
||||
inputs:
|
||||
command: restore
|
||||
projects: '$(Build.SourcesDirectory)/src/Microsoft.SqlTools.ServiceLayer'
|
||||
arguments: '--configfile $(Build.SourcesDirectory)/nuget.config'
|
||||
|
||||
- task: DotNetCoreCLI@1
|
||||
displayName: 'dotnet restore src/Microsoft.Kusto.ServiceLayer'
|
||||
inputs:
|
||||
command: restore
|
||||
projects: '$(Build.SourcesDirectory)/src/Microsoft.Kusto.ServiceLayer'
|
||||
arguments: '--configfile $(Build.SourcesDirectory)/nuget.config'
|
||||
|
||||
- task: DotNetCoreCLI@2
|
||||
displayName: 'dotnet build src/Microsoft.SqlTools.ServiceLayer'
|
||||
displayName: 'dotnet restore sqltoolsservice.sln'
|
||||
inputs:
|
||||
projects: '$(Build.SourcesDirectory)/src/Microsoft.SqlTools.ServiceLayer'
|
||||
command: restore
|
||||
projects: '$(Build.SourcesDirectory)/sqltoolsservice.sln'
|
||||
feedsToUse: config
|
||||
nugetConfigPath: nuget.config
|
||||
|
||||
- task: DotNetCoreCLI@2
|
||||
displayName: 'dotnet build src/Microsoft.Kusto.ServiceLayer'
|
||||
@@ -65,9 +40,11 @@ steps:
|
||||
- task: DotNetCoreCLI@2
|
||||
displayName: 'dotnet build src/Microsoft.Kusto.ServiceLayer --configuration Release'
|
||||
inputs:
|
||||
projects: '$(Build.SourcesDirectory)/src/Microsoft.Kusto.ServiceLayer '
|
||||
projects: '$(Build.SourcesDirectory)/src/Microsoft.Kusto.ServiceLayer'
|
||||
arguments: '--configuration Release'
|
||||
|
||||
- task: NuGetAuthenticate@0
|
||||
|
||||
- task: BatchScript@1
|
||||
displayName: 'Run script build.cmd'
|
||||
inputs:
|
||||
@@ -75,26 +52,26 @@ steps:
|
||||
arguments: '-target=all -mono'
|
||||
continueOnError: true
|
||||
|
||||
- task: DotNetCoreCLI@1
|
||||
- task: DotNetCoreCLI@2
|
||||
displayName: 'dotnet restore test/Microsoft.SqlTools.ServiceLayer.UnitTests'
|
||||
inputs:
|
||||
command: restore
|
||||
projects: test/Microsoft.SqlTools.ServiceLayer.UnitTests
|
||||
|
||||
- task: DotNetCoreCLI@1
|
||||
- task: DotNetCoreCLI@2
|
||||
displayName: 'dotnet restore test/Microsoft.Kusto.ServiceLayer.UnitTests'
|
||||
inputs:
|
||||
command: restore
|
||||
projects: test/Microsoft.Kusto.ServiceLayer.UnitTests
|
||||
|
||||
- task: DotNetCoreCLI@1
|
||||
- task: DotNetCoreCLI@2
|
||||
displayName: 'dotnet test test/Microsoft.SqlTools.ServiceLayer.UnitTests'
|
||||
inputs:
|
||||
command: test
|
||||
projects: test/Microsoft.SqlTools.ServiceLayer.UnitTests
|
||||
arguments: '--logger "trx;LogFileName=xunit.trx"'
|
||||
|
||||
- task: DotNetCoreCLI@1
|
||||
- task: DotNetCoreCLI@2
|
||||
displayName: 'dotnet test test/Microsoft.Kusto.ServiceLayer.UnitTests'
|
||||
inputs:
|
||||
command: test
|
||||
|
||||
Reference in New Issue
Block a user