-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathappveyor.yml
More file actions
38 lines (26 loc) · 910 Bytes
/
appveyor.yml
File metadata and controls
38 lines (26 loc) · 910 Bytes
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
# Copyright (C) 2005 - 2021 Settlers Freaks <sf-team at siedler25.org>
#
# SPDX-License-Identifier: GPL-2.0-or-later
version: 1.0.{build}
shallow_clone: true
branches:
only: [master]
image: Visual Studio 2019
configuration:
- Debug
- Release
platform: x64
environment:
global:
BOOST_DIR: 'C:\Libraries\boost_1_85_0'
RTTR_DISABLE_ASSERT_BREAKPOINT: 1
install:
- git clone https://github.com/Return-To-The-Roots/libutil.git libutil
- git clone https://github.com/Return-To-The-Roots/libendian.git libendian
- set CMAKE_PREFIX_PATH=%CMAKE_PREFIX_PATH%;%cd%\libutil;%cd%\libendian
before_build:
- mkdir build
- cd build
- cmake -G "Visual Studio 16 2019" -A %platform% -DRTTR_ENABLE_WERROR=ON -DBOOST_ROOT="%BOOST_DIR%" ..
build_script: cmake --build . --config %configuration% --parallel 4
test_script: ctest --output-on-failure -C %configuration% --parallel 4