forked from HdrHistogram/HdrHistogram_c
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
39 lines (32 loc) · 836 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
version: 0.9.11.{build}
platform:
- Win32
- x64
matrix:
allow_failures:
- platform: Win32
clone_folder: c:\dev\HdrHistogram_c
install:
- cd c:\dev
- md c:\dev\zlib64
- ps: Start-FileDownload 'http://zlib.net/zlib-1.2.11.tar.gz'
- 7z x zlib-1.2.11.tar.gz
- 7z x zlib-1.2.11.tar
build:
build_script:
- cd c:\dev\zlib-1.2.11
- md build
- cd build
- if %PLATFORM% == Win32 (set GENERATOR="Visual Studio 12 2013")
- if %PLATFORM% == x64 (set GENERATOR="Visual Studio 12 2013 Win64")
- echo Using %GENERATOR%
- cmake -DCMAKE_INSTALL_PREFIX=c:\dev\zlib64 -G %GENERATOR% ..
- cmake --build . --target install
- dir c:\dev\zlib64
- cd c:\dev\HdrHistogram_c
- md build
- cd build
- cmake -DCMAKE_PREFIX_PATH="c:\dev\zlib64" -G %GENERATOR% ..
- cmake --build .
test_script:
# - cmd: ctest