forked from mono/Embeddinator-4000
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
42 lines (36 loc) · 1.04 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
# https://aka.ms/yaml
name: $(BuildID)
trigger:
- main
variables:
Mono.Windows.Url: https://download.mono-project.com/archive/6.0.0/windows-installer/mono-6.0.0.319-gtksharp-2.12.45-win32-0.msi
SdkManager.Windows: 'C:\Program Files (x86)\Android\android-sdk\tools\bin\sdkmanager'
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
jobs:
- job: windows
pool:
name: Hosted VS2017
demands: msbuild
steps:
- powershell: |
echo y | & "$(SdkManager.Windows)" ndk-bundle
displayName: install Android NDK
- powershell: |
Invoke-WebRequest $(Mono.Windows.Url) -OutFile mono.msi -Verbose
Start-Process msiexec -Wait -ArgumentList '/i mono.msi /quiet /l*v mono.log'
Get-Content mono.log
displayName: install mono
- powershell: |
.\build.ps1 -t Jenkins -v diagnostic
displayName: build and test
- job: mac
pool:
name: Hosted macOS
demands: msbuild
steps:
- bash: |
source build/SetupCI.sh
displayName: setup ci
- bash: |
./build.sh -t Travis -v diagnostic
displayName: build and test