blob: db1329ecf42a0cbfd87878cb3105a525617bd4ab (
plain)
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
46
47
48
49
|
configuration: Release
cache: c:\Tools\vcpkg\installed\
environment:
VCPKG_ROOT: c:\Tools\vcpkg
install:
- git submodule update --init --recursive
- mkdir build32
- mkdir build64
- choco install --timeout 600 -y imagemagick.tool
- cd %VCPKG_ROOT%
- git pull
- .\bootstrap-vcpkg.bat
- vcpkg install libpng:x64-windows-static libpng:x86-windows-static
build_script:
- set CTEST_OUTPUT_ON_FAILURE=1
- cd %APPVEYOR_BUILD_FOLDER%\build64
- cmake -DCMAKE_TOOLCHAIN_FILE=%VCPKG_ROOT%\scripts\buildsystems\vcpkg.cmake -A x64 -DVCPKG_TARGET_TRIPLET=x64-windows-static ..
- cmake --build . --config Release
- cmake --build . --config Release --target check
- cd %APPVEYOR_BUILD_FOLDER%\build32
- cmake -DCMAKE_TOOLCHAIN_FILE=%VCPKG_ROOT%\scripts\buildsystems\vcpkg.cmake -A Win32 -DVCPKG_TARGET_TRIPLET=x86-windows-static ..
- cmake --build . --config Release
- cmake --build . --config Release --target check
after_build:
- cd %APPVEYOR_BUILD_FOLDER%\build64
- del Release\test*
- del Release\imagetest*
- 7z a vdagent-win-x64.zip Release\*
- cd %APPVEYOR_BUILD_FOLDER%\build32
- del Release\test*
- del Release\imagetest*
- 7z a vdagent-win-x86.zip Release\*
artifacts:
- path: build64/vdagent-win-x64.zip
name: VdAgentWin-x64
- path: build32/vdagent-win-x86.zip
name: VdAgentWin-x86
|