mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-11-15 21:25:44 +08:00
Added Qt6 MinGW build to .appveyor.yml
This commit is contained in:
parent
a4190ecbf0
commit
b0c8edbd82
@ -10,18 +10,19 @@ environment:
|
|||||||
# Appveyor doesn't have Qt 12 yet
|
# Appveyor doesn't have Qt 12 yet
|
||||||
LatestQtVersion: 5.13
|
LatestQtVersion: 5.13
|
||||||
matrix:
|
matrix:
|
||||||
|
|
||||||
# 32 bit builds
|
# 32 bit builds
|
||||||
# MSVC 2015 builds
|
# MSVC 2017 builds
|
||||||
# Dynamic Library builds
|
# Dynamic Library builds
|
||||||
# LTS version of Qt, dll, 32bit, MSVC 2015, qmake
|
# LTS version of Qt, dll, 32bit, MSVC 2017, qmake
|
||||||
- QT5: C:\Qt\%LatestQtVersion%\msvc2017
|
- QT: C:\Qt\%LatestQtVersion%\msvc2017
|
||||||
COMPILER: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build
|
COMPILER: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build
|
||||||
targetPlatform: x86
|
targetPlatform: x86
|
||||||
use_mingw: "false"
|
use_mingw: "false"
|
||||||
use_static: "false"
|
use_static: "false"
|
||||||
use_cmake: "false"
|
use_cmake: "false"
|
||||||
# LTS version of Qt, dll, 32bit, MSVC 2015, cmake
|
# LTS version of Qt, dll, 32bit, MSVC 2017, cmake
|
||||||
- QT5: C:\Qt\%LatestQtVersion%\msvc2017
|
- QT: C:\Qt\%LatestQtVersion%\msvc2017
|
||||||
COMPILER: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build
|
COMPILER: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build
|
||||||
targetPlatform: x86
|
targetPlatform: x86
|
||||||
use_mingw: "false"
|
use_mingw: "false"
|
||||||
@ -29,33 +30,34 @@ environment:
|
|||||||
use_cmake: "true"
|
use_cmake: "true"
|
||||||
# end Dynamic Library builds
|
# end Dynamic Library builds
|
||||||
# Static Library builds
|
# Static Library builds
|
||||||
# LTS version of Qt, static, 32bit, MSVC 2015, qmake
|
# LTS version of Qt, static, 32bit, MSVC 2017, qmake
|
||||||
- QT5: C:\Qt\%LatestQtVersion%\msvc2017
|
- QT: C:\Qt\%LatestQtVersion%\msvc2017
|
||||||
COMPILER: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build
|
COMPILER: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build
|
||||||
targetPlatform: x86
|
targetPlatform: x86
|
||||||
use_mingw: "false"
|
use_mingw: "false"
|
||||||
use_static: "true"
|
use_static: "true"
|
||||||
use_cmake: "false"
|
use_cmake: "false"
|
||||||
# LTS version of Qt, static, 32bit, MSVC 2015, cmake
|
# LTS version of Qt, static, 32bit, MSVC 2017, cmake
|
||||||
- QT5: C:\Qt\%LatestQtVersion%\msvc2017
|
- QT: C:\Qt\%LatestQtVersion%\msvc2017
|
||||||
COMPILER: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build
|
COMPILER: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build
|
||||||
targetPlatform: x86
|
targetPlatform: x86
|
||||||
use_mingw: "false"
|
use_mingw: "false"
|
||||||
use_static: "true"
|
use_static: "true"
|
||||||
use_cmake: "true"
|
use_cmake: "true"
|
||||||
# end Static Library builds
|
# end Static Library builds
|
||||||
# end MSVC 2015 builds
|
# end MSVC 2017 builds
|
||||||
|
|
||||||
# MinGW builds
|
# MinGW builds
|
||||||
# Dynamic Library builds
|
# Dynamic Library builds
|
||||||
# LTS version of Qt, dll, 32bit, MinGW, qmake
|
# LTS version of Qt, dll, 32bit, MinGW, qmake
|
||||||
- QT5: C:\Qt\%LatestQtVersion%\mingw73_32
|
- QT: C:\Qt\%LatestQtVersion%\mingw73_32
|
||||||
COMPILER: C:\Qt\Tools\mingw730_32
|
COMPILER: C:\Qt\Tools\mingw730_32
|
||||||
targetPlatform: x86
|
targetPlatform: x86
|
||||||
use_mingw: "true"
|
use_mingw: "true"
|
||||||
use_static: "false"
|
use_static: "false"
|
||||||
use_cmake: "false"
|
use_cmake: "false"
|
||||||
# LTS version of Qt, dll, 32bit, MinGW, cmake
|
# LTS version of Qt, dll, 32bit, MinGW, cmake
|
||||||
- QT5: C:\Qt\%LatestQtVersion%\mingw73_32
|
- QT: C:\Qt\%LatestQtVersion%\mingw73_32
|
||||||
COMPILER: C:\Qt\Tools\mingw730_32
|
COMPILER: C:\Qt\Tools\mingw730_32
|
||||||
targetPlatform: x86
|
targetPlatform: x86
|
||||||
use_mingw: "true"
|
use_mingw: "true"
|
||||||
@ -64,14 +66,14 @@ environment:
|
|||||||
# end Dynamic Library builds
|
# end Dynamic Library builds
|
||||||
# Static Library builds
|
# Static Library builds
|
||||||
# LTS version of Qt, static, 32bit, MinGW, qmake
|
# LTS version of Qt, static, 32bit, MinGW, qmake
|
||||||
- QT5: C:\Qt\%LatestQtVersion%\mingw73_32
|
- QT: C:\Qt\%LatestQtVersion%\mingw73_32
|
||||||
COMPILER: C:\Qt\Tools\mingw730_32
|
COMPILER: C:\Qt\Tools\mingw730_32
|
||||||
targetPlatform: x86
|
targetPlatform: x86
|
||||||
use_mingw: "true"
|
use_mingw: "true"
|
||||||
use_static: "true"
|
use_static: "true"
|
||||||
use_cmake: "false"
|
use_cmake: "false"
|
||||||
# LTS version of Qt, static, 32bit, MinGW, cmake
|
# LTS version of Qt, static, 32bit, MinGW, cmake
|
||||||
- QT5: C:\Qt\%LatestQtVersion%\mingw73_32
|
- QT: C:\Qt\%LatestQtVersion%\mingw73_32
|
||||||
COMPILER: C:\Qt\Tools\mingw730_32
|
COMPILER: C:\Qt\Tools\mingw730_32
|
||||||
targetPlatform: x86
|
targetPlatform: x86
|
||||||
use_mingw: "true"
|
use_mingw: "true"
|
||||||
@ -80,18 +82,19 @@ environment:
|
|||||||
# end Static Library builds
|
# end Static Library builds
|
||||||
# end MinGW builds
|
# end MinGW builds
|
||||||
# end 32 bit builds
|
# end 32 bit builds
|
||||||
|
|
||||||
# 64 bit builds
|
# 64 bit builds
|
||||||
# MSVC 2015 builds
|
# MSVC 2017 builds
|
||||||
# Dynamic Library builds
|
# Dynamic Library builds
|
||||||
# LTS version of Qt, dll, 64bit, MSVC 2015, qmake
|
# LTS version of Qt, dll, 64bit, MSVC 2017, qmake
|
||||||
- QT5: C:\Qt\%LatestQtVersion%\msvc2017_64
|
- QT: C:\Qt\%LatestQtVersion%\msvc2017_64
|
||||||
COMPILER: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build
|
COMPILER: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build
|
||||||
targetPlatform: amd64
|
targetPlatform: amd64
|
||||||
use_mingw: "false"
|
use_mingw: "false"
|
||||||
use_static: "false"
|
use_static: "false"
|
||||||
use_cmake: "false"
|
use_cmake: "false"
|
||||||
# LTS version of Qt, dll, 64bit, MSVC 2015, cmake
|
# LTS version of Qt, dll, 64bit, MSVC 2017, cmake
|
||||||
- QT5: C:\Qt\%LatestQtVersion%\msvc2017_64
|
- QT: C:\Qt\%LatestQtVersion%\msvc2017_64
|
||||||
COMPILER: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build
|
COMPILER: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build
|
||||||
targetPlatform: amd64
|
targetPlatform: amd64
|
||||||
use_mingw: "false"
|
use_mingw: "false"
|
||||||
@ -99,15 +102,15 @@ environment:
|
|||||||
use_cmake: "true"
|
use_cmake: "true"
|
||||||
# end Dynamic Library builds
|
# end Dynamic Library builds
|
||||||
# Static Library builds
|
# Static Library builds
|
||||||
# LTS version of Qt, static, 64bit, MSVC 2015, qmake
|
# LTS version of Qt, static, 64bit, MSVC 2017, qmake
|
||||||
- QT5: C:\Qt\%LatestQtVersion%\msvc2017_64
|
- QT: C:\Qt\%LatestQtVersion%\msvc2017_64
|
||||||
COMPILER: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build
|
COMPILER: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build
|
||||||
targetPlatform: amd64
|
targetPlatform: amd64
|
||||||
use_mingw: "false"
|
use_mingw: "false"
|
||||||
use_static: "true"
|
use_static: "true"
|
||||||
use_cmake: "false"
|
use_cmake: "false"
|
||||||
# LTS version of Qt, static, 64bit, MSVC 2015, cmake
|
# LTS version of Qt, static, 64bit, MSVC 2017, cmake
|
||||||
- QT5: C:\Qt\%LatestQtVersion%\msvc2017_64
|
- QT: C:\Qt\%LatestQtVersion%\msvc2017_64
|
||||||
COMPILER: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build
|
COMPILER: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build
|
||||||
targetPlatform: amd64
|
targetPlatform: amd64
|
||||||
use_mingw: "false"
|
use_mingw: "false"
|
||||||
@ -115,6 +118,14 @@ environment:
|
|||||||
use_cmake: "true"
|
use_cmake: "true"
|
||||||
# end Static Library builds
|
# end Static Library builds
|
||||||
# end MSVC 2015 builds
|
# end MSVC 2015 builds
|
||||||
|
# MinGW builds
|
||||||
|
- QT: C:\Qt\6.0.0\mingw81_64
|
||||||
|
COMPILER: C:\Qt\Tools\mingw81_64
|
||||||
|
targetPlatform: amd64
|
||||||
|
use_mingw: "true"
|
||||||
|
use_static: "false"
|
||||||
|
use_cmake: "false"
|
||||||
|
# end MinGW builds
|
||||||
# end 64 bit builds
|
# end 64 bit builds
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
@ -122,7 +133,7 @@ matrix:
|
|||||||
|
|
||||||
before_build:
|
before_build:
|
||||||
- set originalWD=%CD%
|
- set originalWD=%CD%
|
||||||
- call "%QT5%\bin\qtenv2.bat"
|
- call "%QT%\bin\qtenv2.bat"
|
||||||
- cd /D %originalWD%
|
- cd /D %originalWD%
|
||||||
- if %use_mingw%==false call "%COMPILER%\vcvarsall.bat" %targetPlatform%
|
- if %use_mingw%==false call "%COMPILER%\vcvarsall.bat" %targetPlatform%
|
||||||
- if %use_static%==true (set USESTATIC=ON) else (set USESTATIC=OFF)
|
- if %use_static%==true (set USESTATIC=ON) else (set USESTATIC=OFF)
|
||||||
|
Loading…
Reference in New Issue
Block a user