Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/tesseract/appveyor.yml @ 2:b50eed0cc0ef upstream
ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4.
The directory name has changed: no version number in the expanded directory now.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:43:07 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1:1d09e1dec1d9 | 2:b50eed0cc0ef |
|---|---|
| 1 environment: | |
| 2 matrix: | |
| 3 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 | |
| 4 platform: Win64 | |
| 5 | |
| 6 configuration: | |
| 7 - Release | |
| 8 | |
| 9 cache: | |
| 10 - c:/Users/appveyor/.sw -> appveyor.yml | |
| 11 | |
| 12 only_commits: | |
| 13 files: | |
| 14 - appveyor.yml | |
| 15 - '**.cpp' | |
| 16 - '**.h' | |
| 17 - 'unittest/**.c' | |
| 18 - 'unittest/**.cc' | |
| 19 | |
| 20 before_build: | |
| 21 - git submodule update --init --recursive | |
| 22 - curl -fsS -L -o dl.zip https://software-network.org/client/sw-master-windows_x86_64-client.zip | |
| 23 - 7z x dl.zip | |
| 24 - set PATH=%PATH%;%cd% | |
| 25 | |
| 26 build_script: | |
| 27 - sw -version | |
| 28 # -show-output - show command output | |
| 29 # debug build causes long builds (> 1h), appveyor drops them | |
| 30 - sw -platform %platform% -config r build -Dwith-tests=1 | |
| 31 # test | |
| 32 - git clone https://github.com/egorpugin/tessdata tessdata_unittest | |
| 33 - ps: Copy-Item -Path "tessdata_unittest\fonts\*" -Destination "test\testing" -Recurse | |
| 34 - sw -platform %platform% -config r test -Dwith-tests=1 -Dskip-tests=lstm,lstm_recode | |
| 35 | |
| 36 after_build: | |
| 37 - 7z a tesseract.zip %APPVEYOR_BUILD_FOLDER%\.sw\out\**\*.exe %APPVEYOR_BUILD_FOLDER%\.sw\out\**\*.dll | |
| 38 #- 7z a tesseract.zip %APPVEYOR_BUILD_FOLDER%\.sw\Windows_*_Shared_Release_MSVC_*\*.exe %APPVEYOR_BUILD_FOLDER%\.sw\Windows_*_Shared_Release_MSVC_*\*.dll | |
| 39 | |
| 40 on_finish: | |
| 41 # gather tests | |
| 42 - ps: $wc = New-Object 'System.Net.WebClient' | |
| 43 - ps: $wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\.sw\test\results.xml)) | |
| 44 | |
| 45 artifacts: | |
| 46 - path: tesseract.zip | |
| 47 name: tesseract-$(APPVEYOR_BUILD_VERSION) | |
| 48 |
