File tree 1 file changed +11
-29
lines changed
1 file changed +11
-29
lines changed Original file line number Diff line number Diff line change 1
1
environment :
2
2
matrix :
3
3
- APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2015
4
- vs_ver : 14 2015
4
+ platform : Win32
5
5
- APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2017
6
- vs_ver : 15 2017
7
- vs_platform : " Win64"
6
+ platform : Win64
8
7
9
8
configuration :
10
9
- Release
11
10
12
11
cache :
13
- - c:/Users/appveyor/.cppan/storage
14
-
15
- # for curl
16
- install :
17
- - set PATH=C:\Program Files\Git\mingw64\bin;%PATH%
18
-
12
+ - c:/Users/appveyor/.sw
13
+
19
14
before_build :
20
- - curl -fsS -L -o cppan .zip https://cppan.org/client/cppan- master-Windows-client .zip
21
- - 7z x cppan .zip
15
+ - curl -fsS -L -o dl .zip https://github.com/SoftwareNetwork/binaries/raw/ master/client_windows .zip
16
+ - 7z x dl .zip
22
17
- set PATH=%PATH%;%cd%
23
18
24
- - cppan # dummy run to create %USERPROFILE%\.cppan\cppan.yml
25
- - ps : ' Add-Content $env:USERPROFILE\.cppan\cppan.yml "`n`nbuild_warning_level: 0`n"'
26
- - ps : ' Add-Content $env:USERPROFILE\.cppan\cppan.yml "`n`nbuild_system_verbose: false`n"'
27
- - ps : ' Add-Content $env:USERPROFILE\.cppan\cppan.yml "`n`nvar_check_jobs: 1`n"'
28
-
29
19
build_script :
30
- - mkdir build
31
- - mkdir build\bin
32
- - mkdir build\bin\%CONFIGURATION%
33
- - cd build
34
- # - cmd: 'echo local_settings: > cppan.yml'
35
- # - cmd: 'echo generator: %generator% >> cppan.yml'
36
- # - cmd: 'echo use_shared_libs: true >> cppan.yml'
37
- # - cppan --build ..
38
- - cmake .. -G "Visual Studio %vs_ver%%vs_platform%"
39
- # - cmake --build . --config %CONFIGURATION% > build\bin\%CONFIGURATION%\log.txt 2>&1
40
- - cmake --build . --config %CONFIGURATION%
20
+ - sw -platform %platform% build
21
+
22
+ after_build :
23
+ - 7z a tesseract.zip %APPVEYOR_BUILD_FOLDER%\.sw\windows_*_msvc_*_shared_Release_*\*.exe %APPVEYOR_BUILD_FOLDER%\.sw\windows_*_msvc_*_shared_Release_*\*.dll
41
24
42
25
artifacts :
43
- - path : build\bin\%CONFIGURATION%
44
- # - path: build
26
+ - path : tesseract.zip
45
27
name : tesseract-$(APPVEYOR_BUILD_VERSION)
You can’t perform that action at this time.
0 commit comments