diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5f2dcb08..18239da6 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -162,16 +162,13 @@ stages: - script: brew install $(cat test/packages-homebrew.txt) continueOnError: true displayName: "Install HomeBrew packages" - - task: PowerShell@2 + - script: | + mkdir -p "$VCPKG_DEFAULT_BINARY_CACHE" + pushd /usr/local/share/ + git clone --branch "$VCPKG_VERSION" --depth 1 https://github.com/microsoft/vcpkg + ./bootstrap-vcpkg.sh -disableMetrics + popd displayName: "Setup vcpkg" - inputs: - script: | - New-Item -Type Directory -Force "$env:VCPKG_DEFAULT_BINARY_CACHE" - Push-Location /usr/local/share/ - git clone --branch "$env:VCPKG_VERSION" --depth 1 https://github.com/microsoft/vcpkg - ./bootstrap-vcpkg.sh -disableMetrics - Pop-Location - targetType: 'inline' - task: Cache@2 inputs: key: '"v2445-bin-ios" | "$(vcpkg.default.triplet)"'