forked from NativeInstruments/ni-media
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
40 lines (31 loc) · 1.16 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
image:
- Visual Studio 2017
platform:
- x64
environment:
GIT_LFS_SKIP_SMUDGE: 1
CRT_LINKAGE: dynamic
LIBRARY_LINKAGE: static
CONFIG: Release
matrix:
- GENERATOR: Visual Studio 15 2017
TARGET_ARCHITECTURE: x86
- GENERATOR: Visual Studio 15 2017 Win64
TARGET_ARCHITECTURE: x64
install:
- echo set(VCPKG_TARGET_ARCHITECTURE %TARGET_ARCHITECTURE%) > C:\tools\vcpkg\triplets\custom-triplet.cmake
- echo set(VCPKG_CRT_LINKAGE %CRT_LINKAGE%) >> C:\tools\vcpkg\triplets\custom-triplet.cmake
- echo set(VCPKG_LIBRARY_LINKAGE %LIBRARY_LINKAGE%) >> C:\tools\vcpkg\triplets\custom-triplet.cmake
- vcpkg install boost:custom-triplet
- vcpkg install gtest:custom-triplet
- vcpkg install libOgg:custom-triplet
- vcpkg install libFlac:custom-triplet
- vcpkg install libVorbis:custom-triplet
build_script:
- mkdir build
- cd build
- cmake .. -G "%GENERATOR%" -DCMAKE_BUILD_TYPE=%CONFIG% -DCMAKE_TOOLCHAIN_FILE=C:\tools\vcpkg\scripts\buildsystems\vcpkg.cmake -DVCPKG_TARGET_TRIPLET=custom-triplet
- cmake --build . --config %CONFIG%
test_script:
#- git lfs pull -X ""
#- cmake --build . --target RUN_TESTS --config %CONFIG%