From 5bd829ab7c58feb1b1d2c736b79a574a6f834dea Mon Sep 17 00:00:00 2001 From: Alex Ross Date: Tue, 27 Jul 2021 17:41:17 +0200 Subject: [PATCH] Revert "Comment out smoke tests on windows" This reverts commit dbd291c7161e51c079615614fd3ca0923eda43ce. --- .../win32/product-build-win32.yml | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/build/azure-pipelines/win32/product-build-win32.yml b/build/azure-pipelines/win32/product-build-win32.yml index 000507e5140..6a5bf78daf3 100644 --- a/build/azure-pipelines/win32/product-build-win32.yml +++ b/build/azure-pipelines/win32/product-build-win32.yml @@ -196,14 +196,14 @@ steps: displayName: Compile smoke tests condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'), ne(variables['VSCODE_ARCH'], 'arm64')) - # - powershell: | - # . build/azure-pipelines/win32/exec.ps1 - # $ErrorActionPreference = "Stop" - # $AppRoot = "$(agent.builddirectory)\VSCode-win32-$(VSCODE_ARCH)" - # exec { yarn smoketest-no-compile --build "$AppRoot" } - # displayName: Run smoke tests (Electron) - # timeoutInMinutes: 5 - # condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'), ne(variables['VSCODE_ARCH'], 'arm64')) + - powershell: | + . build/azure-pipelines/win32/exec.ps1 + $ErrorActionPreference = "Stop" + $AppRoot = "$(agent.builddirectory)\VSCode-win32-$(VSCODE_ARCH)" + exec { yarn smoketest-no-compile --build "$AppRoot" } + displayName: Run smoke tests (Electron) + timeoutInMinutes: 5 + condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'), ne(variables['VSCODE_ARCH'], 'arm64')) # - powershell: | # . build/azure-pipelines/win32/exec.ps1 @@ -215,14 +215,14 @@ steps: # timeoutInMinutes: 5 # condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'), ne(variables['VSCODE_ARCH'], 'arm64')) - # - powershell: | - # . build/azure-pipelines/win32/exec.ps1 - # $ErrorActionPreference = "Stop" - # $env:VSCODE_REMOTE_SERVER_PATH = "$(agent.builddirectory)\vscode-reh-web-win32-$(VSCODE_ARCH)" - # exec { yarn smoketest-no-compile --web --browser firefox --headless } - # displayName: Run smoke tests (Browser) - # timeoutInMinutes: 5 - # condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'), ne(variables['VSCODE_ARCH'], 'arm64')) + - powershell: | + . build/azure-pipelines/win32/exec.ps1 + $ErrorActionPreference = "Stop" + $env:VSCODE_REMOTE_SERVER_PATH = "$(agent.builddirectory)\vscode-reh-web-win32-$(VSCODE_ARCH)" + exec { yarn smoketest-no-compile --web --browser firefox --headless } + displayName: Run smoke tests (Browser) + timeoutInMinutes: 5 + condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'), ne(variables['VSCODE_ARCH'], 'arm64')) - task: PublishPipelineArtifact@0 inputs: