mirror of
https://github.com/boostorg/callable_traits.git
synced 2026-02-26 16:42:15 +00:00
Visual Studio CI with .appveyor.yml
This commit is contained in:
48
.appveyor.yml
Normal file
48
.appveyor.yml
Normal file
@@ -0,0 +1,48 @@
|
||||
# Copyright Louis Dionne 2013-2016
|
||||
# Copyright Modified Work Barrett Adair 2016
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
|
||||
|
||||
shallow_clone: true
|
||||
|
||||
os:
|
||||
- Visual Studio 2015
|
||||
# - Visual Studio 2015 CTP
|
||||
# - Visual Studio 2015 CTP 6
|
||||
# - Visual Studio 2015 Preview
|
||||
# - Visual Studio 2015 RC
|
||||
# - MinGW
|
||||
|
||||
build:
|
||||
verbosity: detailed
|
||||
|
||||
configuration:
|
||||
- Debug
|
||||
|
||||
branches:
|
||||
except:
|
||||
- /pr\/.+/
|
||||
|
||||
install:
|
||||
# External dependencies folder
|
||||
- mkdir C:\projects\deps
|
||||
- cd C:\projects\deps
|
||||
|
||||
# Installing a recent CMake
|
||||
- set CMAKE_URL="https://cmake.org/files/v3.5/cmake-3.5.0-win32-x86.zip"
|
||||
- appveyor DownloadFile %CMAKE_URL% -FileName cmake.zip
|
||||
- 7z x cmake.zip -oC:\projects\deps\cmake > nul
|
||||
- set PATH=C:\projects\deps\cmake\bin;%PATH%
|
||||
- cmake --version
|
||||
|
||||
before_build:
|
||||
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
|
||||
- cd C:\projects\callable_traits
|
||||
|
||||
|
||||
build_script:
|
||||
- mkdir build
|
||||
- cd build
|
||||
- echo . | cmake .. -G"Visual Studio 2015"
|
||||
- set msbuild_exe="%ProgramFiles%\MSBuild\14.0\Bin\MSBuild.exe"
|
||||
- echo . | %msbuild_exe% callable_traits.sln /t:clean /p:Configuration=Debug /p:Platform=Win32 /v:m /m /nologo
|
||||
Reference in New Issue
Block a user