forked from dotnet/sdk-container-builds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
45 lines (37 loc) · 993 Bytes
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
trigger:
- main
parameters:
- name: SignType
type: string
default: test
values:
- real
- test
variables:
Codeql.Enabled: true
pool:
name: VSEngSS-MicroBuild2022-1ES
steps:
- task: UseDotNet@2
inputs:
packageType: 'sdk'
useGlobalJson: true
includePreviewVersions: true
- task: MicroBuildSigningPlugin@4
inputs:
signType: 'test'
feedSource: 'https://devdiv.pkgs.visualstudio.com/DefaultCollection/_packaging/MicroBuildToolset/nuget/v3/index.json'
- task: MSBuild@1
inputs:
solution: '**/*.sln'
msbuildArchitecture: 'x64'
configuration: 'Release'
msbuildArguments: '-restore -bl:$(Build.StagingDirectory)\ContainersOfficialBuild.binlog -v:minimal -p:SignType=${{ parameters.SignType }}'
maximumCpuCount: true
- task: PublishPipelineArtifact@1
inputs:
targetPath: '$(Pipeline.Workspace)'
artifact: 'Everything'
publishLocation: 'pipeline'
condition: succeededOrFailed()
- task: MicroBuildCleanup@1