Commit cfd717e4 by Eric Fiselier

Increase Appveyor timeout and fix build warning

parent 9e13b95b
...@@ -47,7 +47,7 @@ before_build: ...@@ -47,7 +47,7 @@ before_build:
- if "%compiler_name%"=="msvc" if "%compiler_version%"=="14" if "%platform%"=="x86" (set "generator=Visual Studio 14 2015") - if "%compiler_name%"=="msvc" if "%compiler_version%"=="14" if "%platform%"=="x86" (set "generator=Visual Studio 14 2015")
- if "%compiler_name%"=="msvc" if "%compiler_version%"=="14" if "%platform%"=="x64" (set "generator=Visual Studio 14 2015 Win64") - if "%compiler_name%"=="msvc" if "%compiler_version%"=="14" if "%platform%"=="x64" (set "generator=Visual Studio 14 2015 Win64")
- if "%compiler_name%"=="msvc" (set "build=cmake --build . --config %variant%") - if "%compiler_name%"=="msvc" (set "build=cmake --build . --config %variant%")
- if "%compiler_name%"=="msvc" (set "test=ctest -c Release --timeout 90 --output-on-failure") - if "%compiler_name%"=="msvc" (set "test=ctest -c Release --timeout 300 --output-on-failure")
# add the compiler path if needed # add the compiler path if needed
- if not "%compiler_path%"=="" (set "PATH=%PATH%;%compiler_path%") - if not "%compiler_path%"=="" (set "PATH=%PATH%;%compiler_path%")
# git bash conflicts with MinGW makefiles # git bash conflicts with MinGW makefiles
...@@ -57,7 +57,7 @@ build_script: ...@@ -57,7 +57,7 @@ build_script:
- ps: | - ps: |
md _build -Force md _build -Force
cd _build cd _build
& cmake -G "$env:generator" "-DCMAKE_BUILD_TYPE=$env:variant" "-DBUILD_SHARED_LIBS=$env:shared" .. & cmake -G "$env:generator" "-DCMAKE_BUILD_TYPE=$env:variant" ..
if ($LastExitCode -ne 0) { if ($LastExitCode -ne 0) {
throw "Exec: $ErrorMessage" throw "Exec: $ErrorMessage"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment