Skip to content

Commit

Permalink
ci: update cache key to 2403
Browse files Browse the repository at this point in the history
  • Loading branch information
luncliff committed Jan 21, 2024
1 parent 3746d36 commit ac2a102
Showing 1 changed file with 22 additions and 28 deletions.
50 changes: 22 additions & 28 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ trigger:
exclude:
- docs
- gh-pages
- circleci*

# pr:
# - main
Expand Down Expand Up @@ -75,9 +74,9 @@ stages:
- powershell: New-Item -Type Directory -Force "$env:VCPKG_DEFAULT_BINARY_CACHE"
- task: Cache@2
inputs:
key: '"v2352-bin-mac-host"'
key: '"v2403-bin-mac-host"'
restoreKeys: |
"v2352-bin-mac-host"
"v2403-bin-mac-host"
path: $(vcpkg.default.binary.cache)
- task: run-vcpkg@0
displayName: "coreml-tools"
Expand Down Expand Up @@ -117,16 +116,15 @@ stages:
- powershell: New-Item -Type Directory -Force "$env:VCPKG_DEFAULT_BINARY_CACHE"
- task: Cache@2
inputs:
key: '"v2352-down-uwp"'
key: '"v2403-down-uwp"'
restoreKeys: |
"v2352-down-uwp"
"v2351-down-uwp"
"v2403-down-uwp"
path: $(Build.BinariesDirectory)/vcpkg/downloads
- task: Cache@2
inputs:
key: '"v2352-bin-uwp" | "$(vcpkg.default.triplet)"'
key: '"v2403-bin-uwp" | "$(vcpkg.default.triplet)"'
restoreKeys: |
"v2352-bin-uwp" | "$(vcpkg.default.triplet)"
"v2403-bin-uwp" | "$(vcpkg.default.triplet)"
path: $(vcpkg.default.binary.cache)
- task: run-vcpkg@0
inputs:
Expand Down Expand Up @@ -174,16 +172,15 @@ stages:
- powershell: New-Item -Type Directory -Force "$env:VCPKG_DEFAULT_BINARY_CACHE"
- task: Cache@2
inputs:
key: '"v2352-down-ubuntu"'
key: '"v2403-down-ubuntu"'
restoreKeys: |
"v2352-down-ubuntu"
"v2351-down-ubuntu"
"v2403-down-ubuntu"
path: $(Build.BinariesDirectory)/vcpkg/downloads
- task: Cache@2
inputs:
key: '"v2352-bin-ubuntu" | "$(vcpkg.default.triplet)_$(cc)"'
key: '"v2403-bin-ubuntu" | "$(vcpkg.default.triplet)_$(cc)"'
restoreKeys: |
"v2352-bin-ubuntu" | "$(vcpkg.default.triplet)_$(cc)"
"v2403-bin-ubuntu" | "$(vcpkg.default.triplet)_$(cc)"
path: $(vcpkg.default.binary.cache)
- task: run-vcpkg@0
inputs:
Expand Down Expand Up @@ -222,16 +219,15 @@ stages:
- powershell: New-Item -Type Directory -Force "$env:VCPKG_DEFAULT_BINARY_CACHE"
- task: Cache@2
inputs:
key: '"v2352-down-android"'
key: '"v2403-down-android"'
restoreKeys: |
"v2352-down-android"
"v2351-down-android"
"v2403-down-android"
path: $(Build.BinariesDirectory)/vcpkg/downloads
- task: Cache@2
inputs:
key: '"v2352-bin-android" | "$(vcpkg.default.triplet)"'
key: '"v2403-bin-android" | "$(vcpkg.default.triplet)"'
restoreKeys: |
"v2352-bin-android" | "$(vcpkg.default.triplet)"
"v2403-bin-android" | "$(vcpkg.default.triplet)"
path: $(vcpkg.default.binary.cache)
- task: run-vcpkg@0
inputs:
Expand Down Expand Up @@ -280,16 +276,15 @@ stages:
- powershell: New-Item -Type Directory -Force "$env:VCPKG_DEFAULT_BINARY_CACHE"
- task: Cache@2
inputs:
key: '"v2352-down-apple"'
key: '"v2403-down-apple"'
restoreKeys: |
"v2352-down-apple"
"v2351-down-apple"
"v2403-down-apple"
path: $(Build.BinariesDirectory)/vcpkg/downloads
- task: Cache@2
inputs:
key: '"v2352-bin-osx" | "$(vcpkg.default.triplet)"'
key: '"v2403-bin-osx" | "$(vcpkg.default.triplet)"'
restoreKeys: |
"v2352-bin-osx" | "$(vcpkg.default.triplet)"
"v2403-bin-osx" | "$(vcpkg.default.triplet)"
path: $(vcpkg.default.binary.cache)
- task: run-vcpkg@0
inputs:
Expand Down Expand Up @@ -326,16 +321,15 @@ stages:
- powershell: New-Item -Type Directory -Force "$env:VCPKG_DEFAULT_BINARY_CACHE"
- task: Cache@2
inputs:
key: '"v2352-down-apple"'
key: '"v2403-down-apple"'
restoreKeys: |
"v2352-down-apple"
"v2351-down-apple"
"v2403-down-apple"
path: $(Build.BinariesDirectory)/vcpkg/downloads
- task: Cache@2
inputs:
key: '"v2352-bin-ios" | "$(vcpkg.default.triplet)"'
key: '"v2403-bin-ios" | "$(vcpkg.default.triplet)"'
restoreKeys: |
"v2352-bin-ios" | "$(vcpkg.default.triplet)"
"v2403-bin-ios" | "$(vcpkg.default.triplet)"
path: $(vcpkg.default.binary.cache)
- task: run-vcpkg@0
displayName: "arm64-ios"
Expand Down

0 comments on commit ac2a102

Please sign in to comment.