ScreenTranslator/.appveyor.yml

46 lines
1.0 KiB
YAML
Raw Normal View History

2017-08-05 20:10:15 +07:00
image: Visual Studio 2015
environment:
ARCH: x86
2017-08-07 15:04:01 +07:00
sf_secret:
secure: 8QOHSPQLI/lmjgOhyGOsMA5MxOdeSnlFWWKjntqEfBMfW/XCuiEk5tHNjZiiAw8N
sf_api:
secure: S4qrbAdLq3Hw5yozC7XAavTGzpPPh8MleX+r8kaueBtPZUeJGt+8EoqaPw0P1PzV
2017-08-07 15:09:06 +07:00
clone_depth: 1
platform:
- x64
2017-08-05 20:10:15 +07:00
init:
- if /i %APPVEYOR_REPO_TAG% == true set WITH_TESSDATA=1
2017-08-06 15:50:05 +07:00
cache:
- installed -> scripts\win\prepare.bat
2017-08-05 20:10:15 +07:00
install:
2017-08-07 15:04:01 +07:00
- cinst winscp
- nuget install secure-file -ExcludeVersion
2017-08-05 20:10:15 +07:00
- call "scripts\win\prepare.bat"
build_script:
- call "scripts\win\build.bat"
artifacts:
- path: 'screen-translator-*.exe'
name: installer
deploy:
- provider: GitHub
description: "Version $(APPVEYOR_REPO_TAG_NAME)"
auth_token:
secure: NnyUV44yNAx8ea1L46dVhE4kQxUGd5M1O+yVk+9ncsNHWtw/9JoCnDqNybnxTccP
artifact: installer
force_update: true
on:
appveyor_repo_tag: true
2017-08-07 15:04:01 +07:00
after_deploy:
- secure-file\tools\secure-file -decrypt scripts\win\sf_key.av -secret %sf_secret% -out scripts\win\sf_key
- call "scripts\win\deploy_sf.bat"