forked from wheybags/freeablo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
33 lines (25 loc) · 920 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
branches:
# whitelist
only:
- master
# Operating system (build VM template)
os: Visual Studio 2015
# scripts that are called at very beginning, before repo cloning
init:
- git clone https://github.com/wheybags/freeablo-windows-build c:\projects\freeablo-windows-build-tmp
- xcopy c:\projects\freeablo-windows-build-tmp c:\projects\freeablo-windows-build /s /e /q
# clone directory
clone_folder: c:\projects\freeablo-windows-build\freeablo
platform: Win32
configuration: Debug
build:
project: c:\projects\freeablo-windows-build\build\Freeablo.sln # path to Visual Studio solution or project
# scripts to run before build
before_build:
- git submodule update --init
- echo Running cmake...
- cd c:\projects\freeablo-windows-build
- cmake.bat -DTREAT_WARNINGS_AS_ERRORS=ON
test_script:
- cd c:\projects\freeablo-windows-build\build
- cmake.exe --build . --config Debug --target fatest