From 8e17f394f0d879e034dad3d02b03d7b21248aa67 Mon Sep 17 00:00:00 2001 From: 杨宇千 Date: Mon, 4 Feb 2019 15:27:53 +0000 Subject: Set up CI with Azure Pipelines ***NO_CI*** --- azure-pipelines.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 00000000..1c521e4a --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,21 @@ +# 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-16.04' + +variables: + buildConfiguration: 'Release' + +steps: +- script: dotnet build --configuration $(buildConfiguration) + displayName: 'dotnet build $(buildConfiguration)' + +- task: DotNetCoreCLI@2 + inputs: + command: test -- cgit v1.2.3