appveyor-windows.yml revision cb447a70
1version: 1.{branch}.{build}
2
3image: Visual Studio 2017
4
5cache: c:\tools\vcpkg\installed
6
7init:
8
9- cmd: ''
10
11install:
12
13- cmd: >-
14
15    vcpkg install zlib:x64-windows-static
16
17    vcpkg install libevent:x64-windows-static
18
19    vcpkg install pcre:x64-windows-static
20
21    vcpkg integrate install
22
23build_script:
24
25- cmd: >-
26
27    vcpkg list
28
29    git clone https://boringssl.googlesource.com/boringssl
30
31    cd boringssl
32
33    git checkout a2278d4d2cabe73f6663e3299ea7808edfa306b9
34
35    cmake -DCMAKE_GENERATOR_PLATFORM=x64 --config Debug -DBUILD_SHARED_LIBS=OFF -DOPENSSL_NO_ASM=1 .
36
37
38
39    msbuild /m ALL_BUILD.vcxproj
40
41
42
43    cd ..
44
45
46
47    git submodule init
48
49
50
51    git submodule update
52
53
54
55    cmake -DCMAKE_GENERATOR_PLATFORM=x64 -DBUILD_SHARED_LIBS=OFF -DVCPKG_TARGET_TRIPLET=x64-windows-static -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake -DBORINGSSL_DIR=%cd%\boringssl .
56
57
58
59    msbuild /m ALL_BUILD.vcxproj
60
61test_script:
62
63- cmd: msbuild /m RUN_TESTS.vcxproj
64