-
Notifications
You must be signed in to change notification settings - Fork 215
/
.appveyor.yml
48 lines (37 loc) · 1.42 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
# Copyright Louis Dionne 2013-2022
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
shallow_clone: true
os:
- Visual Studio 2017
build:
verbosity: detailed
configuration:
- Debug
branches:
except:
- /pr\/.+/
install:
############################################################################
# All external dependencies are installed in C:\projects\deps
############################################################################
- mkdir C:\projects\deps
- cd C:\projects\deps
############################################################################
# Install Ninja
############################################################################
- set NINJA_URL="https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-win.zip"
- appveyor DownloadFile %NINJA_URL% -FileName ninja.zip
- 7z x ninja.zip -oC:\projects\deps\ninja > nul
- set PATH=C:\projects\deps\ninja;%PATH%
- ninja --version
before_build:
# Required by -Gninja
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
- cd C:\projects\hana
build_script:
- mkdir build
- cd build
#- cmake .. -GNinja -DCMAKE_CXX_COMPILER=clang-cl -DBOOST_ROOT=C:\Libraries\boost_1_67_0
- cmake .. -GNinja -DBOOST_ROOT=C:\Libraries\boost_1_67_0
- cmake --build . --target check