-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy path.appveyor.yml
50 lines (40 loc) · 1.12 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
47
48
image:
- Visual Studio 2015
- Visual Studio 2017
- Visual Studio 2019
init:
- git config --global core.autocrlf input
clone_folder: c:\projects\comms_champion
shallow_clone: true
platform:
- x64
- x86
configuration:
- Debug
- Release
environment:
matrix:
- CPP_STD: 11
- CPP_STD: 14
- CPP_STD: 17
- CPP_STD: 20
matrix:
fast_finish: false
exclude:
- image: Visual Studio 2015
CPP_STD: 17
- image: Visual Studio 2015
CPP_STD: 20
- image: Visual Studio 2017
CPP_STD: 20
install:
- call script\appveyor_install.bat
- set PATH=%PATH%;%QTDIR%\bin
build_script:
- mkdir build.%PLATFORM%.%CONFIGURATION%.%TOOLCHAIN%
- cd build.%PLATFORM%.%CONFIGURATION%.%TOOLCHAIN%
- cmake .. -DCMAKE_BUILD_TYPE=%CONFIGURATION% -G "NMake Makefiles" -DCC_QT_DIR=%QTDIR% -DCMAKE_CXX_STANDARD=%CPP_STD% -DCMAKE_INSTALL_PREFIX=%cd%/install -DCC_BUILD_DEMO_PROTOCOL=ON
- nmake install
- IF "%CONFIGURATION%"=="Release" ( nmake deploy_qt )
test_script:
- ctest