mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-12-23 07:36:31 +01:00
64 lines
1.9 KiB
YAML
64 lines
1.9 KiB
YAML
# Builds iOS version for all flavors of app:
|
|
# - sharee.bike
|
|
# - Lastenrad Bayern
|
|
# - Mein konrad
|
|
|
|
trigger:
|
|
- main
|
|
|
|
pool:
|
|
vmImage: 'macos-12'
|
|
|
|
variables:
|
|
buildConfiguration: 'Release'
|
|
solutionNameIosLastenradBayern : 'LastenradBayern.sln'
|
|
solutionNameIosShareeBike : 'ShareeBike.sln'
|
|
solutionNameIosMeinKonrad : 'MeinKonrad.sln'
|
|
|
|
steps:
|
|
# To manually select a Xamarin SDK version on the Microsoft-hosted macOS agent,
|
|
# configure this task with the *Mono* version that is associated with the
|
|
# Xamarin SDK version that you need, and set the "enabled" property to true.
|
|
# See https://go.microsoft.com/fwlink/?linkid=871629
|
|
- script: sudo $AGENT_HOMEDIRECTORY/scripts/select-xamarin-sdk.sh 5_12_0
|
|
displayName: 'Select the Xamarin SDK version'
|
|
enabled: false
|
|
|
|
# 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/Code
|
|
- task: NuGetToolInstaller@1
|
|
|
|
- task: NuGetCommand@2
|
|
inputs:
|
|
restoreSolution: '**/$(solutionNameIosLastenradBayern)'
|
|
- task: XamariniOS@2
|
|
inputs:
|
|
solutionFile: '**/$(solutionNameIosLastenradBayern)'
|
|
configuration: '$(buildConfiguration)'
|
|
packageApp: false
|
|
buildForSimulator: true
|
|
runNugetRestore: false
|
|
|
|
- task: NuGetCommand@2
|
|
inputs:
|
|
restoreSolution: '**/$(solutionNameIosShareeBike)'
|
|
- task: XamariniOS@2
|
|
inputs:
|
|
solutionFile: '**/$(solutionNameIosShareeBike)'
|
|
configuration: '$(buildConfiguration)'
|
|
packageApp: false
|
|
buildForSimulator: true
|
|
runNugetRestore: false
|
|
|
|
- task: NuGetCommand@2
|
|
inputs:
|
|
restoreSolution: '**/$(solutionNameIosMeinKonrad)'
|
|
- task: XamariniOS@2
|
|
inputs:
|
|
solutionFile: '**/$(solutionNameIosMeinKonrad)'
|
|
configuration: '$(buildConfiguration)'
|
|
packageApp: false
|
|
buildForSimulator: true
|
|
runNugetRestore: false
|
|
|