-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
46 lines (37 loc) · 1.06 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
# Copyright Rein Halbersma 2019-2024.
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
environment:
APPVEYOR_SAVE_CACHE_ON_ERROR: true
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
GENERATOR_NAME: "Visual Studio 16 2019"
platform: x86
PLATFORM_NAME: "Win32"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
GENERATOR_NAME: "Visual Studio 16 2019"
platform: x64
PLATFORM_NAME: "x64"
configuration:
- Debug
- Release
shallow_clone: true
build:
verbosity: detailed
cache:
- c:\tools\vcpkg\installed\
install:
- vcpkg install --triplet %platform%-windows
boost-test
before_build:
- cd %APPVEYOR_BUILD_FOLDER%
- mkdir build
- cd build
- cmake --version
- cmake .. -G "%GENERATOR_NAME%" -A %PLATFORM_NAME%
"-DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake"
build_script:
- cmake --build . --config %configuration% -v
test_script:
- ctest