2018-05-24 00:31:35 +08:00
|
|
|
image: Visual Studio 2015
|
|
|
|
|
|
|
|
init:
|
|
|
|
- cmd: call "C:\Program Files (x86)\Microsoft Visual Studio "%VSVER%".0\VC\vcvarsall.bat" %ARCH%
|
2018-09-10 02:51:11 +08:00
|
|
|
- cmd: qmake --version
|
2018-05-24 00:31:35 +08:00
|
|
|
|
2018-09-10 02:51:11 +08:00
|
|
|
# https://www.appveyor.com/docs/windows-images-software/#qt
|
2018-05-24 00:31:35 +08:00
|
|
|
environment:
|
|
|
|
PATH: '%PATH%;%QTDIR%\bin'
|
|
|
|
matrix:
|
|
|
|
- QTDIR: C:\Qt\5.6\msvc2013
|
|
|
|
VSVER: 12
|
|
|
|
ARCH: x86
|
|
|
|
- QTDIR: C:\Qt\5.9\msvc2013_64
|
|
|
|
VSVER: 12
|
|
|
|
ARCH: x64
|
2018-09-10 02:51:11 +08:00
|
|
|
- QTDIR: C:\Qt\latest\msvc2015_64
|
|
|
|
VSVER: 14
|
|
|
|
ARCH: x64
|
2018-05-24 00:31:35 +08:00
|
|
|
|
|
|
|
build_script:
|
2020-01-12 02:10:19 +08:00
|
|
|
- cmd: cmake -G "NMake Makefiles"
|
|
|
|
- cmd: cmake --build .
|
2018-05-24 00:31:35 +08:00
|
|
|
|
|
|
|
test_script:
|
2020-01-12 02:10:19 +08:00
|
|
|
- cmd: cmake --build . --target test
|
2018-05-24 00:31:35 +08:00
|
|
|
|