forked from OmniSharp/csharp-language-server-protocol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.azure-pipelines.yml
79 lines (73 loc) · 1.96 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
trigger:
branches:
include:
- master
- refs/tags/*
pr:
autoCancel: true
branches:
include:
- master
resources:
repositories:
- repository: rsg
type: github
name: RocketSurgeonsGuild/AzureDevopsTemplates
ref: refs/tags/v0.3.2
endpoint: github
variables:
Configuration: Release
Verbosity: Normal
DotNetVersion: "2.2.101"
CakeVersion: "0.32.1"
NuGetVersion: "4.9.2"
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