mirror of
https://github.com/simonbrunel/qtpromise.git
synced 2024-11-23 19:20:57 +08:00
35 lines
1.0 KiB
YAML
35 lines
1.0 KiB
YAML
# https://www.appveyor.com/docs/build-configuration/
|
|
# https://www.appveyor.com/docs/lang/cpp/#visual-studio
|
|
# https://www.appveyor.com/docs/windows-images-software/#qt
|
|
|
|
environment:
|
|
PATH: '%PATH%;%QTDIR%\bin'
|
|
matrix:
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
|
QTDIR: C:\Qt\5.6\msvc2013
|
|
SETUP_CMD: C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat
|
|
SETUP_ARG: x86
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
|
QTDIR: C:\Qt\5.15\msvc2019_64
|
|
SETUP_CMD: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
|
QTDIR: C:\Qt\6.2\msvc2019_64
|
|
SETUP_CMD: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat
|
|
|
|
before_build:
|
|
- call "%SETUP_CMD%" %SETUP_ARG%
|
|
- cmake --version
|
|
- qmake --version
|
|
|
|
build_script:
|
|
- cmake -G "NMake Makefiles"
|
|
- cmake --build .
|
|
|
|
test_script:
|
|
- cmake --build . --target test
|
|
|
|
matrix:
|
|
fast_finish: true
|