-
Notifications
You must be signed in to change notification settings - Fork 2
/
azure-pipelines.yml
53 lines (50 loc) · 1.33 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
# https://docs.microsoft.com/vsts/pipelines/languages/xamarin
jobs:
- job: AutomatedTests
pool:
VMImage: 'windows-2019'
steps:
- task: VSTest@2
inputs:
testSelector: 'testAssemblies'
testAssemblyVer2: '**\*test*.dll
!**\*TestAdapter.dll
!**\obj\**'
searchFolder: '$(System.DefaultWorkingDirectory)'
- job: Android
pool:
vmImage: 'windows-2019'
variables:
buildConfiguration: 'Debug'
outputDirectory: '$(build.binariesDirectory)/$(buildConfiguration)'
steps:
- task: NuGetToolInstaller@0
- task: NuGetCommand@2
inputs:
restoreSolution: '**/*.sln'
- task: XamarinAndroid@1
inputs:
projectFile: '**/*droid*.csproj'
outputDirectory: '$(outputDirectory)'
configuration: '$(buildConfiguration)'
#msbuildArchitectureOption: x64
#createAppPackage: true
msbuildArguments: /p:JavaSdkDirectory="$(JAVA_HOME)/"
#- job: iOS
# pool:
# vmImage: 'macOS-10.14'
# variables:
# buildConfiguration: 'Debug'
# steps:
# - task: NuGetToolInstaller@0
# - task: NuGetCommand@2
# inputs:
# restoreSolution: '**/*.sln'
# - task: XamariniOS@2
# inputs:
# clean: true
# runNugetRestore: true
# solutionFile: '**/*iOS.csproj'
# configuration: '$(buildConfiguration)'
# buildForSimulator: true
# packageApp: false