From d0dd793421c60e2ceac2a5384b6229c5dcf0a2fc Mon Sep 17 00:00:00 2001 From: "o.hauff" Date: Sun, 11 Jul 2021 12:08:50 +0000 Subject: [PATCH] Moved from master. [skip ci] --- Xamarin.iOS.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Xamarin.iOS.yml diff --git a/Xamarin.iOS.yml b/Xamarin.iOS.yml new file mode 100644 index 0000000..357b5b8 --- /dev/null +++ b/Xamarin.iOS.yml @@ -0,0 +1,35 @@ +# 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 + +trigger: none + +pool: + vmImage: 'macos-latest' + +variables: + buildConfiguration: 'Release' + solutionName : 'TINK.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 + +- task: NuGetToolInstaller@1 + +- task: NuGetCommand@2 + inputs: + restoreSolution: '$(solutionName)' +- task: XamariniOS@2 + inputs: + solutionFile: '$(solutionName)' + configuration: '$(buildConfiguration)' + packageApp: false + buildForSimulator: true + runNugetRestore: false