Skip to content

Commit 7068d5f

Browse files
authored
Fix vcpkg default host triplet (#876)
This should fix duplicate builds of dependencies that use the host triplet, so now only the release triplet should show up in the vcpkg installed directory
1 parent 3c7a392 commit 7068d5f

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.github/workflows/vcpkg_ci_linux.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ jobs:
5858

5959
env:
6060
ARTIFACT_NAME: vcpkg_${{ matrix.image.name }}-${{ matrix.image.tag }}_${{ matrix.llvm }}_${{ matrix.host.arch }}.tar.xz
61+
VCPKG_DEFAULT_HOST_TRIPLET: ${{ matrix.host.triplet }}
6162

6263
steps:
6364
# Used to get commit message since PRs are on a merge commit

.github/workflows/vcpkg_ci_mac.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ env:
44
# "Source" is set in the setup-dotnet action
55
VCPKG_BINARY_SOURCES: 'clear;nuget,Source,readwrite;nugettimeout,3601'
66
TRIPLET: 'x64-osx-rel'
7+
VCPKG_DEFAULT_HOST_TRIPLET: 'x64-osx-rel'
78

89
on:
910
release:

.github/workflows/vcpkg_ci_windows.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ env:
44
# "Source" is set in the setup-dotnet action
55
VCPKG_BINARY_SOURCES: 'clear;nuget,Source,readwrite;nugettimeout,3601'
66
TRIPLET: 'x64-windows-static-md-rel'
7+
VCPKG_DEFAULT_HOST_TRIPLET: 'x64-windows-static-md-rel'
78

89
on:
910
release:

0 commit comments

Comments
 (0)