mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
support build pipeline that only produces extension vsix files (#20099)
* support only build extensions * use ne * copy extensions to drop
This commit is contained in:
@@ -121,7 +121,7 @@ steps:
|
|||||||
set -e
|
set -e
|
||||||
DISPLAY=:10 ./scripts/test.sh --build --tfs "Unit Tests" --coverage
|
DISPLAY=:10 ./scripts/test.sh --build --tfs "Unit Tests" --coverage
|
||||||
displayName: Run unit tests (Electron)
|
displayName: Run unit tests (Electron)
|
||||||
condition: and(succeeded(), eq(variables['RUN_TESTS'], 'true'))
|
condition: and(succeeded(), eq(variables['RUN_TESTS'], 'true'), ne(variables['EXTENSIONS_ONLY'], 'true'))
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
# Figure out the full absolute path of the product we just built
|
# Figure out the full absolute path of the product we just built
|
||||||
@@ -134,7 +134,7 @@ steps:
|
|||||||
VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/azuredatastudio-reh-linux-x64" \
|
VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/azuredatastudio-reh-linux-x64" \
|
||||||
DISPLAY=:10 ./scripts/test-integration.sh --build --tfs "Integration Tests"
|
DISPLAY=:10 ./scripts/test-integration.sh --build --tfs "Integration Tests"
|
||||||
displayName: Run integration tests (Electron)
|
displayName: Run integration tests (Electron)
|
||||||
condition: and(succeeded(), eq(variables['RUN_TESTS'], 'true'))
|
condition: and(succeeded(), eq(variables['RUN_TESTS'], 'true'), ne(variables['EXTENSIONS_ONLY'], 'true'))
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
# Figure out the full absolute path of the product we just built
|
# Figure out the full absolute path of the product we just built
|
||||||
@@ -178,11 +178,13 @@ steps:
|
|||||||
set -e
|
set -e
|
||||||
yarn gulp vscode-linux-x64-build-deb
|
yarn gulp vscode-linux-x64-build-deb
|
||||||
displayName: Build Deb
|
displayName: Build Deb
|
||||||
|
condition: and(succeeded(), ne(variables['EXTENSIONS_ONLY'], 'true'))
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
set -e
|
set -e
|
||||||
yarn gulp vscode-linux-x64-build-rpm
|
yarn gulp vscode-linux-x64-build-rpm
|
||||||
displayName: Build Rpm
|
displayName: Build Rpm
|
||||||
|
condition: and(succeeded(), ne(variables['EXTENSIONS_ONLY'], 'true'))
|
||||||
|
|
||||||
- task: UseDotNet@2
|
- task: UseDotNet@2
|
||||||
displayName: 'Install .NET Core sdk for signing'
|
displayName: 'Install .NET Core sdk for signing'
|
||||||
|
|||||||
Reference in New Issue
Block a user