This commit is contained in:
Oliver Hauff 2021-07-12 19:30:48 +02:00
commit 0167fc321f
3 changed files with 0 additions and 108 deletions

View file

@ -1,45 +0,0 @@
# ASP.NET Core
# Build and test ASP.NET Core projects targeting .NET Core.
# Add steps that run tests, create a NuGet package, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core
trigger:
- master
pool:
vmImage: 'windows-latest'
variables:
buildConfiguration: 'Release'
jobs:
- job: RunUnittests
displayName: "Run Unit Tests"
steps:
- task: DotNetCoreCLI@2
displayName: "Run TestLockItShared Unit Tests"
inputs:
command: 'test'
projects: 'TestLockItShared/TestLockItShared.csproj'
configuration: '$(buildConfiguration)'
- task: DotNetCoreCLI@2
displayName: "Run TestShareeLib Unit Tests"
inputs:
command: 'test'
projects: 'TestShareeLib/TestShareeLib.csproj'
configuration: '$(buildConfiguration)'
# Infos about test filters see
# https://docs.microsoft.com/en-us/previous-versions/jj155796(v=vs.140)?redirectedfrom=MSDN
- task: VSTest@2
inputs:
testSelector: 'testAssemblies'
testAssemblyVer2: |
**\TestShareeLib.dll
!**\obj\**
searchFolder: '$(System.DefaultWorkingDirectory)'
testFiltercriteria: 'TestCategory!=Explicit&TestCategory!=RequiresCOPRI&TestCategory!=RequiresCOPRI.Live&TestCategory!=RequiresCOPRI.Devel'

View file

@ -1,28 +0,0 @@
# Xamarin.Android
# Build a Xamarin.Android project.
# Add steps that test, sign, and distribute an app, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/xamarin
trigger:
- master
pool:
vmImage: 'macos-latest'
variables:
buildConfiguration: 'Release'
outputDirectory: '$(build.binariesDirectory)/$(buildConfiguration)'
solutionName : 'TINK.sln'
steps:
- task: NuGetToolInstaller@1
- task: NuGetCommand@2
inputs:
restoreSolution: '$(solutionName)'
- task: XamarinAndroid@1
inputs:
projectFile: '**/*droid*.csproj'
outputDirectory: '$(outputDirectory)'
configuration: '$(buildConfiguration)'

View file

@ -1,35 +0,0 @@
# 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