Skip to content

Commit ebf464e

Browse files
committed
Update and extend CI matrix
Now includes Windows Server 2022 and macOS 11 Big Sur.
1 parent 697e1e2 commit ebf464e

File tree

2 files changed

+36
-17
lines changed

2 files changed

+36
-17
lines changed

.vsts-ci/azure-pipelines-ci.yml

+32-14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
name: PR-$(System.PullRequest.PullRequestNumber)-$(Date:yyyyMMdd)$(Rev:.rr)
22

3+
pr:
4+
branches:
5+
include:
6+
- main
7+
autoCancel: false
8+
drafts: true
9+
310
variables:
411
# Don't download unneeded packages
512
- name: DOTNET_SKIP_FIRST_TIME_EXPERIENCE
@@ -8,11 +15,6 @@ variables:
815
- name: DOTNET_CLI_TELEMETRY_OPTOUT
916
value: 'true'
1017

11-
trigger:
12-
branches:
13-
include:
14-
- main
15-
1618
resources:
1719
repositories:
1820
- repository: PowerShellEditorServices
@@ -22,31 +24,47 @@ resources:
2224
ref: main
2325

2426
jobs:
25-
- job: PS51_Win2019
26-
displayName: PowerShell 5.1 - Windows Server 2019
27+
- job: windows-2022
28+
displayName: Windows 2022 PowerShell 5.1
29+
pool:
30+
vmImage: windows-2022
31+
steps:
32+
- template: templates/ci-general.yml
33+
parameters:
34+
pwsh: false
35+
36+
- job: windows-2022-pwsh
37+
displayName: Windows 2022 PowerShell 7
38+
pool:
39+
vmImage: windows-2022
40+
steps:
41+
- template: templates/ci-general.yml
42+
43+
- job: windows-2019
44+
displayName: Windows 2019 PowerShell 5.1
2745
pool:
2846
vmImage: windows-2019
2947
steps:
3048
- template: templates/ci-general.yml
3149
parameters:
3250
pwsh: false
3351

34-
- job: PS7_Win2019
35-
displayName: PowerShell 7 - Windows Server 2019
52+
- job: windows-2019-pwsh
53+
displayName: Windows 2019 PowerShell 7
3654
pool:
3755
vmImage: windows-2019
3856
steps:
3957
- template: templates/ci-general.yml
4058

41-
- job: PS7_macOS
42-
displayName: PowerShell 7 - macOS 10.15
59+
- job: macOS-11
60+
displayName: macOS 11
4361
pool:
44-
vmImage: macOS-10.15
62+
vmImage: macOS-11
4563
steps:
4664
- template: templates/ci-general.yml
4765

48-
- job: PS7_Ubuntu
49-
displayName: PowerShell 7 - Ubuntu 20.04
66+
- job: ubuntu-20-04
67+
displayName: Ubuntu 20.04
5068
pool:
5169
vmImage: ubuntu-20.04
5270
steps:

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@ The extension _should_ work anywhere VS Code itself and PowerShell Core 7 or hig
2828
PowerShell Core 6 is end-of-life and so not supported. Our test matrix includes the
2929
following:
3030

31-
- **Windows Server 2019** with Windows PowerShell 5.1 and PowerShell Core 7.2.4
32-
- **macOS 10.15** with PowerShell Core 7.2.5
33-
- **Ubuntu 20.04** with PowerShell Core 7.2.4
31+
- **Windows Server 2022** with Windows PowerShell 5.1 and PowerShell Core 7.2.5
32+
- **Windows Server 2019** with Windows PowerShell 5.1 and PowerShell Core 7.2.5
33+
- **macOS 11** with PowerShell Core 7.2.5
34+
- **Ubuntu 20.04** with PowerShell Core 7.2.5
3435

3536
[supported]: https://docs.microsoft.com/en-us/powershell/scripting/powershell-support-lifecycle
3637

0 commit comments

Comments
 (0)