ci: add experimental test environment with LSPs installed
This commit is contained in:
parent
01714be0d2
commit
cb43cb5c06
@ -70,17 +70,52 @@ environment:
|
|||||||
-DCMAKE_C_FLAGS=-m64
|
-DCMAKE_C_FLAGS=-m64
|
||||||
-DCMAKE_CXX_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
|
configuration: Debug
|
||||||
|
|
||||||
clone_folder: c:\wepoll
|
clone_folder: c:\wepoll
|
||||||
shallow_clone: true
|
shallow_clone: true
|
||||||
clone_depth: 1
|
clone_depth: 1
|
||||||
|
|
||||||
|
cache:
|
||||||
|
- c:\proxif
|
||||||
|
|
||||||
init:
|
init:
|
||||||
- cmd: set
|
- cmd: set
|
||||||
|
|
||||||
install:
|
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:C:\Program Files\Git\usr\bin;=%
|
||||||
- cmd: set path=%path%;%mingw_path%
|
- cmd: set path=%path%;%mingw_path%
|
||||||
- cmd: set path=%path%;%vs_path%
|
- cmd: set path=%path%;%vs_path%
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user