2022-07-01 05:17:02 +08:00
|
|
|
# https://www.appveyor.com/docs/build-configuration/
|
|
|
|
# https://www.appveyor.com/docs/lang/cpp/#visual-studio
|
2018-09-10 02:51:11 +08:00
|
|
|
# https://www.appveyor.com/docs/windows-images-software/#qt
|
2022-07-01 05:17:02 +08:00
|
|
|
|
2018-05-24 00:31:35 +08:00
|
|
|
environment:
|
|
|
|
PATH: '%PATH%;%QTDIR%\bin'
|
|
|
|
matrix:
|
2022-07-01 05:17:02 +08:00
|
|
|
- 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
|
2018-05-24 00:31:35 +08:00
|
|
|
|
|
|
|
build_script:
|
2022-07-01 05:17:02 +08:00
|
|
|
- cmake -G "NMake Makefiles"
|
|
|
|
- cmake --build .
|
2018-05-24 00:31:35 +08:00
|
|
|
|
|
|
|
test_script:
|
2022-07-01 05:17:02 +08:00
|
|
|
- cmake --build . --target test
|
2018-05-24 00:31:35 +08:00
|
|
|
|
2022-07-01 05:17:02 +08:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|