-
Notifications
You must be signed in to change notification settings - Fork 91
/
appveyor.yml
45 lines (35 loc) · 1.11 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
version: 0.5.{build}
branches:
only:
- dev
image: Visual Studio 2017
configuration:
- Release
- Debug
platform: x64
environment:
PYTHON: C:\Python37-x64
QT: C:\Qt\5.11.2\msvc2017_64
install:
- cmd: >-
set PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%
python --version
set CMAKE_PREFIX_PATH=%QT%
cd C:\Tools\vcpkg
git pull
.\bootstrap-vcpkg.bat
vcpkg install boost-system:x64-windows boost-filesystem:x64-windows boost-program-options:x64-windows boost-graph:x64-windows boost-regex:x64-windows boost-uuid:x64-windows boost-multiprecision:x64-windows boost-signals2:x64-windows pegtl:x64-windows pybind11:x64-windows catch2:x64-windows fmt:x64-windows ogdf:x64-windows sqlite-orm:x64-windows
cd "%APPVEYOR_BUILD_FOLDER%"
cache: c:\tools\vcpkg\installed\
before_build:
- cmd: >-
git submodule update --init --recursive
md build
cd build
cmake -G"Visual Studio 15 Win64" -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake ..
build:
project: C:\projects\medusa\build\Medusa.sln
parallel: true
verbosity: minimal
test_script:
- cmd: ctest -VV -C Release