-
Notifications
You must be signed in to change notification settings - Fork 4
/
appveyor.yml
44 lines (32 loc) · 945 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
version: 1.0.{build}
branches:
except:
- gh-pages
skip_commits:
message: /\[ci skip\]/
image: Visual Studio 2017
platform:
- x64
configuration:
- Release
- Debug
init:
- git config --global core.autocrlf input
clone_depth: 5
install:
- git submodule update --init --recursive
- set PATH=%PATH%;%PYTHON%/Scripts/
- pip.exe install conan
- conan user
before_build:
- cd %APPVEYOR_BUILD_FOLDER%
- mkdir build && cd build
- conan install .. -s build_type=%CONFIGURATION% --build=missing
- cmake -G "Visual Studio 15 2017 Win64" ..
build:
parallel: true
project: $(APPVEYOR_BUILD_FOLDER)\build\$(APPVEYOR_PROJECT_NAME).sln
test_script:
- '%APPVEYOR_BUILD_FOLDER%\build\test_package\bin\unit_tests.exe --gtest_output=xml:unit_tests.xml'
on_finish:
- ps: (new-object net.webclient).UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\unit_tests.xml))