Use debug build in CI.

This commit is contained in:
Black Hat 2018-10-22 10:19:11 +00:00
parent 7ee13837b1
commit dac2314a7e
3 changed files with 6 additions and 6 deletions

View File

@ -6,7 +6,7 @@ environment:
- QTDIR: C:\Qt\5.11\msvc2017_64 - QTDIR: C:\Qt\5.11\msvc2017_64
VCVARS: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Auxiliary\\Build\\vcvars64.bat" VCVARS: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Auxiliary\\Build\\vcvars64.bat"
PLATFORM: PLATFORM:
init: init:
- call "%QTDIR%\bin\qtenv2.bat" - call "%QTDIR%\bin\qtenv2.bat"
- set PATH=C:\Qt\Tools\QtCreator\bin;%PATH% - set PATH=C:\Qt\Tools\QtCreator\bin;%PATH%
@ -17,12 +17,12 @@ before_build:
- git submodule update --init --recursive - git submodule update --init --recursive
build_script: build_script:
- qmake spectral.pro CONFIG+=qtquickcompiler PREFIX="%DEPLOY_DIR%" - qmake spectral.pro CONFIG+=debug CONFIG+=qml_debug PREFIX="%DEPLOY_DIR%"
- nmake - nmake
after_build: after_build:
- nmake install - 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%\" - 7z a spectral.zip "%DEPLOY_DIR%\"
artifacts: artifacts:

View File

@ -23,7 +23,7 @@ build-appimage:
- git submodule update --init --recursive - git submodule update --init --recursive
script: script:
- /opt/qt511/bin/qt511-env.sh - /opt/qt511/bin/qt511-env.sh
- /opt/qt511/bin/qmake CONFIG+=release CONFIG+=qtquickcompiler PREFIX=/usr - /opt/qt511/bin/qmake CONFIG+=debug CONFIG+=qml_debug PREFIX=/usr
- make - make
- make INSTALL_ROOT=appdir install - make INSTALL_ROOT=appdir install
- /usr/bin/linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/org.eu.encom.spectral.desktop -appimage -qmldir=qml -qmldir=imports -qmake=/opt/qt511/bin/qmake - /usr/bin/linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/org.eu.encom.spectral.desktop -appimage -qmldir=qml -qmldir=imports -qmake=/opt/qt511/bin/qmake

View File

@ -10,7 +10,7 @@ install:
- git submodule update --init --recursive - git submodule update --init --recursive
script: script:
- qmake spectral.pro CONFIG+=qtquickcompiler PREFIX="${DEPLOY_DIR}" - qmake spectral.pro CONFIG+=debug CONFIG+=qml_debug PREFIX="${DEPLOY_DIR}"
- make - make
- make install - make install
- macdeployqt ${DEPLOY_DIR}/bin/spectral.app -dmg -qmldir=qml -qmldir=imports - macdeployqt ${DEPLOY_DIR}/bin/spectral.app -dmg -qmldir=qml -qmldir=imports