Pin vcpkg ports to the specific version
MODIFY
ci/install-bionic-vcpkg.sh
ci/install-bionic-vcpkg.sh
@@ -10,7 +10,8 @@ if [ ! -e "$VCPKG_ROOT" ]; then
git clone --depth=1 https://github.com/Microsoft/vcpkg.git "$VCPKG_ROOT"
fi
pushd "$VCPKG_ROOT"
-git pull
+git fetch --all --prune --tags
+git checkout 2020.11-1
./bootstrap-vcpkg.sh -disableMetrics
#./vcpkg integrate install
echo "set(VCPKG_BUILD_TYPE release)" >> triplets/x64-linux.cmake

MODIFY
ci/install-windows-vcpkg.sh
ci/install-windows-vcpkg.sh
@@ -10,7 +10,8 @@ if [ ! -e "$VCPKG_ROOT" ]; then
git clone --depth=1 https://github.com/Microsoft/vcpkg.git "$VCPKG_ROOT"
fi
pushd "$VCPKG_ROOT"
-git pull
+git fetch --all --prune --tags
+git checkout 2020.11-1
cmd "/C bootstrap-vcpkg.bat -disableMetrics"
#./vcpkg integrate install
echo "set(VCPKG_BUILD_TYPE release)" >> triplets/x64-windows.cmake

MODIFY
ci/script.sh
ci/script.sh
@@ -4,7 +4,7 @@ set -vex
if [[ "$OS_FAMILY" == "windows" ]]; then
export PATH="/C/Program Files/LLVM/bin:$PATH"
- export LIBCLANG_PATH="/C/Program Files/LLVM/bin/libclang.dll"
+ export LIBCLANG_PATH="/C/Program Files/LLVM/bin"
if [[ "$CHOCO_OPENCV_VERSION" != "" ]]; then # chocolatey build
# missing aruco module that will not allow us to run tests, that's why contrib feature is not enabled
export PATH="/C/tools/opencv/build/x64/vc15/bin:$PATH"

Pin vcpkg ports to the specific version