Skip to content

Commit

Permalink
ci: try vcpkg 2024.08.23
Browse files Browse the repository at this point in the history
  • Loading branch information
luncliff committed Sep 1, 2024
1 parent b0eb603 commit 868018b
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 41 deletions.
18 changes: 9 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,23 @@ jobs:
- checkout
- aws-cli/setup # check project variables
- run:
name: "Setup: microsoft/vcpkg(2024.07.12)"
name: "Setup: microsoft/vcpkg(2024.08.23)"
command: |
sudo apt-get update -y -q
sudo apt-get install -y -q curl zip unzip tar
mkdir -p $VCPKG_DOWNLOADS
mkdir -p $VCPKG_DEFAULT_BINARY_CACHE
git clone --branch=2024.07.12 --depth=1 https://github.com/microsoft/vcpkg
git clone --branch=2024.08.23 --depth=1 https://github.com/microsoft/vcpkg
pushd vcpkg
./bootstrap-vcpkg.sh
./vcpkg --version
popd
pwd
- restore_cache:
keys:
- v2432-linux-{{ checksum ".circleci/config.yml" }}
- v2432-linux-{{ .Branch }}
- v2432-linux-main
- v2435-linux-{{ checksum ".circleci/config.yml" }}
- v2435-linux-{{ .Branch }}
- v2435-linux-main
- run:
name: "Install APT packages"
command: |
Expand All @@ -66,11 +66,11 @@ jobs:
working_directory: vcpkg
no_output_timeout: 1h
- save_cache:
key: v2432-linux-{{ .Branch }}
key: v2435-linux-{{ .Branch }}
paths:
- /tmp/vcpkg-caches
- save_cache:
key: v2432-linux-{{ checksum ".circleci/config.yml" }}
key: v2435-linux-{{ checksum ".circleci/config.yml" }}
paths:
- /tmp/vcpkg-caches
- store_artifacts:
Expand All @@ -88,13 +88,13 @@ jobs:
- aws-cli/setup # check project variables
- android/accept-licenses
- run:
name: "Setup: microsoft/vcpkg(2024.07.12)"
name: "Setup: microsoft/vcpkg(2024.08.23)"
command: |
sudo apt-get update -y -q
sudo apt-get install -y -q curl zip unzip tar
mkdir -p $VCPKG_DOWNLOADS
mkdir -p $VCPKG_DEFAULT_BINARY_CACHE
git clone --branch=2024.07.12 --depth=1 https://github.com/microsoft/vcpkg
git clone --branch=2024.08.23 --depth=1 https://github.com/microsoft/vcpkg
pushd vcpkg
./bootstrap-vcpkg.sh
./vcpkg --version
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
strategy:
matrix:
include:
- vcpkg_tag: "2024.05.24"
vcpkg_commit: "01f602195983451bc83e72f4214af2cbc495aa94"
- vcpkg_tag: "2024.06.15"
vcpkg_commit: "f7423ee180c4b7f40d43402c2feb3859161ef625"
- vcpkg_tag: "2024.07.12"
vcpkg_commit: "1de2026f28ead93ff1773e6e680387643e914ea1"
- vcpkg_tag: "2024.08.23"
vcpkg_commit: "3508985146f1b1d248c67ead13f8f54be5b4f5da"
fail-fast: false
env:
VCPKG_FEATURE_FLAGS: "registries,binarycaching,manifests,versions"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
strategy:
matrix:
include:
- vcpkg_tag: "2024.05.24"
vcpkg_commit: "01f602195983451bc83e72f4214af2cbc495aa94"
- vcpkg_tag: "2024.06.15"
vcpkg_commit: "f7423ee180c4b7f40d43402c2feb3859161ef625"
- vcpkg_tag: "2024.07.12"
vcpkg_commit: "1de2026f28ead93ff1773e6e680387643e914ea1"
- vcpkg_tag: "2024.08.23"
vcpkg_commit: "3508985146f1b1d248c67ead13f8f54be5b4f5da"
fail-fast: false
env:
VCPKG_FEATURE_FLAGS: "registries,binarycaching,manifests,versions"
Expand Down
21 changes: 6 additions & 15 deletions .github/workflows/build-windows-hosted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
strategy:
matrix:
include:
- vcpkg_tag: "2024.05.24"
vcpkg_commit: "01f602195983451bc83e72f4214af2cbc495aa94"
- vcpkg_tag: "2024.06.15"
vcpkg_commit: "f7423ee180c4b7f40d43402c2feb3859161ef625"
- vcpkg_tag: "2024.07.12"
vcpkg_commit: "1de2026f28ead93ff1773e6e680387643e914ea1"
- vcpkg_tag: "2024.08.23"
vcpkg_commit: "3508985146f1b1d248c67ead13f8f54be5b4f5da"
fail-fast: false
env:
VCPKG_OVERLAY_PORTS: "${{ github.workspace }}/ports"
Expand All @@ -39,19 +39,6 @@ jobs:
git config --system core.longpaths true
shell: pwsh

- uses: actions/[email protected]
with:
key: "v2432-${{ runner.os }}-${{ matrix.vcpkg_tag }}"
path: |
${{ runner.temp }}/vcpkg-downloads
- name: "Create cache folders"
shell: pwsh
run: |
New-Item -Type Directory -Force ${env:VCPKG_DOWNLOADS}
env:
VCPKG_DOWNLOADS: "${{ runner.temp }}/vcpkg-downloads"

