Skip to content

Commit

Permalink
common: add appveyor integration
Browse files Browse the repository at this point in the history
  • Loading branch information
igchor committed Jun 16, 2018
1 parent ac70dca commit 0c5fa4b
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
version: 1.4.{build}
os: Visual Studio 2015
platform: x64

environment:
VCPKG_DEFAULT_TRIPLET: x64-windows
GENERATOR: "Visual Studio 14 2015 Win64"

install:
- vcpkg install pmdk:x64-windows
- vcpkg install sfml:x64-windows
- vcpkg integrate install

cache: c:\tools\vcpkg\installed

configuration:
- Debug
- Release

matrix:
fast_finish: true

before_build:
- cmake . -Bbuild -G "%GENERATOR%"
-DCMAKE_MODULE_PATH=c:/projects/libpmemobj-cpp
-DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake

build_script:
- msbuild build/ALL_BUILD.vcxproj /property:Configuration=%CONFIGURATION%

test_script:
- cd build
- ctest -C %CONFIGURATION% --output-on-failure

0 comments on commit 0c5fa4b

Please sign in to comment.