ci: build with Qt 5.15.2
This commit is contained in:
parent
38decba202
commit
95eddb3af0
18
appveyor.yml
18
appveyor.yml
|
@ -1,11 +1,13 @@
|
||||||
|
image:
|
||||||
|
- Visual Studio 2019
|
||||||
environment:
|
environment:
|
||||||
CMAKE_INSTALL_ROOT: C:\projects\cmake
|
CMAKE_INSTALL_ROOT: C:\projects\cmake
|
||||||
PACKAGE_INSTALL_ROOT: C:\projects\pir
|
PACKAGE_INSTALL_ROOT: C:\projects\pir
|
||||||
PKG_CONFIG_PATH: C:\projects\pir\lib\pkgconfig
|
PKG_CONFIG_PATH: C:\projects\pir\lib\pkgconfig
|
||||||
matrix:
|
matrix:
|
||||||
- build_name: mingw73_32_qt5_12_6
|
- build_name: mingw81_64_qt5_15_2
|
||||||
QTPATH: C:\Qt\5.12.6\mingw73_32
|
QTPATH: C:\Qt\5.15.2\mingw81_64
|
||||||
MINGW32: C:\Qt\Tools\mingw730_32
|
MINGW64: C:\Qt\Tools\mingw810_64
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- mkdir %CMAKE_INSTALL_ROOT%
|
- mkdir %CMAKE_INSTALL_ROOT%
|
||||||
|
@ -13,6 +15,8 @@ install:
|
||||||
- cd %APPVEYOR_BUILD_FOLDER%
|
- cd %APPVEYOR_BUILD_FOLDER%
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
- set PATH=%PATH%;%CMAKE_INSTALL_ROOT%;%QTPATH%\bin;%MINGW32%\bin
|
- set PATH=%PATH%;%CMAKE_INSTALL_ROOT%;%QTPATH%\bin;%MINGW32%\bin
|
||||||
|
- set CC=%MINGW64%\bin\gcc.exe
|
||||||
|
- set CXX=%MINGW64%\bin\g++.exe
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
# prepare
|
# prepare
|
||||||
|
@ -31,12 +35,12 @@ build_script:
|
||||||
# finally...
|
# finally...
|
||||||
- mkdir build
|
- mkdir build
|
||||||
- cd build
|
- cd build
|
||||||
- cmake .. -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_MAKE_PROGRAM=mingw32-make -DCMAKE_INSTALL_PREFIX='%cd%'
|
- cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX='%cd%'
|
||||||
- mingw32-make
|
- cmake --build .
|
||||||
- mingw32-make install
|
- cmake --build . --target install
|
||||||
# fixme: I don't know how to NOT make the binary installed to the ./bin/ folder...
|
# fixme: I don't know how to NOT make the binary installed to the ./bin/ folder...
|
||||||
- cd bin
|
- cd bin
|
||||||
- windeployqt --verbose=2 --no-quick-import --no-translations --no-opengl-sw --no-angle --no-system-d3d-compiler --release .\pmusic.exe
|
- windeployqt --verbose=2 --no-quick-import --no-translations --no-opengl-sw --no-angle --no-system-d3d-compiler .\pmusic.exe
|
||||||
- xcopy /s %PACKAGE_INSTALL_ROOT%\bin %cd%
|
- xcopy /s %PACKAGE_INSTALL_ROOT%\bin %cd%
|
||||||
# for debug..
|
# for debug..
|
||||||
- tree /f
|
- tree /f
|
||||||
|
|
Loading…
Reference in New Issue
Block a user