debug with rdp

This commit is contained in:
Kyle Spearrin 2019-03-15 01:01:13 -04:00
parent a94c8438e6
commit 2358714a9e
1 changed files with 13 additions and 0 deletions

View File

@ -6,6 +6,11 @@ branches:
- l10n_master - l10n_master
init: 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: Install-Product node 10
- ps: | - ps: |
$env:PATH = "C:\Program Files (x86)\Windows Kits\10\bin\10.0.15063.0\x64\;${env:PATH}" $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%\*" call 7z a browser-source-%APPVEYOR_BUILD_NUMBER%.zip "%DIST_SRC_DIR%\*"
cd %APPVEYOR_BUILD_FOLDER% 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: artifacts:
- path: dist/dist-opera-%APPVEYOR_BUILD_NUMBER%.zip - path: dist/dist-opera-%APPVEYOR_BUILD_NUMBER%.zip
- path: dist/dist-chrome-%APPVEYOR_BUILD_NUMBER%.zip - path: dist/dist-chrome-%APPVEYOR_BUILD_NUMBER%.zip