Spectral/.appveyor.yml

31 lines
795 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:
2019-02-13 08:14:13 +00:00
- QTDIR: C:\Qt\5.12.1\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"
2019-02-13 08:14:13 +00:00
- set PATH=%PATH%;C:\Qt\Tools\QtCreator\bin
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-15 04:07:37 +00:00
- qmake spectral.pro CONFIG+=release CONFIG+=qtquickcompiler PREFIX="%DEPLOY_DIR%"
2019-02-13 08:14:13 +00:00
- nmake
2018-10-22 10:19:11 +00:00
2018-08-19 09:45:31 +00:00
after_build:
2019-02-13 08:14:13 +00:00
- nmake install
2018-11-18 08:35:37 +00:00
- windeployqt --release --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-11-25 23:53:04 +00:00
name: portable