{
  "displayNames": {
    "_": ""
  },
  "include": [
    {
      "StaticConfigs": {
        "macos-latest": {
          "Pool": "env:MACPOOL",
          "OSVmImage": "env:MACVMIMAGE",
          "VCPKG_DEFAULT_TRIPLET": "x64-osx",
          "BuildArgs": "-j 4"
        }
      },
      "BuildConfig": {
        "x64_with_unit_test": {
          "CmakeArgs": " -DBUILD_TESTING=ON -DRUN_LONG_UNIT_TESTS=ON -DBUILD_PERFORMANCE_TESTS=ON -DBUILD_SAMPLES=ON -DDISABLE_PROXY_TESTS=ON ",
          "AZURE_CORE_ENABLE_JSON_TESTS": 1
        }
      }
    },
    {
      "StaticConfigs": {
        "Ubu2204": {
          "VCPKG_DEFAULT_TRIPLET": "x64-linux",
          "BuildArgs": "-j 4",
          "Pool": "env:LINUXPOOL",
          "OSVmImage": "env:LINUXVMIMAGE",
          "RunProxyTests": true
        }
      },
      "BuildConfig": {
        "x64_with_unit_test": {
          "CmakeArgs": " -DBUILD_TESTING=ON -DBUILD_PERFORMANCE_TESTS=ON -DRUN_LONG_UNIT_TESTS=ON -DCMAKE_BUILD_TYPE=Debug -DBUILD_CODE_COVERAGE=ON",
          "AptDependencies": "gcovr lcov",
          "CODE_COVERAGE": "enabled",
          "CODE_COVERAGE_COLLECT_ONLY": 1,
          "AZURE_CORE_ENABLE_JSON_TESTS": 1
        },
        "x64_with_unit_test_release": {
          "CmakeArgs": " -DBUILD_TESTING=ON -DBUILD_PERFORMANCE_TESTS=ON -DRUN_LONG_UNIT_TESTS=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_SAMPLES=ON",
          "AZURE_CORE_ENABLE_JSON_TESTS": 1
        },
        "samples": {
          "CmakeArgs": " -DBUILD_TESTING=ON -DBUILD_SAMPLES=ON -DCMAKE_BUILD_TYPE=Release ",
          "RunSamples": 1
        },
        "x64_no_rtti": {
          "CmakeArgs": " -DBUILD_RTTI=OFF -DCMAKE_BUILD_TYPE=Release "
        }
      }
    },
    {
      "StaticConfigs": {
        "Win2022": {
          "Pool": "env:WINDOWSPOOL",
          "OSVmImage": "env:WINDOWSVMIMAGE",
          "CMAKE_GENERATOR": "Visual Studio 17 2022"
        }
      },
      "BuildConfig": {
        "x86_with_unit_test_winHttp": {
          "VcpkgInstall": "openssl",
          "CMAKE_GENERATOR_PLATFORM": "Win32",
          "CmakeArgs": " -DBUILD_TESTING=ON -DRUN_LONG_UNIT_TESTS=ON -DBUILD_PERFORMANCE_TESTS=ON -DMSVC_USE_STATIC_CRT=ON -DDISABLE_PROXY_TESTS=ON ",
          "VCPKG_DEFAULT_TRIPLET": "x86-windows-static",
          "WindowsCtestConfig": "-C Release",
          "BuildArgs": "-v --parallel 8 --config Release"
        },
        "x86_no_rtti_with_unit_test": {
          "VcpkgInstall": "libxml2 openssl",
          "CMAKE_GENERATOR_PLATFORM": "Win32",
          "CmakeArgs": " -DBUILD_RTTI=OFF -DBUILD_TESTING=ON -DBUILD_SAMPLES=ON -DMSVC_USE_STATIC_CRT=ON -DDISABLE_PROXY_TESTS=ON ",
          "VCPKG_DEFAULT_TRIPLET": "x86-windows-static",
          "WindowsCtestConfig": "-C Release",
          "BuildArgs": "-v --parallel 8 --config Release"
        },
        "x86_with_unit_test_libcurl": {
          "CMAKE_GENERATOR_PLATFORM": "Win32",
          "VCPKG_DEFAULT_TRIPLET": "x86-windows-static",
          "CmakeArgs": " -DBUILD_TRANSPORT_CURL=ON -DBUILD_TESTING=ON -DRUN_LONG_UNIT_TESTS=ON -DBUILD_PERFORMANCE_TESTS=ON -DMSVC_USE_STATIC_CRT=ON -DDISABLE_PROXY_TESTS=ON ",
          "BuildArgs": "-v --parallel 8"
        },
        "x64_with_unit_samples_libcurl": {
          "VcpkgInstall": "curl[winssl] openssl",
          "VCPKG_DEFAULT_TRIPLET": "x64-windows-static",
          "CMAKE_GENERATOR_PLATFORM": "x64",
          "CmakeArgs": " -DBUILD_TRANSPORT_CURL=ON -DBUILD_TESTING=ON -DRUN_LONG_UNIT_TESTS=ON -DBUILD_PERFORMANCE_TESTS=ON  -DBUILD_SAMPLES=ON -DMSVC_USE_STATIC_CRT=ON -DDISABLE_PROXY_TESTS=ON ",
          "BuildArgs": "-v --parallel 8 --config Release",
          "WindowsCtestConfig": "-C Release"
        }
      }
    },
    {
      "StaticConfigs": {
        "Win2022": {
          "Pool": "env:WINDOWSPOOL",
          "OSVmImage": "env:WINDOWSVMIMAGE",
          "CMAKE_GENERATOR": "Visual Studio 17 2022",
          "RunProxyTests": true
        }
      },
      "BuildConfig": {
        "x64_with_json_unit_test_winHttp": {
          "VcpkgInstall": "openssl",
          "CMAKE_GENERATOR_PLATFORM": "x64",
          "CmakeArgs": " -DBUILD_TESTING=ON -DRUN_LONG_UNIT_TESTS=ON -DBUILD_PERFORMANCE_TESTS=ON -DDISABLE_AZURE_CORE_OPENTELEMETRY=ON ",
          "BuildArgs": "-v --parallel 8 --config Release",
          "AZURE_CORE_ENABLE_JSON_TESTS": 1,
          "VCPKG_DEFAULT_TRIPLET": "x64-windows-static",
          "WindowsCtestConfig": "-C Release"
        },
        "x86_with_unit_test_libcurl": {
          "CMAKE_GENERATOR_PLATFORM": "Win32",
          "VCPKG_DEFAULT_TRIPLET": "x86-windows-static",
          "CmakeArgs": " -DBUILD_TRANSPORT_CURL=ON -DBUILD_TESTING=ON -DRUN_LONG_UNIT_TESTS=ON -DBUILD_PERFORMANCE_TESTS=ON -DMSVC_USE_STATIC_CRT=ON ",
          "BuildArgs": "-v --parallel 8"
        },
        "x64_with_json_unit_samples_winHttp": {
          "VcpkgInstall": "openssl",
          "VCPKG_DEFAULT_TRIPLET": "x64-windows-static",
          "CMAKE_GENERATOR_PLATFORM": "x64",
          "CmakeArgs": " -DBUILD_TESTING=ON -DRUN_LONG_UNIT_TESTS=ON -DBUILD_PERFORMANCE_TESTS=ON -DBUILD_SAMPLES=ON -DDISABLE_AZURE_CORE_OPENTELEMETRY=ON ",
          "BuildArgs": "-v --parallel 8 --config Release",
          "AZURE_CORE_ENABLE_JSON_TESTS": 1,
          "WindowsCtestConfig": "-C Release"
        },
        "x64_with_unit_test_winHttp": {
          "VcpkgInstall": "openssl",
          "CMAKE_GENERATOR_PLATFORM": "x64",
          "CmakeArgs": " -DBUILD_TESTING=ON -DRUN_LONG_UNIT_TESTS=ON -DBUILD_PERFORMANCE_TESTS=ON -DMSVC_USE_STATIC_CRT=ON ",
          "BuildArgs": "-v --parallel 8 --config Release",
          "VCPKG_DEFAULT_TRIPLET": "x64-windows-static",
          "WindowsCtestConfig": "-C Release"
        },
        "x64_with_unit_samples_winHttp": {
          "VcpkgInstall": "openssl",
          "VCPKG_DEFAULT_TRIPLET": "x64-windows-static",
          "CMAKE_GENERATOR_PLATFORM": "x64",
          "CmakeArgs": " -DBUILD_TESTING=ON -DRUN_LONG_UNIT_TESTS=ON -DBUILD_PERFORMANCE_TESTS=ON -DBUILD_SAMPLES=ON -DMSVC_USE_STATIC_CRT=ON ",
          "BuildArgs": "-v --parallel 8 --config Release",
          "WindowsCtestConfig": "-C Release"
        },
        "x64_with_unit_samples_libcurl": {
          "VcpkgInstall": "curl[winssl] openssl",
          "VCPKG_DEFAULT_TRIPLET": "x64-windows-static",
          "CMAKE_GENERATOR_PLATFORM": "x64",
          "CmakeArgs": " -DBUILD_TRANSPORT_CURL=ON -DBUILD_TESTING=ON -DRUN_LONG_UNIT_TESTS=ON -DBUILD_PERFORMANCE_TESTS=ON  -DBUILD_SAMPLES=ON -DMSVC_USE_STATIC_CRT=ON ",
          "BuildArgs": "-v --parallel 8 --config Release",
          "WindowsCtestConfig": "-C Release"
        }
      }
    }
  ]
}
