From f62ec9fd076e94609b7c3f67768c6a334dcd94ec Mon Sep 17 00:00:00 2001 From: Elitsa Marinovska Date: Tue, 24 Nov 2020 12:56:01 +0100 Subject: [PATCH] Adding yaml file for setting up CI with Azure Pipelines --- build/azure-pipelines.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 build/azure-pipelines.yml diff --git a/build/azure-pipelines.yml b/build/azure-pipelines.yml new file mode 100644 index 0000000000..b4afa0b0f8 --- /dev/null +++ b/build/azure-pipelines.yml @@ -0,0 +1,22 @@ +############################################################################# +## ASP.NET Core ## +## Build and test ASP.NET Core projects targeting .NET Core. ## +## Runs tests, creates NuGet packages: ## +## https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core ## +############################################################################# + +# Build Pipeline triggers +trigger: +- master + +# VM to run the build on & it's installed software +pool: + vmImage: 'ubuntu-latest' + +# Variables & their default values +variables: + buildConfiguration: 'Release' + +steps: +- script: dotnet build --configuration $(buildConfiguration) + displayName: 'dotnet build $(buildConfiguration)'