-
Notifications
You must be signed in to change notification settings - Fork 1
/
test-stage.yml
51 lines (45 loc) · 1.03 KB
/
test-stage.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
parameters:
- name: PS51
type: boolean
default: true
stages:
- stage: Test
jobs:
- job: Mac_10_14
pool:
vmImage: 'macOS-10.14'
steps:
- template: test-steps.yml
parameters:
testRunTitle: Mac 10.14
- job: Ubuntu_18_04
pool:
vmImage: 'ubuntu-18.04'
steps:
- template: test-steps.yml
parameters:
testRunTitle: Ubuntu 18.04
- job: Windows_2019_Pwsh
pool:
vmImage: 'windows-2019'
steps:
- template: test-steps.yml
parameters:
testRunTitle: Windows Server 2019
- ${{ if eq(parameters.PS51, false) }}:
- job: Windows_2016_Pwsh
pool:
vmImage: 'vs2017-win2016'
steps:
- template: test-steps.yml
parameters:
testRunTitle: Windows Server 2016
- ${{ if eq(parameters.PS51, true) }}:
- job: Windows_2016_Powershell
pool:
vmImage: 'vs2017-win2016'
steps:
- template: test-steps.yml
parameters:
testRunTitle: Windows Server 2016
pwsh: false