-
Notifications
You must be signed in to change notification settings - Fork 30
/
appveyor.yml
36 lines (36 loc) · 852 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
version: '{build}'
branches:
only:
- master
clone_folder: c:\projects\trainingdatatool
image:
- Visual Studio 2017
configuration:
- Release
platform:
- x64
environment:
matrix:
- arch: Win64
init:
- set arch=
- if "%arch%"=="Win64" ( set arch= Win64)
- echo %arch%
- echo %APPVEYOR_BUILD_WORKER_IMAGE%
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" ( set generator="Visual Studio 15 2017%arch%" )
- echo %generator%
before_build:
- cmd: |-
git submodule update --init --recursive
mkdir build
cd build
cmake --version
cmake .. -G %generator% -DBOOST_ROOT="C:\Libraries\boost_1_65_1"
dir c:\projects\trainingdatatool\build
build:
project: c:\projects\trainingdatatool\build\Project.sln
verbosity: minimal
parallel: true
artifacts:
- path: build\Release\trainingdata-tool.exe
name: TrainingdataTool