Fixed protoc path + added cache

This commit is contained in:
Martin Tůma 2023-09-22 01:18:25 +02:00
parent 5577590f6b
commit 11e360d9a4

View File

@ -14,7 +14,7 @@ environment:
install: install:
- cmd: |- - cmd: |-
set PATH=%QTDIR%\bin;%VCPKGDIR%\tools;%PATH% set PATH=%QTDIR%\bin;%VCPKGDIR%\tools\protobuf;%PATH%
call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat
vcpkg install protobuf:x64-windows vcpkg install protobuf:x64-windows
vcpkg install zlib:x64-windows vcpkg install zlib:x64-windows
@ -26,3 +26,6 @@ build_script:
artifacts: artifacts:
- path: pbf.dll - path: pbf.dll
cache:
- C:\tools\vcpkg\installed\