azure-sdk-for-cpp/eng/pipelines/templates/steps/vcpkg.yml
Anton Kolesnyk 63ac69506f
Update vcpkg baseline (#6574)
* Update vcpkg baseline

* Make code to compile with either newer or older version of opentelemetry-cpp

* Clang-format

* Suppress otel warnings in stress test code

* Update CI to update vcpkg cache if the run is PR-initiated

* Turn SSL caching off by default

* Make code to compile with either newer or older version of opentelemetry-cpp

* Clang-format

* Integrate the exact copy of #6581 - to make sure we're testing the same change with libcurl >= 8.12, and also make future merging easier

* Update cspell

* Move feature to bugfix

* Update vcpkg.yml

* Copy #6582 to verify against the latest libcurl

* Undo unnecessary changes

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-05-21 11:57:28 -07:00

27 lines
1.1 KiB
YAML

steps:
- pwsh: |
Write-Host "##vso[task.setvariable variable=VCPKG_BINARY_SOURCES_SECRET;issecret=true;]clear;x-azblob,https://azuresdkartifacts.blob.core.windows.net/public-vcpkg-container,,read"
Write-Host "##vso[task.setvariable variable=X_VCPKG_ASSET_SOURCES_SECRET;issecret=true;]clear;x-azurl,https://azuresdkartifacts.blob.core.windows.net/public-vcpkg-container,,read"
displayName: Set Vcpkg Variables
- script: vcpkg --version
condition: >-
and(
succeeded(),
not(eq(variables['Agent.OS'], 'Darwin'))
)
displayName: vcpkg --version
- ${{if eq(variables['System.TeamProject'], 'internal') }}:
- task: AzurePowerShell@5
displayName: Set Vcpkg Write-mode Cache
inputs:
azureSubscription: 'Azure SDK Artifacts'
ScriptType: FilePath
ScriptPath: eng/scripts/Set-VcpkgWriteModeCache.ps1
azurePowerShellVersion: LatestVersion
pwsh: true
# This step is idempotent and can be run multiple times in cases of
# failure and partial execution.
retryCountOnTaskFailure: 3