From ca00ca387c5ac427c48ac58674c952ac00abd93f Mon Sep 17 00:00:00 2001 From: Michael Cummings Date: Wed, 14 Aug 2019 08:39:21 -0400 Subject: [PATCH 1/2] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 60 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 00000000..11528697 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,60 @@ +trigger: + - master +pr: + - master + +variables: + buildConfiguration: 'Release' + outputDirectory: '$(build.binariesDirectory)/$(buildConfiguration)' + DOTNET_SDK_VERSION: '2.1.604' + +strategy: + matrix: + linux: + imageName: "ubuntu-latest" + mac: + imageName: "macos-latest" + windows: + imageName: "vs2017-win2016" + +pool: + vmImage: $(imageName) + +steps: +- task: DotNetCoreInstaller@0 + displayName: 'Use .NET Core SDK $(DOTNET_SDK_VERSION)' + inputs: + version: '$(DOTNET_SDK_VERSION)' + +- task: NuGetToolInstaller@1 + displayName: Install NuGet + +- task: DotNetCoreCLI@2 + displayName: Install dotnet Cake Build Tool + inputs: + command: custom + custom: tool + arguments: 'install -g Cake.Tool' + env: + DOTNET_CLI_TELEMETRY_OPTOUT: 1 + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 + +- task: DotNetCoreCLI@2 + displayName: Run dotnet Cake Bootstrapper + inputs: + command: custom + custom: cake + arguments: 'build.cake --bootstrap' + env: + DOTNET_CLI_TELEMETRY_OPTOUT: 1 + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 + +- task: DotNetCoreCLI@2 + displayName: Build Product + inputs: + command: custom + custom: cake + arguments: '--target=build --configuration=$(BuildConfiguration)' + env: + DOTNET_CLI_TELEMETRY_OPTOUT: 1 + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 \ No newline at end of file From bbc6c2e48419b406d0edb01bc2fc6570c542be48 Mon Sep 17 00:00:00 2001 From: Michael Cummings Date: Tue, 4 Feb 2020 23:02:45 -0500 Subject: [PATCH 2/2] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 11528697..4520f049 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -21,7 +21,7 @@ pool: vmImage: $(imageName) steps: -- task: DotNetCoreInstaller@0 +- task: DotNetCoreInstaller@1 displayName: 'Use .NET Core SDK $(DOTNET_SDK_VERSION)' inputs: version: '$(DOTNET_SDK_VERSION)'