qtpromise/.appveyor.yml

35 lines
1.0 KiB
YAML
Raw Normal View History

2022-07-01 05:17:02 +08:00
# 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
2022-07-01 05:17:02 +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
build_script:
2022-07-01 05:17:02 +08:00
- cmake -G "NMake Makefiles"
- cmake --build .
test_script:
2022-07-01 05:17:02 +08:00
- cmake --build . --target test
2022-07-01 05:17:02 +08:00
matrix:
fast_finish: true