From 9820579606a61250fea56032a3946577ee1a5c60 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 15 Mar 2019 01:01:26 -0400 Subject: [PATCH] debug with rdp --- appveyor.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index 85b663cb6e..a3648c1147 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -9,6 +9,11 @@ branches: stack: node 10 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')) + } - sh: sudo apt-get update - sh: sudo apt-get -y install pkg-config libxss-dev libsecret-1-dev rpm - ps: | @@ -82,6 +87,14 @@ after_build: snapcraft logout fi +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')) + } + for: - matrix: