1 Star 0 Fork 39

hxbank/Tesseract-OCR

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
appveyor.yml 1.64 KB
一键复制 编辑 原始数据 按行查看 历史
Egor Pugin 提交于 2021-01-05 21:23 . [ci] Copy fonts to testdir.
environment:
matrix:
# does not work with sw at the moment
#- 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
platform: Win64
configuration:
- Release
cache:
- c:/Users/appveyor/.sw -> appveyor.yml
before_build:
- git submodule update --init --recursive
- 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 -version
# -show-output - show command output
# debug build causes long builds (> 1h), appveyor drops them
- sw -platform %platform% -config r build -Dwith-tests=1
# test
- git clone https://github.com/egorpugin/tessdata tessdata_unittest
- ps: Copy-Item -Path "tessdata_unittest\fonts\*" -Destination "test\testing" -Recurse
- sw -platform %platform% -config r test -Dwith-tests=1 -Dskip-tests=lstm,lstm_recode
after_build:
- 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
on_finish:
# gather tests
- ps: $wc = New-Object 'System.Net.WebClient'
- ps: $wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\.sw\test\results.xml))
artifacts:
- path: tesseract.zip
name: tesseract-$(APPVEYOR_BUILD_VERSION)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/luoshsh/Tesseract-OCR.git
git@gitee.com:luoshsh/Tesseract-OCR.git
luoshsh
Tesseract-OCR
Tesseract-OCR
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385