forked from pmem/libpmemobj-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
41 lines (33 loc) · 982 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake
-DCMAKE_INSTALL_PREFIX=c:/install/libpmemobj-cpp
build_script:
- msbuild build/ALL_BUILD.vcxproj /property:Configuration=%CONFIGURATION%
test_script:
- cd build
- ctest -C %CONFIGURATION% --output-on-failure --timeout 540
- msbuild INSTALL.vcxproj
- cd ..
# build standalone example
- cd examples/map_cli
- cmake . -G "%GENERATOR%"
-DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake
-DCMAKE_PREFIX_PATH=c:/install/libpmemobj-cpp
- msbuild ALL_BUILD.vcxproj