tesseract/appveyor.yml

41 lines
1.3 KiB
YAML
Raw Normal View History

2018-05-30 00:19:12 +08:00
environment:
matrix:
# 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
#platform: Win64
2020-09-10 20:40:07 +08:00
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
platform: Win64
2015-09-07 03:30:11 +08:00
configuration:
2016-01-14 19:02:48 +08:00
- Release
2018-07-10 21:46:42 +08:00
cache:
2019-02-03 21:12:28 +08:00
- c:/Users/appveyor/.sw -> appveyor.yml
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
- set PATH=%PATH%;%cd%
build_script:
- sw -version
2021-01-01 03:27:06 +08:00
# debug build causes long builds (> 1h), appveyor drops them
- sw -show-output -platform %platform% -config r build -Dwith-tests=1
2019-01-09 04:33:34 +08:00
2021-01-02 21:48:18 +08:00
test:
- git clone https://github.com/egorpugin/tessdata tessdata_unittest123
- sw -show-output -platform %platform% -config r test -Dwith-tests=1 -Dskip-tests=lstm.* -Dtest-data-dir=tessdata_unittest123
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
#- 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