2018-08-19 09:28:34 +00:00
|
|
|
image: Visual Studio 2017
|
|
|
|
|
|
|
|
environment:
|
2018-08-19 09:45:31 +00:00
|
|
|
DEPLOY_DIR: Matrique-%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-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-08-19 09:45:31 +00:00
|
|
|
- qmake matrique.pro PREFIX="%DEPLOY_DIR%"
|
2018-08-19 09:36:13 +00:00
|
|
|
- nmake
|
2018-08-19 09:45:31 +00:00
|
|
|
|
|
|
|
after_build:
|
|
|
|
- nmake install
|
|
|
|
- 7z a matrique.zip "%DEPLOY_DIR%\"
|
2018-08-19 09:28:34 +00:00
|
|
|
|
|
|
|
artifacts:
|
2018-08-19 09:45:31 +00:00
|
|
|
- path: matrique.zip
|
2018-08-19 09:28:34 +00:00
|
|
|
name: portable
|