2020-06-03 04:13:30 +00:00
|
|
|
version: 1.{branch}.{build}
|
|
|
|
|
|
|
|
image: Visual Studio 2017
|
|
|
|
|
|
|
|
cache: c:\tools\vcpkg\installed
|
|
|
|
|
|
|
|
init:
|
|
|
|
|
|
|
|
- cmd: ''
|
|
|
|
|
|
|
|
install:
|
|
|
|
|
|
|
|
- cmd: >-
|
|
|
|
|
|
|
|
vcpkg install zlib:x64-windows-static
|
|
|
|
|
|
|
|
vcpkg install libevent:x64-windows-static
|
|
|
|
|
|
|
|
vcpkg install pcre:x64-windows-static
|
|
|
|
|
|
|
|
vcpkg integrate install
|
|
|
|
|
|
|
|
build_script:
|
|
|
|
|
|
|
|
- cmd: >-
|
|
|
|
|
|
|
|
vcpkg list
|
|
|
|
|
|
|
|
git clone https://boringssl.googlesource.com/boringssl
|
|
|
|
|
|
|
|
cd boringssl
|
|
|
|
|
2020-06-12 12:04:42 +00:00
|
|
|
git checkout 251b5169fd44345f455438312ec4e18ae07fd58c
|
2020-06-03 04:13:30 +00:00
|
|
|
|
|
|
|
cmake -DCMAKE_GENERATOR_PLATFORM=x64 --config Debug -DBUILD_SHARED_LIBS=OFF -DOPENSSL_NO_ASM=1 .
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
msbuild /m ALL_BUILD.vcxproj
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
git submodule init
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
git submodule update
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 .
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
msbuild /m ALL_BUILD.vcxproj
|
|
|
|
|
|
|
|
test_script:
|
|
|
|
|
|
|
|
- cmd: msbuild /m RUN_TESTS.vcxproj
|