30 lines
739 B
YAML
30 lines
739 B
YAML
image: Visual Studio 2017
|
|
|
|
environment:
|
|
DEPLOY_DIR: Matrique-%APPVEYOR_BUILD_VERSION%
|
|
matrix:
|
|
- 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%
|
|
- call "%VCVARS%" %platform%
|
|
- cd /D "%APPVEYOR_BUILD_FOLDER%"
|
|
|
|
before_build:
|
|
- git submodule update --init --recursive
|
|
|
|
build_script:
|
|
- qmake matrique.pro PREFIX="%DEPLOY_DIR%"
|
|
- nmake
|
|
|
|
after_build:
|
|
- nmake install
|
|
- windeployqt --release --qmldir qml "%DEPLOY_DIR%\matrique.exe"
|
|
- 7z a matrique.zip "%DEPLOY_DIR%\"
|
|
|
|
artifacts:
|
|
- path: matrique.zip
|
|
name: portable |