add libcurl to livetest pipeline (#1413)

This commit is contained in:
Victor Vazquez 2021-01-20 19:39:00 -08:00 committed by GitHub
parent bae689aee2
commit 473c7ee0b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,21 +32,39 @@ jobs:
CODE_COVERAGE: '${{ parameters.Coverage }}'
# Avoid re-running tests again for code coverage since the tests were previously ran
CODE_COVERAGE_COLLECT_ONLY: 1
Win_x86_with_unit_test:
# Not asking for any transport adapter will default to OS -> windows:winHttp or !windows:libcurl
Win_x86_with_unit_test_winHttp:
OSVmImage: 'windows-2019'
VcpkgInstall: 'curl[winssl] libxml2 nlohmann-json'
VcpkgInstall: 'libxml2 nlohmann-json'
VCPKG_DEFAULT_TRIPLET: 'x86-windows-static'
CMAKE_GENERATOR: 'Visual Studio 16 2019'
CMAKE_GENERATOR_PLATFORM: Win32
CmakeArgs: ' -DBUILD_TESTING=ON -DRUN_LONG_UNIT_TESTS=ON'
BuildArgs: '-v --parallel 8'
Win_x64_with_unit_test:
Win_x64_with_unit_test_winHttp:
OSVmImage: 'windows-2019'
VcpkgInstall: 'libxml2 nlohmann-json'
VCPKG_DEFAULT_TRIPLET: 'x64-windows-static'
CMAKE_GENERATOR: 'Visual Studio 16 2019'
CMAKE_GENERATOR_PLATFORM: x64
CmakeArgs: ' -DBUILD_TESTING=ON -DRUN_LONG_UNIT_TESTS=ON'
BuildArgs: '-v --parallel 8'
# specify libcurl to be used on Windows
Win_x86_with_unit_test_libcurl:
OSVmImage: 'windows-2019'
VcpkgInstall: 'curl[winssl] libxml2 nlohmann-json'
VCPKG_DEFAULT_TRIPLET: 'x86-windows-static'
CMAKE_GENERATOR: 'Visual Studio 16 2019'
CMAKE_GENERATOR_PLATFORM: Win32
CmakeArgs: ' -DBUILD_TRANSPORT_CURL=ON -DBUILD_TESTING=ON -DRUN_LONG_UNIT_TESTS=ON'
BuildArgs: '-v --parallel 8'
Win_x64_with_unit_test_libcurl:
OSVmImage: 'windows-2019'
VcpkgInstall: 'curl[winssl] libxml2 nlohmann-json'
VCPKG_DEFAULT_TRIPLET: 'x64-windows-static'
CMAKE_GENERATOR: 'Visual Studio 16 2019'
CMAKE_GENERATOR_PLATFORM: x64
CmakeArgs: ' -DBUILD_TESTING=ON -DRUN_LONG_UNIT_TESTS=ON'
CmakeArgs: ' -DBUILD_TRANSPORT_CURL=ON -DBUILD_TESTING=ON -DRUN_LONG_UNIT_TESTS=ON'
BuildArgs: '-v --parallel 8'
MacOS_x64_with_unit_test:
OSVmImage: 'macOS-10.14'