ci: add experimental test environment with LSPs installed

This commit is contained in:
Bert Belder 2018-03-07 03:07:42 +01:00
parent 01714be0d2
commit cb43cb5c06
No known key found for this signature in database
GPG Key ID: 7A77887B2E2ED461

View File

@ -70,17 +70,52 @@ environment:
-DCMAKE_C_FLAGS=-m64
-DCMAKE_CXX_FLAGS=-m64
- job: msvc-vs2013-x86-LSP
appveyor_build_worker_image: Visual Studio 2013
cmake_options: -G "Visual Studio 12 2013"
lsp: true
appveyor_save_cache_on_error: true
- job: msvc-vs2017-x64-LSP
appveyor_build_worker_image: Visual Studio 2017
cmake_options: -G "Visual Studio 15 2017 Win64"
lsp: true
appveyor_save_cache_on_error: true
matrix:
allow_failures:
- lsp: true
configuration: Debug
clone_folder: c:\wepoll
shallow_clone: true
clone_depth: 1
cache:
- c:\proxif
init:
- cmd: set
install:
- ps: Install-Product node 'Current'
- ps: >-
Install-Product node 'Current'
if ($env:lsp) {
if (!(Test-Path c:\proxif\setup.exe)) {
$null = &mkdir -Force c:\proxif
Invoke-WebRequest -Uri http://www.proxifier.com/download/ProxifierSetup.exe -OutFile "c:\proxif\setup.exe"
}
Start-Process -Wait c:\proxif\setup.exe -ArgumentList /silent,/norestart
$catalog = &netsh winsock show catalog
echo $catalog
if (!($catalog -like "*Layered Chain Entry*")) {
throw "LSP not installed"
}
}
- cmd: set path=%path:C:\Program Files\Git\usr\bin;=%
- cmd: set path=%path%;%mingw_path%
- cmd: set path=%path%;%vs_path%