2018-05-30 00:19:12 +08:00
|
|
|
environment:
|
|
|
|
matrix:
|
2019-07-19 21:00:19 +08:00
|
|
|
# does not work with sw at the moment
|
2019-01-16 02:46:35 +08:00
|
|
|
#- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
|
|
|
#platform: Win32
|
2020-09-10 20:40:07 +08:00
|
|
|
#- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
|
|
#platform: Win32
|
|
|
|
#- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
2019-07-19 21:00:19 +08:00
|
|
|
#platform: Win64
|
2020-09-10 20:40:07 +08:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
|
|
|
platform: Win64
|
2017-09-17 00:47:04 +08:00
|
|
|
|
2015-09-07 03:30:11 +08:00
|
|
|
configuration:
|
2016-01-14 19:02:48 +08:00
|
|
|
- Release
|
2017-09-17 00:47:04 +08:00
|
|
|
|
2018-07-10 21:46:42 +08:00
|
|
|
cache:
|
2019-02-03 21:12:28 +08:00
|
|
|
- c:/Users/appveyor/.sw -> appveyor.yml
|
2018-12-18 23:33:56 +08:00
|
|
|
|
2016-12-15 22:00:58 +08:00
|
|
|
before_build:
|
2019-01-20 20:59:55 +08:00
|
|
|
- curl -fsS -L -o dl.zip https://github.com/SoftwareNetwork/binaries/raw/master/sw-master-windows-client.zip
|
2019-01-09 04:33:34 +08:00
|
|
|
- 7z x dl.zip
|
2016-09-26 18:12:59 +08:00
|
|
|
- set PATH=%PATH%;%cd%
|
2016-12-15 21:04:18 +08:00
|
|
|
|
2018-12-18 23:33:56 +08:00
|
|
|
build_script:
|
2019-07-14 13:44:58 +08:00
|
|
|
- sw -version
|
2019-02-21 06:23:50 +08:00
|
|
|
- sw -show-output -platform %platform% build
|
2019-01-09 04:33:34 +08:00
|
|
|
|
|
|
|
after_build:
|
2019-07-16 13:12:41 +08:00
|
|
|
- 7z a tesseract.zip %APPVEYOR_BUILD_FOLDER%\.sw\out\**\*.exe %APPVEYOR_BUILD_FOLDER%\.sw\out\**\*.dll
|
2019-07-16 12:51:31 +08:00
|
|
|
#- 7z a tesseract.zip %APPVEYOR_BUILD_FOLDER%\.sw\Windows_*_Shared_Release_MSVC_*\*.exe %APPVEYOR_BUILD_FOLDER%\.sw\Windows_*_Shared_Release_MSVC_*\*.dll
|
2016-12-21 18:18:03 +08:00
|
|
|
|
|
|
|
artifacts:
|
2019-01-09 04:33:34 +08:00
|
|
|
- path: tesseract.zip
|
2016-12-21 18:44:08 +08:00
|
|
|
name: tesseract-$(APPVEYOR_BUILD_VERSION)
|
2019-07-14 01:17:15 +08:00
|
|
|
|