Skip to content

Commit

Permalink
azure: remove powershell in Apple stage
Browse files Browse the repository at this point in the history
  • Loading branch information
luncliff committed Nov 24, 2024
1 parent 49e3786 commit f9cf38e
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)"'
Expand Down

0 comments on commit f9cf38e

Please sign in to comment.