Spectral/.appveyor.yml

30 lines
790 B
YAML
Raw Normal View History

2018-08-19 09:28:34 +00:00
image: Visual Studio 2017
environment:
DEPLOY_DIR: Spectral-%APPVEYOR_BUILD_VERSION%
2018-08-19 09:28:34 +00:00
matrix:
2018-08-19 09:31:02 +00:00
- QTDIR: C:\Qt\5.11\msvc2017_64
2018-08-19 09:32:35 +00:00
VCVARS: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Auxiliary\\Build\\vcvars64.bat"
PLATFORM:
2018-10-22 10:19:11 +00:00
2018-08-19 09:28:34 +00:00
init:
- call "%QTDIR%\bin\qtenv2.bat"
- set PATH=C:\Qt\Tools\QtCreator\bin;%PATH%
2018-08-19 09:32:35 +00:00
- call "%VCVARS%" %platform%
2018-08-19 09:28:34 +00:00
- cd /D "%APPVEYOR_BUILD_FOLDER%"
before_build:
- git submodule update --init --recursive
build_script:
2018-11-18 08:23:02 +00:00
- qmake spectral.pro CONFIG+=release CONFIG+=qtquickcompiler PREFIX="%DEPLOY_DIR%"
2018-08-19 09:36:13 +00:00
- nmake
2018-10-22 10:19:11 +00:00
2018-08-19 09:45:31 +00:00
after_build:
- nmake install
2018-10-22 10:19:11 +00:00
- windeployqt --debug --qmldir qml --qmldir imports "%DEPLOY_DIR%\spectral.exe"
- 7z a spectral.zip "%DEPLOY_DIR%\"
2018-08-19 09:28:34 +00:00
artifacts:
- path: spectral.zip
2018-08-19 09:28:34 +00:00
name: portable