Skip to content

Commit ce538d7

Browse files
committed
Add .NET 8.0 to ADO build
1 parent 3da3036 commit ce538d7

File tree

4 files changed

+16
-23
lines changed

4 files changed

+16
-23
lines changed

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ jobs:
3333
steps:
3434
- template: templates/ci-general.yml
3535

36-
- job: macOS11
37-
displayName: macOS 11
36+
- job: macOS12
37+
displayName: macOS 12
3838
pool:
39-
vmImage: macOS-11
39+
vmImage: macOS-12
4040
steps:
4141
- template: templates/ci-general.yml
4242

.vsts-ci/misc-analysis.yml

-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ name: Misc-$(Build.SourceBranchName)-$(Date:yyyyMMdd)$(Rev:.rr)
22

33
trigger:
44
- gh-readonly-queue/main/*
5-
pr:
6-
paths:
7-
exclude:
8-
- '**/*.md'
95

106
resources:
117
repositories:

.vsts-ci/templates/ci-general.yml

+12-15
Original file line numberDiff line numberDiff line change
@@ -7,38 +7,35 @@ steps:
77
script: $PSVersionTable
88

99
- task: UseDotNet@2
10-
displayName: Install .NET 7.0.x SDK
10+
displayName: Install .NET 8.x SDK
1111
inputs:
1212
packageType: sdk
13-
version: 7.0.x
14-
performMultiLevelLookup: true
13+
version: 8.x
1514

1615
- task: UseDotNet@2
17-
displayName: Install .NET 6.0.x runtime
16+
displayName: Install .NET 7.x runtime
1817
inputs:
1918
packageType: runtime
20-
version: 6.0.x
21-
performMultiLevelLookup: true
19+
version: 7.x
2220

23-
- task: PowerShell@2
24-
displayName: Install PSResources
21+
- task: UseDotNet@2
22+
displayName: Install .NET 6.x runtime
2523
inputs:
26-
pwsh: true
27-
filePath: tools/installPSResources.ps1
24+
packageType: runtime
25+
version: 6.x
2826

2927
- task: PowerShell@2
30-
displayName: Build
28+
displayName: Install PSResources
3129
inputs:
32-
targetType: inline
3330
pwsh: true
34-
script: Invoke-Build Build -Configuration Release
31+
filePath: tools/installPSResources.ps1
3532

3633
- task: PowerShell@2
37-
displayName: Test
34+
displayName: Build and test
3835
inputs:
3936
targetType: inline
4037
pwsh: true
41-
script: Invoke-Build Test -Configuration Release
38+
script: Invoke-Build TestFull -Configuration Release
4239

4340
- task: PublishTestResults@2
4441
displayName: Publish test results

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# PowerShell Editor Services
22

3-
[![Build Status](https://dev.azure.com/powershell/PowerShellEditorServices/_apis/build/status/PowerShellEditorServices-ci?branchName=main)](https://dev.azure.com/powershell/PowerShellEditorServices/_build/latest?definitionId=57&branchName=main)
3+
[![CI Tests](https://github.com/PowerShell/PowerShellEditorServices/actions/workflows/ci-test.yml/badge.svg)](https://github.com/PowerShell/PowerShellEditorServices/actions/workflows/ci-test.yml)
44
[![Discord](https://img.shields.io/discord/180528040881815552.svg?label=%23vscode&logo=discord&logoColor=white)](https://aka.ms/psdiscord)
55
[![Join the chat at https://gitter.im/PowerShell/PowerShellEditorServices](https://badges.gitter.im/PowerShell/PowerShellEditorServices.svg)](https://gitter.im/PowerShell/PowerShellEditorServices?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
66

0 commit comments

Comments
 (0)