forked from OmniSharp/csharp-language-server-protocol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.azure-pipelines.yml
68 lines (63 loc) · 1.83 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
resources:
repositories:
- repository: rsg
type: github
name: RocketSurgeonsGuild/AzureDevopsTemplates
ref: refs/tags/v0.2.8
endpoint: github
variables:
Configuration: Release
Verbosity: Normal
DotNetVersion: "2.1.500"
CakeVersion: "0.30.0"
NuGetVersion: '4.7.1'
Coverage: "$(Agent.BuildDirectory)/c"
VstsCoverage: "$(Coverage)"
Artifacts: $(Build.ArtifactStagingDirectory)
VstsArtifacts: "$(Artifacts)"
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "true"
jobs:
- job: GitVersion
pool:
vmImage: "VS2017-Win2016"
steps:
- template: gitversion/store.yml@rsg
parameters:
NuGetVersion: $(NuGetVersion)
# Mac job seems to hang with unit tests currently, needs more testing (also need a mac)
# - template: pipeline/cake-job.yml@rsg
# parameters:
# name: 'macOS'
# dependsOn: GitVersion
# vmImage: "macOS-10.13"
# pushNuget: false
# Configuration: $(Configuration)
# Verbosity: $(Verbosity)
# CakeVersion: $(CakeVersion)
# DotNetVersion: $(DotNetVersion)
# NuGetVersion: $(NuGetVersion)
# Script: build.cake
- template: pipeline/cake-job.yml@rsg
parameters:
name: 'Linux'
dependsOn: GitVersion
vmImage: "Ubuntu-16.04"
pushNuget: false
Configuration: $(Configuration)
Verbosity: $(Verbosity)
CakeVersion: $(CakeVersion)
DotNetVersion: $(DotNetVersion)
NuGetVersion: $(NuGetVersion)
Script: build.cake
- template: pipeline/cake-job.yml@rsg
parameters:
name: 'Windows'
dependsOn: GitVersion
vmImage: "VS2017-Win2016"
pushNuget: true
Configuration: $(Configuration)
Verbosity: $(Verbosity)
CakeVersion: $(CakeVersion)
DotNetVersion: $(DotNetVersion)
NuGetVersion: $(NuGetVersion)
Script: build.cake