mirror of
https://github.com/simonbrunel/qtpromise.git
synced 2024-10-30 15:57:39 +08:00
Configure AppVeyor to run Qt 6.x tests
This commit is contained in:
parent
9f01c130cd
commit
21faa67b58
@ -1,27 +1,34 @@
|
||||
image: Visual Studio 2015
|
||||
|
||||
init:
|
||||
- cmd: call "C:\Program Files (x86)\Microsoft Visual Studio "%VSVER%".0\VC\vcvarsall.bat" %ARCH%
|
||||
- cmd: qmake --version
|
||||
|
||||
# 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:
|
||||
- QTDIR: C:\Qt\5.6\msvc2013
|
||||
VSVER: 12
|
||||
ARCH: x86
|
||||
- QTDIR: C:\Qt\5.9\msvc2013_64
|
||||
VSVER: 12
|
||||
ARCH: x64
|
||||
- QTDIR: C:\Qt\latest\msvc2015_64
|
||||
VSVER: 14
|
||||
ARCH: x64
|
||||
- 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:
|
||||
- cmd: cmake -G "NMake Makefiles"
|
||||
- cmd: cmake --build .
|
||||
- cmake -G "NMake Makefiles"
|
||||
- cmake --build .
|
||||
|
||||
test_script:
|
||||
- cmd: cmake --build . --target test
|
||||
- cmake --build . --target test
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
|
@ -1,11 +1,11 @@
|
||||
sudo: required
|
||||
dist: trusty
|
||||
dist: xenial
|
||||
language: cpp
|
||||
compiler: gcc
|
||||
|
||||
before_install:
|
||||
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
||||
- sudo add-apt-repository -y ppa:beineri/opt-qt563-trusty
|
||||
- sudo add-apt-repository -y ppa:beineri/opt-qt563-xenial
|
||||
- sudo apt-get update -qq
|
||||
|
||||
install:
|
||||
|
Loading…
Reference in New Issue
Block a user