2022-12-17 15:36:35 +01:00
|
|
|
# Builds android version for all flavors of app:
|
|
|
|
# - sharee.bike
|
|
|
|
# - Lastenrad Bayern
|
|
|
|
# - Mein konrad
|
2021-07-11 13:38:51 +02:00
|
|
|
|
|
|
|
trigger:
|
2023-04-21 15:39:55 +02:00
|
|
|
- main
|
2021-07-11 13:38:51 +02:00
|
|
|
|
|
|
|
pool:
|
2022-12-17 15:36:35 +01:00
|
|
|
vmImage: 'windows-latest'
|
2021-07-11 13:38:51 +02:00
|
|
|
|
|
|
|
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
|
2021-08-11 14:00:45 +02:00
|
|
|
- checkout: git://sharee.bike App/Code
|
2021-07-11 13:38:51 +02:00
|
|
|
- task: NuGetToolInstaller@1
|
|
|
|
|
|
|
|
- task: NuGetCommand@2
|
|
|
|
inputs:
|
|
|
|
restoreSolution: '$(solutionName)'
|
|
|
|
|
|
|
|
- task: XamarinAndroid@1
|
2022-01-23 13:46:38 +01:00
|
|
|
displayName: "LastenradBayern Android"
|
2021-07-11 13:38:51 +02:00
|
|
|
inputs:
|
2022-01-23 13:46:38 +01:00
|
|
|
projectFile: '**/LastenradBayern.Android.csproj'
|
|
|
|
outputDirectory: '$(outputDirectory)'
|
|
|
|
configuration: '$(buildConfiguration)'
|
|
|
|
|
|
|
|
- task: XamarinAndroid@1
|
|
|
|
displayName: "Mein konrad Android"
|
|
|
|
inputs:
|
|
|
|
projectFile: '**/Meinkonrad.Android.csproj'
|
|
|
|
outputDirectory: '$(outputDirectory)'
|
|
|
|
configuration: '$(buildConfiguration)'
|
|
|
|
|
|
|
|
- task: XamarinAndroid@1
|
|
|
|
displayName: "sharee.bike Android"
|
|
|
|
inputs:
|
|
|
|
projectFile: '**/TINK.Android.csproj'
|
2021-07-11 13:38:51 +02:00
|
|
|
outputDirectory: '$(outputDirectory)'
|
|
|
|
configuration: '$(buildConfiguration)'
|