Skip to content

Commit

Permalink
CI: Use binary caching in Azure Pipelines and Reorganize stages (#171)
Browse files Browse the repository at this point in the history
* ci: add variable group "Azure-Blob-Storage"

* check Azure Pipelines, Library

* ci: add schema to JSON files

* ci azure: caching with Azure Blob Storage

* use variable vcpkg.binray.sources
* use inline scripts

* ci azure: change APT, Homebrew package install

* ci azure: reorganize Stage & Job

* remove `run-vcpkg` steps
* use .txt files to acquire port list
  • Loading branch information
luncliff authored Feb 12, 2024
1 parent eb7c79a commit 0832961
Show file tree
Hide file tree
Showing 16 changed files with 199 additions and 166 deletions.
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ jobs:
Pop-Location
- restore_cache:
keys:
- v2404-caches-{{ .Branch }}
- v2404-caches-{{ checksum ".circleci/config.yml" }}
- v2406-caches-{{ .Branch }}
- v2406-caches-{{ checksum ".circleci/config.yml" }}
- v2406-caches-main
- v2404-caches-main
- v2352-caches-main
- run:
name: "Install: port-windows.txt"
shell: "powershell.exe"
Expand All @@ -72,15 +72,15 @@ jobs:
equal: [ main, << pipeline.git.branch >> ]
steps:
- save_cache:
key: v2404-caches-main
key: v2406-caches-main
paths:
- C:/vcpkg-caches
- save_cache:
key: v2404-caches-{{ .Branch }}
key: v2406-caches-{{ .Branch }}
paths:
- C:/vcpkg-caches
- save_cache:
key: v2404-caches-{{ checksum ".circleci/config.yml" }}
key: v2406-caches-{{ checksum ".circleci/config.yml" }}
paths:
- C:/vcpkg-caches
- store_artifacts:
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ Targets...
* https://learn.microsoft.com/en-us/vcpkg/maintainers/registries
* Vcpkg mainstream: https://github.com/microsoft/vcpkg
* https://github.com/microsoft/vcpkg-tool/releases
* Vcpkg configuration
* https://learn.microsoft.com/en-us/vcpkg/reference/vcpkg-configuration-json

## How To

Expand Down
Loading

0 comments on commit 0832961

Please sign in to comment.