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

39 lines
826 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
5 years ago
trigger:
branches:
include:
- feature/*
exclude:
- feature/v4
variables:
solution: '**/*.sln'
testProj: '**/*.Tests.csproj'
csProj: '**/*.csproj'
buildConfiguration: 'Release'
pool:
vmImage: 'ubuntu-latest'
steps:
- task: UseDotNet@2
displayName: Use dotnet sdk
inputs:
packageType: 'sdk'
version: '3.x'
- task: DotNetCoreCLI@2
displayName: Run Unit Tests
5 years ago
inputs:
command: 'test'
projects: '$(testProj)'
- task: Yarn@3
displayName: Build UI
inputs:
projectDirectory: '$(Build.SourcesDirectory)/src/Ombi/ClientApp/'
arguments: 'run build'