tesseract/appveyor.yml

46 lines
1.4 KiB
YAML
Raw Normal View History

2018-05-30 00:19:12 +08:00
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
vs_ver: 14 2015
2018-05-30 00:19:12 +08:00
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
vs_ver: 15 2017
vs_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:
- c:/Users/appveyor/.cppan/storage
# for curl
install:
- set PATH=C:\Program Files\Git\mingw64\bin;%PATH%
2016-12-15 22:00:58 +08:00
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"'
2018-12-18 06:21:24 +08:00
build_script:
- mkdir build
- mkdir build\bin
- mkdir build\bin\%CONFIGURATION%
- 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 %CONFIGURATION% > build\bin\%CONFIGURATION%\log.txt 2>&1
- cmake --build . --config %CONFIGURATION%
2016-12-21 18:18:03 +08:00
artifacts:
- path: build\bin\%CONFIGURATION%
#- path: build
2016-12-21 18:44:08 +08:00
name: tesseract-$(APPVEYOR_BUILD_VERSION)