-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappveyor.yml
50 lines (38 loc) · 839 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
platform:
- x86
- x64
configuration:
- Debug
- Release
image:
- Visual Studio 2019
environment:
matrix:
- TOOLSET: MSVC
# - TOOLSET: Clang
clone_folder: c:/dla/
before_build:
- cmd: pip install conan --upgrade
- cmd: conan user
- cmd: conan --version
- ps: >-
if ($ENV:PLATFORM -eq "x86") {
$ENV:ARCH="Win32"
}
else {
$ENV:ARCH="x64"
}
if ($ENV:TOOLSET -eq "MSVC") {
$ENV:TOOLSET="v142"
}
else {
$ENV:TOOLSET="ClangCL"
}
$ENV:PATH="$ENV:PATH;C:\Users\appveyor\AppData\Roaming\Python\Scripts"
mkdir build
cd build
cmake c:/dla/ -G"Visual Studio 16 2019" -A $ENV:ARCH -T $ENV:TOOLSET -DDLA_BUILD_TESTS=ON
build_script:
- cmake --build . --config %CONFIGURATION%
test_script:
- ctest -C %CONFIGURATION% --output-on-failure