2021-07-11 13:38:51 +02:00
|
|
|
# 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:
|
|
|
|
- master
|
|
|
|
|
|
|
|
pool:
|
|
|
|
vmImage: 'macos-latest'
|
|
|
|
|
|
|
|
variables:
|
|
|
|
buildConfiguration: 'Release'
|
|
|
|
outputDirectory: '$(build.binariesDirectory)/$(buildConfiguration)'
|
|
|
|
solutionName : 'TINK.sln'
|
|
|
|
|
|
|
|
steps:
|
2021-07-11 13:49:24 +02:00
|
|
|
# Get code from Open Source repo.
|
|
|
|
# https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/multi-repo-checkout?view=azure-devops#specify-multiple-repositories
|
|
|
|
- checkout: git://sharee.bike App/sharee.bike App/master
|
2021-07-11 13:38:51 +02:00
|
|
|
- task: NuGetToolInstaller@1
|
|
|
|
|
|
|
|
- task: NuGetCommand@2
|
|
|
|
inputs:
|
|
|
|
restoreSolution: '$(solutionName)'
|
|
|
|
|
|
|
|
- task: XamarinAndroid@1
|
|
|
|
inputs:
|
|
|
|
projectFile: '**/*droid*.csproj'
|
|
|
|
outputDirectory: '$(outputDirectory)'
|
|
|
|
configuration: '$(buildConfiguration)'
|