-
-
Notifications
You must be signed in to change notification settings - Fork 162
/
azure-pipelines.yml
49 lines (47 loc) · 1.34 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
# XF.Material
# Build a Xamarin.Android project.
# Build a Xamarin.iOS project.
jobs:
- job: Android
pool:
vmImage: 'VS2017-Win2016'
variables:
buildConfiguration: 'Release'
outputDirectory: '$(build.binariesDirectory)/$(buildConfiguration)'
steps:
- task: NuGetToolInstaller@0
- task: NuGetCommand@2
inputs:
restoreSolution: '**/*.sln'
- task: XamarinAndroid@1
inputs:
projectFile: '**/*droid*.csproj'
outputDirectory: '$(build.binariesdirectory)/$(BuildConfiguration)'
configuration: '$(buildConfiguration)'
clean: true
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: drop'
inputs:
PathtoPublish: '$(build.binariesdirectory)/$(BuildConfiguration)'
- job: iOS
pool:
vmImage: 'macOS-10.13'
variables:
buildConfiguration: 'Release'
steps:
- task: NuGetToolInstaller@0
- task: NuGetCommand@2
inputs:
restoreSolution: '**/*.sln'
- task: XamariniOS@2
inputs:
projectFile: '**/*iOS*.csproj'
outputDirectory: '$(build.binariesdirectory)/$(BuildConfiguration)'
configuration: '$(buildConfiguration)'
buildForSimulator: true
packageApp: false
clean: true
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: drop'
inputs:
PathtoPublish: '$(build.binariesdirectory)/$(BuildConfiguration)'