forked from rdkit/rdkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
67 lines (53 loc) · 1.72 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
64
65
66
67
version: 2018.03.1.dev{build}
environment:
P: "c:/projects/libs"
RDBASE: "c:/projects/RDKit"
PATH: "%RDBASE%/lib;%PATH%"
BOOST_ROOT: c:/Libraries/boost_1_65_1
BOOST_LIBRARYDIR: c:/Libraries/boost_1_65_1/lib64-msvc-14.0
image: Visual Studio 2017
# branches to build
branches:
# whitelist
only:
- master
- appveyor_tuning
# Operating system (build VM template)
#os: Windows Server 2012 R2
#os: unstable
# scripts that are called at very beginning, before repo cloning
init:
- git config --global core.autocrlf input
- cmake -version
# clone directory
clone_folder: c:\projects\RDKit
platform: x64
configuration: Release
install:
# by default, all script lines are interpreted as batch
build:
project: c:\projects\RDKit\build\INSTALL.vcxproj # path to Visual Studio solution or project
parallel: true
verbosity: quiet
# scripts to run before build
before_build:
- echo Running cmake...
- cd c:\projects\RDKit
- mkdir c:\projects\RDKit\build
- cd c:\projects\RDKit\build
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat" amd64
- cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_INSTALL_PREFIX=%P% -DRDK_USE_BOOST_SERIALIZATION=OFF -DRDK_BUILD_PYTHON_WRAPPERS=OFF -DRDK_BUILD_SWIG_WRAPPERS=OFF -DBOOST_ROOT="%BOOST_ROOT%" -DBOOST_LIBRARYDIR="%BOOST_LIBRARYDIR%" ..
test_script:
- cd c:\projects\RDKit\build
- ctest -j2 --output-on-failure
# scripts to run after build
#after_build:
# - cd %P%
# - 7z a c:\projects\sqlite\sqlite.zip * -tzip
# - cd c:\projects\sqlite
#artifacts:
# - path: sqlite.zip
# name: sqlite.zip
#deploy_script:
# - cd c:\projects\sqlite
# - curl -T sqlite.zip --user %ACCOUNT% https://webdav.yandex.ru/libs/sqlite.zip