forked from cpp-netlib/url
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
53 lines (42 loc) · 961 Bytes
/
.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
image:
# - Visual Studio 2017
- Visual Studio 2019
platform:
- x64
configuration:
- Debug
- Release
environment:
matrix:
- SHARED_LIB: OFF
install:
- cd C:\Tools\vcpkg
- git pull
- .\bootstrap-vcpkg.bat
- vcpkg install tl-expected range-v3 catch2 nlohmann-json fmt --triplet x64-windows
- vcpkg integrate install
- cd %APPVEYOR_BUILD_FOLDER%
before_build:
- git submodule init
- git submodule update
- mkdir _build
- cmake
-B _build
-A x64
-Dskyr_WARNINGS_AS_ERRORS=OFF
-Dskyr_BUILD_TESTS=ON
-Dskyr_BUILD_DOCS=OFF
-Dskyr_BUILD_EXAMPLES=OFF
-DCMAKE_TOOLCHAIN_FILE=C:\Tools\vcpkg\scripts\buildsystems\vcpkg.cmake
-DBUILD_SHARED_LIBS=%SHARED_LIB%
.
build_script:
- cmake --build _build
test_script:
- cmake --build _build --target RUN_TESTS
- cmake --build _build --target install
cache: c:\Tools\vcpkg\installed\
matrix:
fast_finish: true
on_failure:
- type _build\Testing\Temporary\LastTest.log