forked from wheybags/freeablo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
43 lines (34 loc) · 996 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
branches:
# whitelist
only:
- master
# Operating system (build VM template)
os: Visual Studio 2015
# clone directory
clone_folder: c:\projects\freeablo
platform: x64
configuration: Debug
cache:
- C:\.hunter
environment:
global:
GITHUB_USER_PASSWORD:
secure: j7bhatwEDvl5hOfkBHyCIFZdn/x00TkF2qTaJMRn22CJeUr5NhXWPlUepQun7me9
install:
- cmd: set PATH=C:\Python34-x64;C:\Python34-x64\Scripts;%PATH%
- cmd: pip install requests
# scripts to run before build
before_build:
- echo Running cmake...
- cd c:\projects\freeablo
- mkdir build
- cd build
- mklink /j resources ..\resources
- cmake .. -G "Visual Studio 14 2015 Win64" -DFA_TREAT_WARNINGS_AS_ERRORS=ON
build_script:
- cd c:\projects\freeablo\build
# Ignore these unsilencable warnings
- C:\Progra~1\Git\usr\bin\bash.exe -c "cmake --build . --config Debug | /usr/bin/grep -v 'linking object as if no debug info'"
test_script:
- cd c:\projects\freeablo\build
- Debug\unit_tests.exe