forked from cake-contrib/Cake.Issues.GitRepository
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
38 lines (36 loc) · 944 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
trigger:
- develop
- master
- release/*
- hotfix/*
pr:
- develop
jobs:
- job: Windows
pool:
vmImage: 'vs2017-win2016'
steps:
- powershell: |
$ENV:CAKE_SKIP_GITVERSION=([string]::IsNullOrEmpty($ENV:SYSTEM_PULLREQUEST_PULLREQUESTID) -eq $False).ToString()
.\build.ps1 -target Buildserver
exit $LASTEXITCODE
displayName: 'Cake Build'
- job: macOS
pool:
vmImage: 'macOS-10.14'
steps:
# To manually select a Xamarin SDK version on the Hosted macOS agent, enable this script with the SDK version you want to target
# https://go.microsoft.com/fwlink/?linkid=871629
- bash: |
sudo $AGENT_HOMEDIRECTORY/scripts/select-xamarin-sdk.sh 5_18_1
displayName: 'Select Mono 5.18.1'
- bash: |
./build.sh --target Buildserver
displayName: 'Cake Build'
- job: Ubuntu
pool:
vmImage: 'ubuntu-16.04'
steps:
- bash: |
./build.sh --target Buildserver
displayName: 'Cake Build'