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:
|
2018-11-25 04:20:30 +00:00
|
|
|
- QT_PATH : C:\Qt\5.11.2\msvc2017_64\bin
|
2018-11-25 03:40:08 +00:00
|
|
|
PLATFORM : amd64
|
2018-11-26 00:56:49 +00:00
|
|
|
OUTPUT_BIN_DIR : bin64
|
2018-11-25 04:26:51 +00:00
|
|
|
- QT_PATH : C:\Qt\5.11.2\msvc2015\bin
|
2018-11-25 03:40:08 +00:00
|
|
|
PLATFORM : x86
|
2018-11-26 00:56:49 +00:00
|
|
|
OUTPUT_BIN_DIR : bin32
|
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:20:30 +00:00
|
|
|
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %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-26 00:56:49 +00:00
|
|
|
- del bin/vcredist*.exe
|
|
|
|
- deb bin/*.pdb
|
|
|
|
- cd C:\dev
|
|
|
|
- git clone --depth 1 https://github.com/EspoTek/Labrador-win-builder
|
|
|
|
- xcopy /i /s /y c:\dev\labrador\Desktop_Interface\bin %OUTPUT_BIN_DIR%
|
|
|
|
- git add %OUTPUT_BIN_DIR%
|
|
|
|
- git commit -a -m "Automatic update from main Labrador repository"
|
|
|
|
- git push
|
2018-11-25 01:56:24 +00:00
|
|
|
|
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
|