forked from tesseract-ocr/tesseract
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
32 lines (26 loc) · 935 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
environment:
matrix:
# not working for some reason now
#- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
#platform: Win32
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
platform: Win32
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
platform: Win64
#- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 Preview
#platform: Win64
configuration:
- Release
cache:
- c:/Users/appveyor/.sw -> appveyor.yml
before_build:
- curl -fsS -L -o dl.zip https://github.com/SoftwareNetwork/binaries/raw/master/sw-master-windows-client.zip
- 7z x dl.zip
- set PATH=%PATH%;%cd%
build_script:
- sw -show-output -platform %platform% build
after_build:
- 7z a tesseract.zip %APPVEYOR_BUILD_FOLDER%\.sw\Windows_*_Shared_Release_MSVC_*\*.exe %APPVEYOR_BUILD_FOLDER%\.sw\Windows_*_Shared_Release_MSVC_*\*.dll
artifacts:
- path: tesseract.zip
name: tesseract-$(APPVEYOR_BUILD_VERSION)