2018-11-22 09:04:36 +00:00
|
|
|
version: build{build}
|
2018-11-22 09:01:16 +00:00
|
|
|
|
2018-11-22 09:26:09 +00:00
|
|
|
image: Visual Studio 2017
|
|
|
|
|
2018-11-25 03:40:08 +00:00
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
- VCVARSALL : C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat
|
|
|
|
QT_PATH : C:\Qt\5.11.2\msvc2017_64\bin
|
|
|
|
PLATFORM : amd64
|
|
|
|
- VCVARSALL : C:\Program Files (x86)\Microsoft Visual Studio 13.0\VC\vcvarsall.bat
|
|
|
|
QT_PATH : C:\Qt\5.11.2\msvc2015_32\bin
|
|
|
|
PLATFORM : x86
|
2018-11-22 09:04:36 +00:00
|
|
|
|
|
|
|
clone_folder: c:\dev\labrador
|
2018-11-22 09:10:55 +00:00
|
|
|
clone_depth: 1
|
2018-11-25 03:30:12 +00:00
|
|
|
configuration: Release
|
2018-11-22 09:01:16 +00:00
|
|
|
|
2018-11-25 02:12:53 +00:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
|
2018-11-22 09:01:16 +00:00
|
|
|
init:
|
2018-11-25 03:30:12 +00:00
|
|
|
- set PATH=%QT_PATH%;%PATH%
|
2018-11-25 04:03:58 +00:00
|
|
|
- call "%VCVARSALL%" %PLATFORM%
|
2018-11-25 01:56:24 +00:00
|
|
|
|
2018-11-22 09:01:16 +00:00
|
|
|
before_build:
|
|
|
|
- cd c:\dev\labrador\Desktop_Interface
|
|
|
|
|
|
|
|
build_script:
|
|
|
|
- qmake
|
2018-11-25 02:47:26 +00:00
|
|
|
- nmake
|
2018-11-25 01:52:42 +00:00
|
|
|
|
2018-11-25 01:56:24 +00:00
|
|
|
after_build:
|
|
|
|
- windeployqt bin/Labrador.exe
|
|
|
|
|
2018-11-25 01:52:42 +00:00
|
|
|
artifacts:
|
2018-11-25 02:08:33 +00:00
|
|
|
- path: Desktop_Interface\bin
|
2018-11-25 03:40:08 +00:00
|
|
|
name: Labrador_%PLATFORM%
|
2018-11-25 01:52:42 +00:00
|
|
|
type: zip
|