forked from tesseract-ocr/tesseract
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
45 lines (38 loc) · 1.32 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
vs_ver: 14 2015
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
vs_ver: 15 2017
vs_platform: " Win64"
configuration:
- Release
cache:
- c:/Users/appveyor/.cppan/storage
# for curl
install:
- set PATH=C:\Program Files\Git\mingw64\bin;%PATH%
before_build:
- curl -fsS -L -o cppan.zip https://cppan.org/client/cppan-master-Windows-client.zip
- 7z x cppan.zip
- set PATH=%PATH%;%cd%
- cppan # dummy run to create %USERPROFILE%\.cppan\cppan.yml
- ps: 'Add-Content $env:USERPROFILE\.cppan\cppan.yml "`n`nbuild_warning_level: 0`n"'
- ps: 'Add-Content $env:USERPROFILE\.cppan\cppan.yml "`n`nbuild_system_verbose: false`n"'
- ps: 'Add-Content $env:USERPROFILE\.cppan\cppan.yml "`n`nvar_check_jobs: 1`n"'
build_script:
- mkdir build
- mkdir build\bin
- mkdir build\bin\Release
- cd build
#- cmd: 'echo local_settings: > cppan.yml'
#- cmd: 'echo generator: %generator% >> cppan.yml'
#- cmd: 'echo use_shared_libs: true >> cppan.yml'
#- cppan --build ..
- cmake .. -G "Visual Studio %vs_ver%%vs_platform%"
#- cmake --build . --config Release > bin\Release\log.txt 2>&1
- cmake --build . --config Release
artifacts:
- path: build\bin\Release
#- path: build
name: tesseract-$(APPVEYOR_BUILD_VERSION)