Textractor_test/.appveyor.yml

41 lines
1.0 KiB
YAML
Raw Normal View History

version: '{branch}-{build}'
2021-01-31 14:43:25 +08:00
configuration: RelWithDebInfo
clone_folder: C:\Textractor
skip_branch_with_pr: false
2021-01-31 14:43:25 +08:00
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
2021-01-31 14:43:25 +08:00
arch: x64
msvc_name: Visual Studio 16 2019
platform: x64
qtbin: msvc2017_64
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
2021-01-31 14:43:25 +08:00
arch: x86
msvc_name: Visual Studio 16 2019
platform: Win32
qtbin: msvc2017
before_build:
- cd C:\
2021-01-31 14:43:25 +08:00
- mkdir %arch%
- cd %arch%
- cmake -G "%msvc_name%" -A "%platform%" -DQt5_DIR="C:\Qt\5.13\%qtbin%\lib\cmake\Qt5" -DCMAKE_BUILD_TYPE="RelWithDebInfo" ../Textractor
build:
2021-01-31 14:43:25 +08:00
project: C:\%arch%\Textractor.sln
2021-02-22 05:15:59 +08:00
parallel: false
verbosity: normal
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
notifications:
- provider: Email
to:
- akashmozumdar@gmail.com
on_build_success: false
on_build_failure: true
on_build_status_changed: true