diff --git a/Xamarin.iOS.yml b/Xamarin.iOS.yml index 3d7b168..3dc92bd 100644 --- a/Xamarin.iOS.yml +++ b/Xamarin.iOS.yml @@ -1,17 +1,19 @@ -# Xamarin.iOS -# Build a Xamarin.iOS project. -# Add steps that install certificates, test, sign, and distribute an app, save build artifacts, and more: -# https://docs.microsoft.com/azure/devops/pipelines/languages/xamarin +# Builds iOS version for all flavors of app: +# - sharee.bike +# - Lastenrad Bayern +# - Mein konrad trigger: -- master +- main pool: - vmImage: 'macos-latest' + vmImage: 'macos-12' variables: buildConfiguration: 'Release' - solutionName : 'TINK.sln' + solutionNameIosLastenradBayern : 'LastenradBayern.sln' + solutionNameIosShareeBike : 'ShareeBike.sln' + solutionNameIosMeinKonrad : 'MeinKonrad.sln' steps: # To manually select a Xamarin SDK version on the Microsoft-hosted macOS agent, @@ -29,11 +31,34 @@ steps: - task: NuGetCommand@2 inputs: - restoreSolution: '$(solutionName)' + restoreSolution: '**/$(solutionNameIosLastenradBayern)' - task: XamariniOS@2 inputs: - solutionFile: '$(solutionName)' + 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 +