From 2358714a9e84d0c1bc04020d72b9e69cb03fff3b Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 15 Mar 2019 01:01:13 -0400 Subject: [PATCH] debug with rdp --- appveyor.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index 6a3f4a54ac..a1a9d41d3a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -6,6 +6,11 @@ branches: - l10n_master init: +- ps: | + if($isWindows -and $env:DEBUG_RDP -eq "true") { + iex ((new-object net.webclient).DownloadString(` + 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) + } - ps: Install-Product node 10 - ps: | $env:PATH = "C:\Program Files (x86)\Windows Kits\10\bin\10.0.15063.0\x64\;${env:PATH}" @@ -39,6 +44,14 @@ build_script: call 7z a browser-source-%APPVEYOR_BUILD_NUMBER%.zip "%DIST_SRC_DIR%\*" cd %APPVEYOR_BUILD_FOLDER% +on_finish: + - ps: | + if($isWindows -and $env:DEBUG_RDP -eq "true") { + $blockRdp = $true + iex ((new-object net.webclient).DownloadString(` + 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) + } + artifacts: - path: dist/dist-opera-%APPVEYOR_BUILD_NUMBER%.zip - path: dist/dist-chrome-%APPVEYOR_BUILD_NUMBER%.zip