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

fix build conditions

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