-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines-android-debug.yml
44 lines (36 loc) · 1.15 KB
/
azure-pipelines-android-debug.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
# Xamarin.Android
# Build a Xamarin.Android project.
# Add steps that test, sign, and distribute an app, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/xamarin
trigger:
- development
pool:
vmImage: 'windows-latest'
variables:
buildConfiguration: 'Debug'
outputDirectory: '$(build.binariesDirectory)/$(buildConfiguration)'
steps:
- task: NuGetToolInstaller@1
- task: NuGetCommand@2
inputs:
command: 'restore'
restoreSolution: '*Droid.sln'
feedsToUse: 'select'
- task: android-manifest-package-name@1
inputs:
sourcePath: 'StorjPhotoGalleryUploader.Droid/Properties/AndroidManifest.xml'
packageName: 'io.storj.photogalleryuploader'
appLabel: 'Storj Photo Gallery Uploader'
printFile: true
- task: android-manifest-version@1
inputs:
sourcePath: 'StorjPhotoGalleryUploader.Droid/Properties/AndroidManifest.xml'
versionCodeOption: 'buildid'
versionCode: '$(Build.BuildId)'
printFile: true
- task: XamarinAndroid@1
inputs:
projectFile: '**/*Droid.csproj'
outputDirectory: '$(outputDirectory)'
configuration: '$(buildConfiguration)'
jdkOption: 'JDKVersion'