mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 12:49:35 +08:00
[ci] Copy fonts to testdir.
This commit is contained in:
parent
e6b00e6579
commit
db86fdd3e7
6
.github/workflows/sw.yml
vendored
6
.github/workflows/sw.yml
vendored
@ -26,8 +26,10 @@ jobs:
|
||||
|
||||
- name: download test data
|
||||
if: matrix.os != 'windows-latest'
|
||||
run: git clone https://github.com/egorpugin/tessdata tessdata_unittest
|
||||
|
||||
run:
|
||||
- git clone https://github.com/egorpugin/tessdata tessdata_unittest
|
||||
- cp tessdata_unittest/fonts/* test/testing/
|
||||
|
||||
- name: test
|
||||
if: matrix.os != 'windows-latest'
|
||||
run: ./sw -static -shared -config "d,r" test -Dwith-tests=1 "-Dskip-tests=lstm,lstm_recode"
|
||||
|
@ -29,6 +29,7 @@ build_script:
|
||||
- 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:
|
||||
|
Loading…
Reference in New Issue
Block a user