Fix vcpkg CI pipeline

vcpkg repo seems now to be a complete repo rather than shallow as before
This commit is contained in:
derselbst 2021-12-05 17:45:10 +01:00
parent 056e29ea59
commit 56034e7f2b

View file

@ -69,17 +69,17 @@ jobs:
# ninja --version
cmake --version
rm -rf C:/Strawberry/perl/bin/pkg-config*
choco install --svc --sdc -i pkgconfiglite &
chocoTask=$!
choco install --svc --sdc -i pkgconfiglite
# chocoTask=$!
# manually update vcpkg
cd $VCPKG_INSTALLATION_ROOT
# git checkout master
git remote -v
git fetch --unshallow --tags --prune --progress origin
git fetch --tags --prune --progress origin
git checkout --force $(VCPKG_REVISION)
sed -i 's/arm64/arm/g' ports/glib/portfile.cmake
./bootstrap-vcpkg.sh
wait $chocoTask
# wait $chocoTask
which pkg-config
displayName: 'Update vcpkg'
- task: DownloadBuildArtifacts@0