From 473c7ee0b007ce59c62721ae82a14888aa68e9ff Mon Sep 17 00:00:00 2001 From: Victor Vazquez Date: Wed, 20 Jan 2021 19:39:00 -0800 Subject: [PATCH] add libcurl to livetest pipeline (#1413) --- .../templates/jobs/archetype-sdk-tests.yml | 26 ++++++++++++++++--- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/eng/pipelines/templates/jobs/archetype-sdk-tests.yml b/eng/pipelines/templates/jobs/archetype-sdk-tests.yml index 7b25db8d0..331a995e0 100644 --- a/eng/pipelines/templates/jobs/archetype-sdk-tests.yml +++ b/eng/pipelines/templates/jobs/archetype-sdk-tests.yml @@ -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'