2021-01-16 01:16:08 +08:00
|
|
|
version: '{branch}-{build}'
|
2021-01-31 14:43:25 +08:00
|
|
|
configuration: RelWithDebInfo
|
2021-01-16 01:16:08 +08:00
|
|
|
clone_folder: C:\Textractor
|
|
|
|
skip_branch_with_pr: false
|
2021-01-31 14:43:25 +08:00
|
|
|
|
2021-01-16 01:16:08 +08:00
|
|
|
environment:
|
|
|
|
matrix:
|
2022-07-27 11:59:26 +08:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
2021-01-31 14:43:25 +08:00
|
|
|
arch: x64
|
2021-01-16 01:16:08 +08:00
|
|
|
platform: x64
|
2022-07-27 11:59:26 +08:00
|
|
|
qtbin: msvc2017_64
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
2021-01-31 14:43:25 +08:00
|
|
|
arch: x86
|
2021-01-16 01:16:08 +08:00
|
|
|
platform: Win32
|
2022-07-27 11:59:26 +08:00
|
|
|
qtbin: msvc2017
|
2021-01-16 01:16:08 +08:00
|
|
|
|
|
|
|
before_build:
|
2021-11-07 21:18:42 +08:00
|
|
|
- git submodule update --init
|
2021-01-16 01:16:08 +08:00
|
|
|
- cd C:\
|
2021-01-31 14:43:25 +08:00
|
|
|
- mkdir %arch%
|
|
|
|
- cd %arch%
|
2022-07-27 11:59:26 +08:00
|
|
|
- cmake -G "Visual Studio 15 2017" -A %platform% -DQt5_DIR="C:\Qt\5.13.2\%qtbin%\lib\cmake\Qt5" -DCMAKE_BUILD_TYPE="RelWithDebInfo" -DVERSION="" ../Textractor
|
2021-01-16 01:16:08 +08:00
|
|
|
|
|
|
|
build:
|
2021-01-31 14:43:25 +08:00
|
|
|
project: C:\%arch%\Textractor.sln
|
2021-02-22 05:15:59 +08:00
|
|
|
parallel: false
|
2021-01-16 01:16:08 +08:00
|
|
|
verbosity: normal
|
|
|
|
|
2021-01-31 13:56:31 +08:00
|
|
|
after_build:
|
2021-01-31 14:43:25 +08:00
|
|
|
- 7z a Textractor-Alpha%APPVEYOR_BUILD_NUMBER%-%arch%.zip C:\Textractor\builds\RelWithDebInfo_%arch%\*
|
|
|
|
- appveyor PushArtifact Textractor-Alpha%APPVEYOR_BUILD_NUMBER%-%arch%.zip
|
2021-01-16 01:16:08 +08:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
- provider: Email
|
|
|
|
to:
|
|
|
|
- akashmozumdar@gmail.com
|
|
|
|
on_build_success: false
|
|
|
|
on_build_failure: true
|
|
|
|
on_build_status_changed: true
|