File tree Expand file tree Collapse file tree 3 files changed +52
-16
lines changed Expand file tree Collapse file tree 3 files changed +52
-16
lines changed Original file line number Diff line number Diff line change @@ -22,23 +22,41 @@ resources:
2222 ref : master
2323
2424jobs :
25- - job : Win2019
26- displayName : Windows Server 2019
25+ - job : PS51_Win2016
26+ displayName : PowerShell 5.1 - Windows Server 2016
27+ pool :
28+ vmImage : vs2017-win2016
29+ steps :
30+ - template : templates/ci-general.yml
31+ parameters :
32+ pwsh : false
33+
34+ - job : PS51_Win2019
35+ displayName : PowerShell 5.1 - Windows Server 2019
36+ pool :
37+ vmImage : windows-2019
38+ steps :
39+ - template : templates/ci-general.yml
40+ parameters :
41+ pwsh : false
42+
43+ - job : PS7_Win2019
44+ displayName : PowerShell 7 - Windows Server 2019
2745 pool :
2846 vmImage : windows-2019
2947 steps :
3048 - template : templates/ci-general.yml
3149
32- - job : macOS
33- displayName : macOS 10.15
50+ - job : PS7_macOS
51+ displayName : PowerShell 7 - macOS 10.15
3452 pool :
3553 vmImage : macOS-10.15
3654 steps :
3755 - template : templates/ci-general.yml
3856
39- - job : Ubuntu
40- displayName : Ubuntu 20.04
57+ - job : PS7_Ubuntu
58+ displayName : PowerShell 7 - Ubuntu 20.04
4159 pool :
42- vmImage : Ubuntu -20.04
60+ vmImage : ubuntu -20.04
4361 steps :
4462 - template : templates/ci-general.yml
Original file line number Diff line number Diff line change 11parameters :
2+ - name : pwsh
3+ type : boolean
4+ default : true
25 - name : usePipelineArtifact
36 type : boolean
47 default : false
58
69steps :
7- - pwsh : $PSVersionTable
10+ - task : PowerShell@2
811 displayName : PowerShell version
12+ inputs :
13+ targetType : inline
14+ script : $PSVersionTable
15+ pwsh : ${{ parameters.pwsh }}
916
1017- checkout : self
1118
@@ -34,12 +41,16 @@ steps:
3441 archiveFilePatterns : $(Pipeline.Workspace)/PowerShellEditorServices.zip
3542 destinationFolder : $(Build.SourcesDirectory)/vscode-powershell/modules
3643
37- - pwsh : |
38- Install-Module InvokeBuild -Scope CurrentUser -Force
39- Invoke-Build
40- Write-Host "##vso[task.setvariable variable=vsixPath]$(Resolve-Path powershell-*.vsix)"
44+ - task : PowerShell@2
4145 displayName : Build and test
42- workingDirectory : $(Build.SourcesDirectory)/vscode-powershell
46+ inputs :
47+ targetType : inline
48+ script : |
49+ Install-Module InvokeBuild -Scope CurrentUser -Force
50+ Invoke-Build
51+ Write-Host "##vso[task.setvariable variable=vsixPath]$(Resolve-Path powershell-*.vsix)"
52+ workingDirectory : $(Build.SourcesDirectory)/vscode-powershell
53+ pwsh : ${{ parameters.pwsh }}
4354
4455- publish : $(vsixPath)
4556 artifact : vscode-powershell-vsix-$(System.JobId)
Original file line number Diff line number Diff line change @@ -23,9 +23,16 @@ select "PowerShell ISE" for a fun and familiar experience.
2323
2424## Platform support
2525
26- - ** Windows 7 through 10** with Windows PowerShell v3 and higher, and PowerShell Core
27- - ** Linux** with PowerShell Core (all PowerShell-supported distributions)
28- - ** macOS and OS X** with PowerShell Core
26+ The VS Code extension _ should_ work anywhere VS Code itself and PowerShell Core 7 or
27+ higher is [ supported] [ ] . For Windows PowerShell, only version 5.1 is supported. Please
28+ note that PowerShell Core 6 is end-of-life and so not supported. Our test matrix includes
29+ the following:
30+
31+ - ** Windows 10 and Windows Server 2019** with Windows PowerShell 5.1 and PowerShell Core 7.1.4
32+ - ** macOS 10.15** with PowerShell Core 7.1.4
33+ - ** Ubuntu 20.04** with PowerShell Core 7.1.4
34+
35+ [ supported ] : https://docs.microsoft.com/en-us/powershell/scripting/powershell-support-lifecycle?view=powershell-7.1#supported-platforms
2936
3037Read the [ installation instructions] ( https://docs.microsoft.com/en-us/powershell/scripting/components/vscode/using-vscode )
3138to get more details on how to use the extension on these platforms.
You can’t perform that action at this time.
0 commit comments