forked from awesome-inc/FontAwesome.Sharp
-
Notifications
You must be signed in to change notification settings - Fork 1
/
azure-pipelines.yml
97 lines (96 loc) · 2.64 KB
/
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# ------------------------------------------------------------------------------
# <auto-generated>
#
# This code was generated.
#
# - To turn off auto-generation set:
#
# [AzurePipelines (AutoGenerate = false)]
#
# - To trigger manual generation invoke:
#
# nuke --generate-configuration AzurePipelines --host AzurePipelines
#
# </auto-generated>
# ------------------------------------------------------------------------------
stages:
- stage: windows_latest
displayName: 'windows-latest'
dependsOn: [ ]
pool:
vmImage: 'windows-latest'
jobs:
- job: Restore
displayName: 'Restore'
dependsOn: [ ]
steps:
- task: CmdLine@2
inputs:
script: './build.cmd Restore --skip'
- job: Compile
displayName: 'Compile'
dependsOn: [ Restore ]
steps:
- task: CmdLine@2
inputs:
script: './build.cmd Compile --skip'
- job: Package
displayName: 'Package'
dependsOn: [ Compile ]
steps:
- task: CmdLine@2
inputs:
script: './build.cmd Package --skip'
- task: PublishBuildArtifacts@1
inputs:
artifactName: .artifacts
pathtoPublish: '.artifacts'
- job: Push
displayName: 'Push'
dependsOn: [ Package ]
steps:
- task: CmdLine@2
inputs:
script: './build.cmd Push --skip'
- job: SonarBegin
displayName: 'SonarBegin'
dependsOn: [ ]
steps:
- task: CmdLine@2
inputs:
script: './build.cmd SonarBegin --skip'
- job: Test
displayName: 'Test'
dependsOn: [ Compile ]
steps:
- task: CmdLine@2
inputs:
script: './build.cmd Test --skip'
- job: Coverage
displayName: 'Coverage'
dependsOn: [ Test ]
steps:
- task: CmdLine@2
inputs:
script: './build.cmd Coverage --skip'
- job: SonarEnd
displayName: 'SonarEnd'
dependsOn: [ ]
steps:
- task: CmdLine@2
inputs:
script: './build.cmd SonarEnd --skip'
- job: Sonar
displayName: 'Sonar'
dependsOn: [ SonarBegin, Coverage, SonarEnd ]
steps:
- task: CmdLine@2
inputs:
script: './build.cmd Sonar --skip'
- job: CiBuild
displayName: 'CiBuild'
dependsOn: [ Sonar, Push ]
steps:
- task: CmdLine@2
inputs:
script: './build.cmd CiBuild --skip'