Skip to content

Commit

Permalink
Pipeline with custom agent
Browse files Browse the repository at this point in the history
  • Loading branch information
Windos committed Aug 4, 2020
1 parent 921c66c commit 2dbfed2
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion Azure-Pipelines/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,18 @@ jobs:
vmImage: 'windows-2019'
steps:
- task: PowerShell@2
displayName: 'Run tests (individual .ps1 files)'
displayName: 'Run tests (individual .ps1 files) - Windows PowerShell'
inputs:
targetType: Inline
script: ./Azure-Pipelines/build.ps1 -Bootstrap -Test

- task: PowerShell@2
displayName: 'Run tests (individual .ps1 files) - PowerShell Core'
inputs:
targetType: Inline
script: ./Azure-Pipelines/build.ps1 -Bootstrap -Test
pwsh: true

- task: PowerShell@2
displayName: 'Compile module'
inputs:
Expand Down Expand Up @@ -52,3 +59,19 @@ jobs:
artifactName: 'PipelinesScripts'
targetPath: ./Azure-Pipelines
condition: succeededOrFailed()

- job: CookToastPreview
displayName: 'Cook Toast'
pool: 'AzPS7.1-Preview'
steps:
- task: PowerShell@2
displayName: 'Run tests (individual .ps1 files) - Windows PowerShell'
inputs:
targetType: Inline
script: ./Azure-Pipelines/build.ps1 -Bootstrap -Test
- task: PowerShell@2
displayName: 'Run tests (individual .ps1 files) - PowerShell 7.1 Preview 5'
inputs:
targetType: Inline
script: ./Azure-Pipelines/build.ps1 -Bootstrap -Test
pwsh: true

0 comments on commit 2dbfed2

Please sign in to comment.