Skip to content

Commit 7dc2ada

Browse files
committed
Patch vcpkg triplets to build only release versions
Signed-off-by: Iacopo Rozzo <[email protected]>
1 parent 5866216 commit 7dc2ada

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/actions/install-vcpkg/action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ runs:
2626
shell: bash
2727
id: vcpkg
2828
run: |
29+
# Note, this is a workaround to avoid building debug versions that are not used in the build process
30+
# TODO: Find a cleaner way to do this
31+
find "$(pwd)/vcpkg/triplets/" -name "*.cmake" -type f -exec sh -c "echo \"set(VCPKG_BUILD_TYPE release)\" >> {}" \;
2932
./vcpkg/bootstrap-vcpkg.sh
3033
echo "$(pwd)/vcpkg" >> $GITHUB_PATH
3134
echo "VCPKG_ROOT=$(pwd)/vcpkg" >> $GITHUB_ENV

0 commit comments

Comments
 (0)