mirror of
https://github.com/tumic0/QtPBFImagePlugin.git
synced 2025-01-18 03:52:09 +01:00
32 lines
694 B
YAML
32 lines
694 B
YAML
version: 4.0.{build}
|
|
|
|
configuration:
|
|
- Release
|
|
|
|
image:
|
|
- Visual Studio 2022
|
|
|
|
environment:
|
|
VCPKGDIR: C:\tools\vcpkg\installed\x64-windows-static-md-release
|
|
matrix:
|
|
- QTDIR: C:\Qt\5.15\msvc2019_64
|
|
- QTDIR: C:\Qt\6.8\msvc2022_64
|
|
|
|
install:
|
|
- cmd: |-
|
|
set PATH=%QTDIR%\bin;%PATH%
|
|
call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat
|
|
vcpkg install zlib:x64-windows-static-md-release
|
|
copy /y %VCPKGDIR%\lib\zlib.lib %VCPKGDIR%\lib\zlibstatic.lib
|
|
|
|
build_script:
|
|
- cmd: |-
|
|
qmake ZLIB=%VCPKGDIR% pbfplugin.pro
|
|
nmake release
|
|
|
|
artifacts:
|
|
- path: release\pbf4.dll
|
|
|
|
cache:
|
|
- C:\tools\vcpkg\installed\
|