forked from KratosMultiphysics/Kratos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
53 lines (41 loc) · 1.33 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
49
50
51
52
53
# build only master
branches:
only:
- master
# Specify version format
version: "{build}"
# set clone depth
shallow_clone: true
# Image
image: Visual Studio 2017
# Build platform, i.e. Win32 (instead of x86), x64, Any CPU. This setting is optional.
platform:
- x64
# Specify custom environment variables
environment:
MSVC_DEFAULT_OPTIONS: ON
BOOST_ROOT: C:\Libraries\boost_1_65_1
BOOST_LIBRARYDIR: C:\Libraries\boost_1_65_1\lib64-msvc-14.1
# Build configuration, i.e. Debug, Release, etc.
configuration:
- Release
# Scripts that are called at very beginning, before repo cloning
init:
- cmd: cmake --version
- cmd: msbuild /version
# Clone directory
clone_folder: C:\projects\kratos
# Scripts that run after cloning repository
install:
- SET preferredToolArchitecture=x64
- cmd: C:\"Program Files (x86)"\"Microsoft Visual Studio"\2017\Community\VC\Auxiliary\Build\vcvars64.bat x64
- cmd: cp C:\projects\kratos\scripts\build\appveyor\configure_appveyor_VS2017.bat C:\projects\kratos\cmake_build\configure_appveyor_VS2017.bat
# Scripts to run before build
before_build:
- cmd: cd C:\projects\kratos\cmake_build
- cmd: .\configure_appveyor_VS2017.bat
# Custom build script
build_script:
- cmd: SET preferredToolArchitecture=x64
- cmd: MSBuild.exe kratos/all_unity.vcxproj /p:Configuration=Debug /p:Platform="x64"
test: off