QtPBFImagePlugin/.appveyor.yml

33 lines
764 B
YAML
Raw Normal View History

2023-09-22 00:50:12 +02:00
version: 2.4.{build}
configuration:
- Release
image:
- Visual Studio 2022
environment:
2023-09-22 09:57:43 +02:00
VCPKGDIR: C:\tools\vcpkg\installed\x64-windows
2023-09-22 00:50:12 +02:00
matrix:
- QTDIR: C:\Qt\5.15\msvc2019_64
- QTDIR: C:\Qt\6.5\msvc2019_64
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
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-09-22 10:49:16 +02:00
- path: release\pbf.dll
2023-09-22 01:18:25 +02:00
cache:
#- C:\tools\vcpkg\installed\