-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #49996 from dibarbet/local_lsp
Add feature flag to allow VS to use the LSP based editor
- Loading branch information
Showing
30 changed files
with
344 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Separate pipeline from normal integration CI to allow branches to change legs | ||
|
||
# Branches that trigger a build on commit | ||
trigger: | ||
- master | ||
- master-vs-deps | ||
- release/* | ||
- features/* | ||
- demos/* | ||
|
||
# Branches that trigger builds on PR | ||
pr: | ||
- master | ||
- master-vs-deps | ||
- release/* | ||
- features/* | ||
- demos/* | ||
|
||
jobs: | ||
- job: VS_Integration_LSP | ||
pool: | ||
name: NetCorePublic-Pool | ||
queue: $(queueName) | ||
timeoutInMinutes: 135 | ||
|
||
steps: | ||
- template: eng/pipelines/test-integration-job.yml | ||
parameters: | ||
configuration: Debug | ||
oop64bit: true | ||
lspEditor: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
parameters: | ||
- name: configuration | ||
type: string | ||
default: 'Debug' | ||
- name: oop64bit | ||
# This is actually a boolean but must be defined as string. | ||
# Parameters are evaluated at compile time, but all variables are strings at compile time. | ||
# So in order to pass a parameter that comes from a variable these must be typed as string. | ||
type: string | ||
default: true | ||
- name: lspEditor | ||
type: string | ||
default: false | ||
|
||
steps: | ||
- template: checkout-windows-task.yml | ||
|
||
- task: PowerShell@2 | ||
displayName: Build and Test | ||
inputs: | ||
filePath: eng/build.ps1 | ||
arguments: -ci -restore -build -pack -sign -publish -binaryLog -configuration ${{ parameters.configuration }} -prepareMachine -testVsi -oop64bit:$${{ parameters.oop64bit }} -collectDumps -lspEditor:$${{ parameters.lspEditor }} | ||
|
||
- task: PublishTestResults@2 | ||
displayName: Publish xUnit Test Results | ||
inputs: | ||
testRunner: XUnit | ||
testResultsFiles: $(Build.SourcesDirectory)\artifacts\TestResults\${{ parameters.configuration }}\*.xml | ||
mergeTestResults: true | ||
testRunTitle: '$(System.JobAttempt)-Integration ${{ parameters.configuration }} OOP64_${{ parameters.oop64bit }}' | ||
condition: always() | ||
|
||
- task: PublishBuildArtifacts@1 | ||
displayName: Publish Logs | ||
inputs: | ||
PathtoPublish: '$(Build.SourcesDirectory)\artifacts\log\${{ parameters.configuration }}' | ||
ArtifactName: '$(System.JobAttempt)-Logs ${{ parameters.configuration }} OOP64_${{ parameters.oop64bit }} LspEditor_${{ parameters.lspEditor }} $(Build.BuildNumber)' | ||
publishLocation: Container | ||
continueOnError: true | ||
condition: not(succeeded()) | ||
|
||
- task: PublishBuildArtifacts@1 | ||
displayName: Publish Screenshots | ||
inputs: | ||
PathtoPublish: '$(Build.SourcesDirectory)\artifacts\bin\Microsoft.VisualStudio.LanguageServices.IntegrationTests\${{ parameters.configuration }}\net472\xUnitResults' | ||
ArtifactName: '$(System.JobAttempt)-Screenshots ${{ parameters.configuration }} OOP64_${{ parameters.oop64bit }} LspEditor_${{ parameters.lspEditor }} $(Build.BuildNumber)' | ||
publishLocation: Container | ||
continueOnError: true | ||
condition: not(succeeded()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.