From 198e047b025f0688b599c154cf4a051a99255ea5 Mon Sep 17 00:00:00 2001 From: Timothy Baldridge Date: Sat, 1 Feb 2020 11:03:36 -0700 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index afd7e98d..030c126d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -31,25 +31,14 @@ steps: inputs: restoreSolution: '$(solution)' -- task: VSBuild@1 - inputs: - solution: '**\*.sln' - platform: '$(buildPlatform)' - configuration: '$(buildConfiguration)' - -#- task: VSTest@2 -# inputs: -# platform: '$(buildPlatform)' -# configuration: '$(buildConfiguration)' -# testFiltercriteria: 'TestCategory!=ListValidation' -# runInParallel: true -# otherConsoleOptions: /Framework:netcoreapp3.1 -# testAssemblyVer2: | -# **\*.Test.dll -# diagnosticsEnabled: true -# collectDumpOn: 'always' - - task: DotNetCoreCLI@2 + displayName: "Build Release" + inputs: + command: 'build' + projects: 'Wabbajack\Wabbajack.csproj' + arguments: '--runtime win10-x64 --configuration Release /p:Platform=x64' +- task: DotNetCoreCLI@2 + displayName: "Test Release" inputs: command: 'test' projects: '**/*.Test.csproj' @@ -57,6 +46,7 @@ steps: - task: DotNetCoreCLI@2 + displayName: "Publish Release" inputs: command: 'publish' projects: 'Wabbajack\Wabbajack.csproj'