-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathappveyor.yml
63 lines (47 loc) · 1.48 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
environment:
BOOST_ROOT: "C:\\Libraries\\boost_1_63_0"
matrix:
- VS_GEN: Visual Studio 14 2015
CONFIG: RelWithDebInfo
B_NAME: Win32
BOOST_LIBRARYDIR: "C:\\Libraries\\boost_1_63_0\\lib32-msvc-14.0"
CONFIGQGL: Release
matrix:
fast_finish: true
# Operating system (build VM template)
os: Visual Studio 2015
branches:
except:
- coverity_scan
skip_tags: true
# scripts that are called at very beginning, before repo cloning
init:
# Print environment info
- set
- msbuild /version
- cmake --version
- set PATH=%QTDIR%\bin;%PATH%
# scripts that run after cloning repository
install:
before_build:
# install zlib
- cmd: mkdir c:\zlib
- appveyor DownloadFile "https://github.com/madler/zlib/archive/v1.2.9.zip" -FileName zlib.zip
- 7z x zlib.zip -oC:\zlib
- cmd: cd C:\zlib
- cmd: mkdir C:\zlib-install
- cmd: mkdir C:\zlib-build
- cmd: cd C:\zlib-build
- cmd: dir C:\zlib
- cmake -G"%VS_GEN%" -DCMAKE_BUILD_TYPE=%CONFIG% -DCMAKE_INSTALL_PREFIX:PATH=c:\zlib-install C:\zlib\zlib-1.2.9
- msbuild zlib.sln /m
- cmd: msbuild INSTALL.vcxproj
- cd %APPVEYOR_BUILD_FOLDER%
- mkdir build
- cd build
- cmake -Wno-dev -G"%VS_GEN%" -DCMAKE_BUILD_TYPE=%CONFIG% -DBOOST_ROOT=%BOOST_ROOT% -DBOOST_LIBRARYDIR="%BOOST_LIBRARYDIR%" -DCMAKE_INSTALL_PREFIX:PATH=c:\zlib-install C:\zlib\zlib-1.2.9 ..
build_script:
- echo %CONFIG%
- msbuild /m /p:Configuration=%CONFIG% /p:Platform=%B_NAME% DGtal-DGMM2022-tutorials.sln
test: off
deploy: off