Skip to content

Commit

Permalink
Merge pull request #5 from cake-contrib/azure_pipelines_windows
Browse files Browse the repository at this point in the history
Added Windows azure pipeline
  • Loading branch information
deqenq committed Jul 13, 2019
2 parents fec41c4 + 9037568 commit 0d5d60c
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions azure-pipelines-windows.yml
@@ -0,0 +1,33 @@
trigger:
- master

variables:
sdk_version: 2.1.603

jobs:
- job: Windows
pool:
vmImage: 'windows-2019'
steps:
- task: UseDotNet@2
displayName: 'Use .NET Core sdk'
inputs:
packageType: sdk
version: $(sdk_version)
installationPath: $(Agent.ToolsDirectory)/dotnet
- powershell: .\build.ps1
env:
COREHOST_TRACE: 0
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_CLI_TELEMETRY_OPTOUT: 1
- task: PublishTestResults@2
inputs:
testResultsFormat: 'VSTest' # JUnit, NUnit, VSTest, xUnit, cTest
testResultsFiles: '**/*.trx'
#searchFolder: '$(System.DefaultWorkingDirectory)' # Optional
#mergeTestResults: false # Optional
failTaskOnFailedTests: true # Optional
#testRunTitle: # Optional
#buildPlatform: # Optional
#buildConfiguration: # Optional
#publishRunAttachments: true # Optional

0 comments on commit 0d5d60c

Please sign in to comment.