Use debug build in CI.
This commit is contained in:
@@ -6,7 +6,7 @@ environment:
|
||||
- QTDIR: C:\Qt\5.11\msvc2017_64
|
||||
VCVARS: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Auxiliary\\Build\\vcvars64.bat"
|
||||
PLATFORM:
|
||||
|
||||
|
||||
init:
|
||||
- call "%QTDIR%\bin\qtenv2.bat"
|
||||
- set PATH=C:\Qt\Tools\QtCreator\bin;%PATH%
|
||||
@@ -17,12 +17,12 @@ before_build:
|
||||
- git submodule update --init --recursive
|
||||
|
||||
build_script:
|
||||
- qmake spectral.pro CONFIG+=qtquickcompiler PREFIX="%DEPLOY_DIR%"
|
||||
- qmake spectral.pro CONFIG+=debug CONFIG+=qml_debug PREFIX="%DEPLOY_DIR%"
|
||||
- nmake
|
||||
|
||||
|
||||
after_build:
|
||||
- nmake install
|
||||
- windeployqt --release --qmldir qml --qmldir imports "%DEPLOY_DIR%\spectral.exe"
|
||||
- windeployqt --debug --qmldir qml --qmldir imports "%DEPLOY_DIR%\spectral.exe"
|
||||
- 7z a spectral.zip "%DEPLOY_DIR%\"
|
||||
|
||||
artifacts:
|
||||
|
||||
Reference in New Issue
Block a user