From c2635be64c83c806f0bf6cbfe7adab6baba246b2 Mon Sep 17 00:00:00 2001 From: Baudin999 Date: Thu, 26 Dec 2019 09:41:23 +0100 Subject: [PATCH] Set up CI with Azure Pipelines Build and test configuration [skip ci] --- azure-pipelines.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..d1189a3 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,25 @@ +# 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: 'ubuntu-latest' + +variables: + buildConfiguration: 'Release' + version: "1.0.0" + +steps: +- task: UseDotNet@2 + inputs: + version: '3.0.x' +- script: dotnet build --configuration $(buildConfiguration) + displayName: 'dotnet build $(buildConfiguration)' +- script: dotnet test + displayName: 'dotnet test' + +