You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ombi/ci-build.yaml

36 lines
800 B

5 years ago
# 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:
branches:
include:
- feature/*
exclude:
- feature/v4
variables:
solution: '**/*.sln'
testProj: '**/*.Tests.csproj'
csProj: '**/*.csproj'
buildConfiguration: 'Release'
pool:
vmImage: 'ubuntu-latest'
steps:
- task: CmdLine@2
displayName: Run Build Script
inputs:
script: './build.sh --target=build'
5 years ago
- task: PublishTestResults@2
displayName: Upload Test Results
inputs:
testResultsFormat: 'VSTest'
testResultsFiles: '**/Test-*.trx'
mergeTestResults: true
failTaskOnFailedTests: true
testRunTitle: 'Unit Tests'