Skip to content

Commit

Permalink
Use 1es pool for build
Browse files Browse the repository at this point in the history
  • Loading branch information
andrueastman committed Jan 27, 2023
1 parent 5fbd887 commit 52c61bd
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions pipelines/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ trigger:
- master
pr: none

pool:
vmImage: 'windows-latest'
pool: 1es-windows-latest

variables:
BuildConfiguration: 'release'
Expand Down Expand Up @@ -76,16 +75,28 @@ steps:
displayName: 'Set project ready to sign'

- task: DotNetCoreCLI@2
displayName: 'dotnet build'
displayName: 'dotnet build netstandard2.0'
inputs:
projects: '$(Build.SourcesDirectory)\src\Microsoft.Graph\Microsoft.Graph.Beta.csproj'
arguments: '-c $(BuildConfiguration) --no-incremental'
arguments: '-c $(BuildConfiguration) --no-incremental -f netstandard2.0 --no-restore'

- task: DotNetCoreCLI@2
displayName: 'dotnet build netstandard2.1'
inputs:
projects: '$(Build.SourcesDirectory)\src\Microsoft.Graph\Microsoft.Graph.Beta.csproj'
arguments: '-c $(BuildConfiguration) --no-incremental -f netstandard2.1 --no-restore'

- task: DotNetCoreCLI@2
displayName: 'dotnet build test project'
inputs:
projects: '$(Build.SourcesDirectory)\tests\Microsoft.Graph.DotnetCore.Test\Microsoft.Graph.DotnetCore.Test.csproj'
arguments: '-c $(BuildConfiguration) --no-incremental --no-restore'

- task: DotNetCoreCLI@2
displayName: 'run tests'
inputs:
command: 'test'
arguments: '--configuration $(BuildConfiguration) --verbosity normal'
arguments: '--configuration $(BuildConfiguration) --no-build --verbosity normal'

- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
displayName: 'ESRP DLL Strong Name (Microsoft.Graph.Beta)'
Expand Down

0 comments on commit 52c61bd

Please sign in to comment.