Install json_object_private.h file
[platform/upstream/json-c.git] / appveyor.yml
1 version: '{branch}.{build}'\r
2 os: Windows Server 2012 R2\r
3 \r
4 configuration:\r
5 - Debug\r
6 - Release\r
7 platform: x64\r
8 environment:\r
9   matrix:\r
10   - PlatformToolset: v140\r
11   - PlatformToolset: v120\r
12   - PlatformToolset: Windows7.1SDK\r
13 \r
14 build_script:\r
15 - cmake .\r
16 - >\r
17   msbuild "json-c.vcxproj" /m /verbosity:normal\r
18   /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"\r
19   /p:PlatformToolset=%PlatformToolset% /p:OutDir=lib\\r
20 \r
21 after_build:\r
22 - md include\json-c\r
23 - copy json.h include\json-c\*\r
24 - copy debug.h include\json-c\*\r
25 - copy linkhash.h include\json-c\*\r
26 - copy arraylist.h include\json-c\*\r
27 - copy json_util.h include\json-c\*\r
28 - copy json_object.h include\json-c\*\r
29 - copy json_tokener.h include\json-c\*\r
30 - copy json_object_iterator.h include\json-c\*\r
31 - copy json_c_version.h include\json-c\*\r
32 - copy json_inttypes.h include\json-c\*\r
33 - copy include\json_config.h include\json-c\*\r
34 - copy json_object_private.h include\json-c\*\r
35 - 7z a json-c.lib.zip lib\json-c.dll include\json-c\*.h\r
36 \r
37 artifacts:\r
38 - path: json-c.lib.zip\r
39   name: json-c.lib.zip\r