-
Notifications
You must be signed in to change notification settings - Fork 10
/
appveyor.yml
41 lines (29 loc) · 1021 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
version: 1.0.{build}
# Ignore testing a commit if only the README.md file changed
# Or if various strings are found in the commit message: updated readme, update readme, update docs, update version, update appveyor
skip_commits:
files:
- README.md
message: /updated readme.*|update readme.*s|update docs.*|update version.*|update appveyor.*/
configuration:
- Release
environment:
matrix:
# - VS_VERSION: 14 2015
# VS_PLATFORM: win32
- VS_VERSION: 14 2015
VS_PLATFORM: x64
# - VS_VERSION: 15 2017
# VS_PLATFORM: x64
before_build:
- cmd: >-
git submodule update --init --recursive
pip install protobuf==3.5.2
cd .\test
mkdir build
cd .\build
cmake .. -G "Visual Studio %VS_VERSION%" -A x64 -DCMAKE_GENERATOR_PLATFORM=%VS_PLATFORM% -Wno-dev
build_script:
- cmake --build . --config %CONFIGURATION% -- -maxcpucount
test_script:
- cmake -E env CTEST_OUTPUT_ON_FAILURE=1 cmake --build . --config %CONFIGURATION% --target RUN_TESTS