提交 588fb230 编写于 作者: J Joao Moreno

fix build conditions

上级 923e3d38
......@@ -50,7 +50,7 @@ steps:
yarn gulp hygiene
yarn monaco-compile-check
displayName: Run hygiene checks
condition: eq(variables['VSCODE_STEP_ON_IT'], 'false')
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
- script: |
set -e
......@@ -72,13 +72,13 @@ steps:
# APP_NAME="`ls $(agent.builddirectory)/VSCode-darwin | head -n 1`"
# yarn smoketest -- --build "$(agent.builddirectory)/VSCode-darwin/$APP_NAME"
displayName: Run unit tests
condition: eq(variables['VSCODE_STEP_ON_IT'], 'false')
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
- script: |
set -e
./scripts/test-integration.sh --build --tfs "Integration Tests"
displayName: Run integration tests
condition: eq(variables['VSCODE_STEP_ON_IT'], 'false')
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
- script: |
set -e
......
......@@ -59,7 +59,7 @@ steps:
yarn gulp hygiene
yarn monaco-compile-check
displayName: Run hygiene checks
condition: eq(variables['VSCODE_STEP_ON_IT'], 'false')
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
- script: |
set -e
......
......@@ -59,7 +59,7 @@ steps:
yarn gulp hygiene
yarn monaco-compile-check
displayName: Run hygiene checks
condition: eq(variables['VSCODE_STEP_ON_IT'], 'false')
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
- script: |
set -e
......
......@@ -51,7 +51,7 @@ steps:
yarn gulp hygiene
yarn monaco-compile-check
displayName: Run hygiene checks
condition: eq(variables['VSCODE_STEP_ON_IT'], 'false')
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
- script: |
set -e
......@@ -76,7 +76,7 @@ steps:
DISPLAY=:10 ./scripts/test.sh --build --tfs "Unit Tests"
# yarn smoketest -- --build "$(agent.builddirectory)/VSCode-linux-$(VSCODE_ARCH)"
displayName: Run unit tests
condition: eq(variables['VSCODE_STEP_ON_IT'], 'false')
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
- script: |
set -e
......
......@@ -55,7 +55,7 @@ steps:
exec { yarn gulp hygiene }
exec { yarn monaco-compile-check }
displayName: Run hygiene checks
condition: eq(variables['VSCODE_STEP_ON_IT'], 'false')
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
- powershell: |
. build/azure-pipelines/win32/exec.ps1
......@@ -78,7 +78,7 @@ steps:
exec { yarn gulp "electron-$(VSCODE_ARCH)" }
exec { .\scripts\test.bat --build --tfs "Unit Tests" }
displayName: Run unit tests
condition: eq(variables['VSCODE_STEP_ON_IT'], 'false')
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
- powershell: |
. build/azure-pipelines/win32/exec.ps1
......@@ -86,7 +86,7 @@ steps:
exec { yarn gulp "electron-$(VSCODE_ARCH)" }
exec { .\scripts\test-integration.bat --build --tfs "Integration Tests" }
displayName: Run integration tests
condition: eq(variables['VSCODE_STEP_ON_IT'], 'false')
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
inputs:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册