sharee.bike-App/Xamarin.iOS.yml

65 lines
1.9 KiB
YAML
Raw Normal View History

2022-12-17 16:29:12 +01:00
# Builds iOS version for all flavors of app:
# - sharee.bike
# - Lastenrad Bayern
# - Mein konrad
2021-07-11 14:08:50 +02:00
2021-07-15 18:52:00 +02:00
trigger:
2022-12-17 16:29:12 +01:00
- main
2021-07-11 14:08:50 +02:00
pool:
2022-12-17 16:29:12 +01:00
vmImage: 'macos-12'
2021-07-11 14:08:50 +02:00
variables:
buildConfiguration: 'Release'
2022-12-17 16:29:12 +01:00
solutionNameIosLastenradBayern : 'LastenradBayern.sln'
solutionNameIosShareeBike : 'ShareeBike.sln'
solutionNameIosMeinKonrad : 'MeinKonrad.sln'
2021-07-11 14:08:50 +02:00
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
2021-07-11 14:16:29 +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:18:40 +02:00
- checkout: git://sharee.bike App/Code
2021-07-11 14:08:50 +02:00
- task: NuGetToolInstaller@1
- task: NuGetCommand@2
inputs:
2022-12-17 16:29:12 +01:00
restoreSolution: '**/$(solutionNameIosLastenradBayern)'
2021-07-11 14:08:50 +02:00
- task: XamariniOS@2
inputs:
2022-12-17 16:29:12 +01:00
solutionFile: '**/$(solutionNameIosLastenradBayern)'
2021-07-11 14:08:50 +02:00
configuration: '$(buildConfiguration)'
packageApp: false
buildForSimulator: true
runNugetRestore: false
2022-12-17 16:29:12 +01:00
- 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