2024-10-06 12:44:01 +02:00
|
|
|
version: 3.2.{build}
|
2023-09-22 00:50:12 +02:00
|
|
|
|
|
|
|
configuration:
|
|
|
|
- Release
|
|
|
|
|
|
|
|
image:
|
|
|
|
- Visual Studio 2022
|
|
|
|
|
|
|
|
environment:
|
2023-09-26 20:14:18 +02:00
|
|
|
VCPKGDIR: C:\tools\vcpkg\installed\x64-windows-static-md
|
2023-09-22 00:50:12 +02:00
|
|
|
matrix:
|
|
|
|
- QTDIR: C:\Qt\5.15\msvc2019_64
|
2024-04-22 08:15:45 +02:00
|
|
|
- QTDIR: C:\Qt\6.7\msvc2019_64
|
2023-09-22 00:50:12 +02:00
|
|
|
|
|
|
|
install:
|
|
|
|
- cmd: |-
|
2023-09-22 01:18:25 +02:00
|
|
|
set PATH=%QTDIR%\bin;%VCPKGDIR%\tools\protobuf;%PATH%
|
2023-09-22 00:50:12 +02:00
|
|
|
call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat
|
2023-09-26 19:43:01 +02:00
|
|
|
vcpkg install protobuf:x64-windows-static-md
|
|
|
|
vcpkg install zlib:x64-windows-static-md
|
2023-09-22 09:19:37 +02:00
|
|
|
copy /y %VCPKGDIR%\lib\zlib.lib %VCPKGDIR%\lib\zlibstatic.lib
|
2023-09-22 00:50:12 +02:00
|
|
|
|
|
|
|
build_script:
|
|
|
|
- cmd: |-
|
|
|
|
qmake PROTOBUF=%VCPKGDIR% ZLIB=%VCPKGDIR% pbfplugin.pro
|
|
|
|
nmake release
|
|
|
|
|
|
|
|
artifacts:
|
2023-12-11 08:16:07 +01:00
|
|
|
- path: release\pbf3.dll
|
2023-09-22 01:18:25 +02:00
|
|
|
|
|
|
|
cache:
|
2023-09-26 20:14:18 +02:00
|
|
|
- C:\tools\vcpkg\installed\
|