Skip to content

Commit

Permalink
Update and rename .azure-pipelines.ix.yml to azure-pipelines.ix.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Oren Novotny committed Oct 1, 2018
1 parent 5a22d4d commit 38b55f4
Showing 1 changed file with 27 additions and 9 deletions.
36 changes: 27 additions & 9 deletions .vsts.ix-shared.yml → azure-pipelines.ix.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
parameters:
signStep: []

trigger:
branches:
include:
- master
- rel/*
paths:
include:
- Ix.NET/Source/*
- .editorconfig
- azure-pipelines.ix.yml

pool:
vmImage: vs2017-win2016

variables:
BuildConfiguration: Release

steps:
- task: DotNetCoreCLI@2
inputs:
Expand All @@ -13,10 +27,6 @@ steps:
- script: nbgv cloud -p Ix.NET\Source
displayName: Set Version
condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false))

- task: DotNetCoreInstaller@0
inputs:
version: '2.1.400-preview-009171'

- task: DotNetCoreCLI@2
inputs:
Expand All @@ -34,11 +44,19 @@ steps:
arguments: -c $(BuildConfiguration) --collect:"Code Coverage" -s $(System.DefaultWorkingDirectory)/Ix.NET/Source/CodeCoverage.runsettings /p:DebugType=Full
displayName: Run Tests

- ${{ parameters.signStep }}
- task: PowerShell@2
displayName: Authenticode Sign Packages
inputs:
filePath: Ix.NET/Source/build/Sign-Package.ps1
env:
SignClientUser: $(SignClientUser)
SignClientSecret: $(SignClientSecret)
ArtifactDirectory: $(Build.ArtifactStagingDirectory)\artifacts
condition: and(succeeded(), not(eq(variables['build.reason'], 'PullRequest')), not(eq(variables['SignClientSecret'], '')), not(eq(variables['SignClientUser'], '')))

- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: $(Build.ArtifactStagingDirectory)\artifacts
ArtifactName: artifacts
publishLocation: Container
condition: eq(variables['system.pullrequest.isfork'], false)
condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false))

0 comments on commit 38b55f4

Please sign in to comment.