-
-
Notifications
You must be signed in to change notification settings - Fork 33
/
ci-rainbows.yml
37 lines (32 loc) · 829 Bytes
/
ci-rainbows.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
# Defines that a commit to the master branch should trigger this build
trigger:
branches:
include:
- master
paths:
exclude:
- README.md
- images/*
- ci-rainbows.yml
- cd-rainbows.yml
# Defines that PRs against this branch should also trigger this build
pr:
- master
pool:
name: Hosted VS2017
demands: msbuild
steps:
- task: NuGetToolInstaller@0
displayName: 'Use NuGet 4.9.3'
inputs:
versionSpec: 4.9.3
- task: NuGetCommand@2
displayName: 'NuGet restore'
inputs:
restoreSolution: 'src/**/*.sln'
- task: MSBuild@1
displayName: 'Build solution'
inputs:
solution: src/Xamarin.Forms.DebugRainbows.Multi/Xamarin.Forms.DebugRainbows.Multi.csproj
msbuildArguments: '/t:restore;build /p:PackageOutputPath=$(build.artifactstagingdirectory)'
clean: true