- name: "Change vcpkg.json"
run: Move-Item -Path "test/self-hosted.json" -Destination "test/vcpkg.json" -Force
shell: pwsh
Expand Down Expand Up @@ -96,6 +83,8 @@ jobs:
include:
- vcpkg_tag: "2024.06.15"
vcpkg_commit: "f7423ee180c4b7f40d43402c2feb3859161ef625"
- vcpkg_tag: "2024.08.23"
vcpkg_commit: "3508985146f1b1d248c67ead13f8f54be5b4f5da"
fail-fast: false
env:
VCPKG_OVERLAY_PORTS: "${{ github.workspace }}/ports"
Expand Down Expand Up @@ -143,6 +132,8 @@ jobs:
include:
- vcpkg_tag: "2024.06.15"
vcpkg_commit: "f7423ee180c4b7f40d43402c2feb3859161ef625"
- vcpkg_tag: "2024.08.23"
vcpkg_commit: "3508985146f1b1d248c67ead13f8f54be5b4f5da"
fail-fast: false
env:
VCPKG_OVERLAY_PORTS: "${{ github.workspace }}/ports"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
strategy:
matrix:
include:
- vcpkg_tag: "2024.05.24"
vcpkg_commit: "01f602195983451bc83e72f4214af2cbc495aa94"
- vcpkg_tag: "2024.06.15"
vcpkg_commit: "f7423ee180c4b7f40d43402c2feb3859161ef625"
- vcpkg_tag: "2024.07.12"
vcpkg_commit: "1de2026f28ead93ff1773e6e680387643e914ea1"
- vcpkg_tag: "2024.08.23"
vcpkg_commit: "3508985146f1b1d248c67ead13f8f54be5b4f5da"
fail-fast: false
env:
VCPKG_FEATURE_FLAGS: "registries,binarycaching,manifests,versions"
Expand Down
22 changes: 11 additions & 11 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ schedules:
variables:
# check https://github.com/microsoft/vcpkg/releases
- name: vcpkg.commit
value: "1de2026f28ead93ff1773e6e680387643e914ea1" # 2024.07.12
value: "3508985146f1b1d248c67ead13f8f54be5b4f5da" # 2024.08.23

- name: vcpkg.overlay.ports # == VCPKG_OVERLAY_PORTS
value: $(Build.SourcesDirectory)/ports # --overlay-ports $(Build.SourcesDirectory)/ports
Expand Down Expand Up @@ -63,9 +63,9 @@ stages:
- powershell: New-Item -Type Directory -Force "$env:VCPKG_DEFAULT_BINARY_CACHE"
- task: Cache@2
inputs:
key: '"v2432-bin-uwp" | "$(vcpkg.default.triplet)"'
key: '"v2435-bin-uwp" | "$(vcpkg.default.triplet)"'
restoreKeys: |
"v2432-bin-uwp" | "$(vcpkg.default.triplet)"
"v2435-bin-uwp" | "$(vcpkg.default.triplet)"
path: $(vcpkg.default.binary.cache)
- task: PowerShell@2
displayName: "Test: arm64-windows"
Expand Down Expand Up @@ -124,9 +124,9 @@ stages:
- powershell: New-Item -Type Directory -Force "$env:VCPKG_DEFAULT_BINARY_CACHE"
- task: Cache@2
inputs:
key: '"v2432-bin-ubuntu" | "$(vcpkg.default.triplet)_$(cc)"'
key: '"v2435-bin-ubuntu" | "$(vcpkg.default.triplet)_$(cc)"'
restoreKeys: |
"v2432-bin-ubuntu" | "$(vcpkg.default.triplet)_$(cc)"
"v2435-bin-ubuntu" | "$(vcpkg.default.triplet)_$(cc)"
path: $(vcpkg.default.binary.cache)
- task: PowerShell@2
displayName: "Test: $(cxx)"
Expand Down Expand Up @@ -168,9 +168,9 @@ stages:
- powershell: New-Item -Type Directory -Force "$env:VCPKG_DEFAULT_BINARY_CACHE"
- task: Cache@2
inputs:
key: '"v2432-bin-android" | "$(vcpkg.default.triplet)"'
key: '"v2435-bin-android" | "$(vcpkg.default.triplet)"'
restoreKeys: |
"v2432-bin-android" | "$(vcpkg.default.triplet)"
"v2435-bin-android" | "$(vcpkg.default.triplet)"
path: $(vcpkg.default.binary.cache)
- task: PowerShell@2
displayName: "Test: $(vcpkg.default.triplet)"
Expand Down Expand Up @@ -224,9 +224,9 @@ stages:
- powershell: New-Item -Type Directory -Force "$env:VCPKG_DEFAULT_BINARY_CACHE"
- task: Cache@2
inputs:
key: '"v2432-bin-osx" | "$(vcpkg.default.triplet)"'
key: '"v2435-bin-osx" | "$(vcpkg.default.triplet)"'
restoreKeys: |
"v2432-bin-osx" | "$(vcpkg.default.triplet)"
"v2435-bin-osx" | "$(vcpkg.default.triplet)"
path: $(vcpkg.default.binary.cache)
- task: PowerShell@2
displayName: "Test: osx"
Expand Down Expand Up @@ -271,9 +271,9 @@ stages:
- powershell: New-Item -Type Directory -Force "$env:VCPKG_DEFAULT_BINARY_CACHE"
- task: Cache@2
inputs:
key: '"v2432-bin-ios" | "$(vcpkg.default.triplet)"'
key: '"v2435-bin-ios" | "$(vcpkg.default.triplet)"'
restoreKeys: |
"v2432-bin-ios" | "$(vcpkg.default.triplet)"
"v2435-bin-ios" | "$(vcpkg.default.triplet)"
path: $(vcpkg.default.binary.cache)
- task: PowerShell@2
displayName: "Test: $(vcpkg.default.triplet)"
Expand Down

0 comments on commit 868018b

Please sign in to comment.