-
Notifications
You must be signed in to change notification settings - Fork 24
/
.appveyor.yml
40 lines (33 loc) · 1.08 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
version: 1.0.{build}
image: Visual Studio 2017
cache:
- c:\tools\vcpkg\installed
environment:
matrix:
- job_name: "Internal xxhash"
LSQPACK_XXH: ON
- job_name: "External xxhash"
LSQPACK_XXH: OFF
before_build:
- git -C c:\tools\vcpkg\ fetch
- git -C c:\tools\vcpkg\ checkout 2024.08.23
- c:\tools\vcpkg\bootstrap-vcpkg.bat
- vcpkg x-set-installed getopt:x64-windows xxhash:x64-windows pkgconf:x64-windows
- cmake .
-DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake
-DVCPKG_INSTALLED_DIR=c:/tools/vcpkg/installed
-DVCPKG_TARGET_TRIPLET=x64-windows
-DPKG_CONFIG_EXECUTABLE=c:/tools/vcpkg/installed/x64-windows/tools/pkgconf/pkgconf.exe
-DCMAKE_BUILD_TYPE=Debug
-DCMAKE_GENERATOR_PLATFORM=x64
-DLSQPACK_TESTS=ON
-DLSQPACK_XXH=%LSQPACK_XXH%
-DGETOPT_INCLUDE_DIR=c:/tools/vcpkg/installed/x64-windows/include
-DGETOPT_LIB=c:/tools/vcpkg/installed/x64-windows/lib/getopt.lib
build_script:
- cmake --build .
before_test:
- set PATH=%PATH%;c:\projects\ls-qpack\bin\Debug
test_script:
- dir
- msbuild RUN_TESTS.vcxproj