-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 #3321 from Microsoft/0_22_0_release
0 22 0 release
- Loading branch information
Showing
37 changed files
with
2,819 additions
and
3,061 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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
parameters: | ||
name: '' | ||
pool: '' | ||
|
||
jobs: | ||
- job: Windows | ||
pool: | ||
vmImage: 'vs2017-win2016' | ||
|
||
steps: | ||
- task: NodeTool@0 | ||
displayName: 'Use Node 8.x' | ||
inputs: | ||
versionSpec: 8.x | ||
|
||
- script: npm install | ||
displayName: "Install Dependencies" | ||
workingDirectory: '$(Build.SourcesDirectory)\Extension' | ||
|
||
- script: npm run compile | ||
displayName: "Compile Sources" | ||
workingDirectory: '$(Build.SourcesDirectory)\Extension' | ||
|
||
- script: npm run pr-check | ||
displayName: 'Validate Extension/package.json' | ||
workingDirectory: '$(Build.SourcesDirectory)\Extension' | ||
|
||
- script: npm run tslint | ||
displayName: 'Run Linter' | ||
workingDirectory: '$(Build.SourcesDirectory)\Extension' | ||
|
||
- script: 'npm run unitTests' | ||
displayName: 'Run unit tests' | ||
workingDirectory: '$(Build.SourcesDirectory)\Extension' | ||
continueOnError: true | ||
|
||
- script: 'copy "$(Build.SourcesDirectory)\Extension\out\test\integrationTests\MockDebugger\debugAdapterDescriptorFactory.js" "$(Build.SourcesDirectory)\Extension\out\src\Debugger\debugAdapterDescriptorFactory.js" /Y' | ||
displayName: Replace Debug Adapter Descriptor Factory | ||
|
||
- script: 'node node_modules/vscode/bin/test' | ||
displayName: 'Run debug integration tests' | ||
workingDirectory: '$(Build.SourcesDirectory)\Extension' | ||
continueOnError: true | ||
env: | ||
CODE_TESTS_PATH: '$(Build.SourcesDirectory)\Extension\out\test\integrationTests\debug' | ||
CODE_EXTENSIONS_PATH: '$(Build.SourcesDirectory)\Extension' | ||
CODE_TESTS_WORKSPACE: '$(Build.SourcesDirectory)\Extension\test\integrationTests\testAssets\SimpleCppProject' | ||
CODE_DISABLE_EXTENSIONS: 1 | ||
|
||
- script: 'node node_modules/vscode/bin/test' | ||
displayName: 'Run languageServer integration tests' | ||
workingDirectory: '$(Build.SourcesDirectory)\Extension' | ||
continueOnError: true | ||
env: | ||
CODE_TESTS_PATH: '$(Build.SourcesDirectory)\Extension\out\test\integrationTests\languageServer' | ||
CODE_EXTENSIONS_PATH: '$(Build.SourcesDirectory)\Extension' | ||
CODE_TESTS_WORKSPACE: '$(Build.SourcesDirectory)\Extension\test\integrationTests\testAssets\SimpleCppProject' | ||
CODE_DISABLE_EXTENSIONS: 1 |
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,67 @@ | ||
parameters: | ||
name: '' | ||
pool: '' | ||
|
||
jobs: | ||
- job: ${{ parameters.name }} | ||
pool: ${{ parameters.pool }} | ||
|
||
steps: | ||
- task: NodeTool@0 | ||
displayName: 'Use Node 8.x' | ||
inputs: | ||
versionSpec: 8.x | ||
|
||
- script: npm install | ||
displayName: "Install Dependencies" | ||
workingDirectory: '$(Build.SourcesDirectory)/Extension' | ||
|
||
- script: npm run compile | ||
displayName: "Compile Sources" | ||
workingDirectory: '$(Build.SourcesDirectory)/Extension' | ||
|
||
- script: npm run pr-check | ||
displayName: 'Validate Extension/package.json' | ||
workingDirectory: '$(Build.SourcesDirectory)/Extension' | ||
|
||
- script: npm run tslint | ||
displayName: 'Run Linter' | ||
workingDirectory: '$(Build.SourcesDirectory)/Extension' | ||
|
||
- script: 'npm run unitTests' | ||
displayName: 'Run unit tests' | ||
workingDirectory: '$(Build.SourcesDirectory)/Extension' | ||
continueOnError: true | ||
|
||
- script: | | ||
set -e | ||
/usr/bin/Xvfb :10 -ac >> /tmp/Xvfb.out 2>&1 & | ||
disown -ar | ||
displayName: 'Start xvfb' | ||
- script: | | ||
cp $(Build.SourcesDirectory)/Extension/out/test/integrationTests/MockDebugger/debugAdapterDescriptorFactory.js $(Build.SourcesDirectory)/Extension/out/src/Debugger/debugAdapterDescriptorFactory.js | ||
displayName: Replace Debug Adapter Descriptor Factory | ||
- script: 'node node_modules/vscode/bin/test' | ||
displayName: 'Run debug integration tests' | ||
workingDirectory: '$(Build.SourcesDirectory)/Extension' | ||
continueOnError: true | ||
env: | ||
MOCK_DEBUG: 1 | ||
DISPLAY: :10 | ||
CODE_TESTS_PATH: '$(Build.SourcesDirectory)/Extension/out/test/integrationTests/debug' | ||
CODE_EXTENSIONS_PATH: '$(Build.SourcesDirectory)/Extension' | ||
CODE_TESTS_WORKSPACE: '$(Build.SourcesDirectory)/Extension/test/integrationTests/testAssets/SimpleCppProject' | ||
CODE_DISABLE_EXTENSIONS: 1 | ||
|
||
- script: 'node node_modules/vscode/bin/test' | ||
displayName: 'Run languageServer integration tests' | ||
workingDirectory: '$(Build.SourcesDirectory)/Extension' | ||
continueOnError: true | ||
env: | ||
DISPLAY: :10 | ||
CODE_TESTS_PATH: '$(Build.SourcesDirectory)/Extension/out/test/integrationTests/languageServer' | ||
CODE_EXTENSIONS_PATH: '$(Build.SourcesDirectory)/Extension' | ||
CODE_TESTS_WORKSPACE: '$(Build.SourcesDirectory)/Extension/test/integrationTests/testAssets/SimpleCppProject' | ||
CODE_DISABLE_EXTENSIONS: 1 |
Oops, something went wrong.