-
Notifications
You must be signed in to change notification settings - Fork 0
/
.azure-pipeline.ci.yml
51 lines (43 loc) · 1.09 KB
/
.azure-pipeline.ci.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
46
47
48
49
50
51
resources:
repositories:
- repository: self
checkoutOptions:
clean: true
fetchDepth: 5
lfs: false
trigger:
- master
name: Xmf2.NavigationGraph-CI-$(Date:yyyyMMdd)$(Rev:.r)
pool:
vmImage: 'windows-latest'
steps:
- task: NuGetToolInstaller@0
displayName: Use NuGet 5
inputs:
versionSpec: 5.x
checkLatest: true
condition: succeeded()
- task: NuGetCommand@2
inputs:
command: 'restore'
restoreSolution: 'Xmf2.NavigationGraph.sln'
feedsToUse: 'select'
vstsFeed: 'abac689f-cba8-49fc-aa05-4525b9107b76'
- task: VSBuild@1
displayName: Build Package
inputs:
solution: Xmf2.NavigationGraph.sln
platform: 'any cpu'
configuration: 'release'
maximumCpuCount: true
condition: succeeded()
- task: NuGetCommand@2
inputs:
command: 'pack'
packagesToPack: 'package.nuspec'
versioningScheme: 'off'
- task: PublishBuildArtifacts@1
displayName: "Publish Artifact: drop"
inputs:
PathtoPublish: '$(build.artifactstagingdirectory)'
condition: succeeded()