-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathazure-pipelines.yml
45 lines (36 loc) · 901 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
trigger:
- master
pool:
vmImage: 'windows-latest'
variables:
solution: '**/AKSoftware.Localization.MultiLanguages.csproj'
BuildConfiguration: 'Release'
steps:
- task: DotNetCoreCLI@2
displayName: 'Restore packages'
inputs:
command: 'restore'
projects: $(solution)
feedsToUse: 'select'
- task: DotNetCoreCLI@2
displayName: 'Build the project'
inputs:
command: 'build'
projects: '$(solution)'
arguments: '--configuration $(BuildConfiguration)'
- task: NDependTask@1
displayName: 'NDepend Analyze'
inputs:
viewname: 'First Perspective'
env:
SYSTEM_ACCESSTOKEN: $(system.accesstoken)
- task: DotNetCoreCLI@2
displayName: 'Packing the library'
inputs:
command: 'pack'
packagesToPack: '$(solution)'
nobuild: true
versioningScheme: 'byPrereleaseNumber'
majorVersion: '1'
minorVersion: '0'
patchVersion: '0'