-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
47 lines (41 loc) · 995 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
44
45
46
47
trigger:
- master
pr:
- master
jobs:
- job: Windows
pool:
vmImage: 'windows-latest'
variables:
solution: '**/*.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'
steps:
- checkout: self
submodules: "true"
- task: UseDotNet@2
displayName: "Install Preview .NET Core SDK"
inputs:
packageType: 'sdk'
version: '3.0.100-preview6-012264'
includePreviewVersions: true
- task: NuGetToolInstaller@0
displayName: "Install NuGet"
- task: NuGetCommand@2
displayName: "NuGet Restore"
inputs:
restoreSolution: '$(solution)'
- task: DotNetCoreCLI@2
displayName: "Build"
name: "Build"
inputs:
command: 'build'
feedsToUse: 'select'
versioningScheme: 'off'
- task: DotNetCoreCLI@2
displayName: "Test"
name: "Test"
inputs:
command: 'test'
feedsToUse: 'select'
versioningScheme: 'off'