This repository has been archived by the owner on Aug 9, 2022. It is now read-only.
forked from nashmuhandes/GZDoom-GPL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
60 lines (49 loc) · 1.54 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
54
55
56
57
58
59
60
version: "{build}"
branches:
except:
- /^travis.*$/
clone_depth: 10
os: Visual Studio 2015
platform:
- Win32
- x64
configuration:
- Debug
- Release
cache:
- ci_deps_win_v01.zip
environment:
# Update dependencies here: https://github.com/coelckers/gzdoom/releases/tag/ci_deps
DEPS_URL: https://github.com/coelckers/gzdoom/releases/download/ci_deps/
DEPS_FILENAME: ci_deps_win_v01.zip
install:
- if not exist "%DEPS_FILENAME%"
appveyor DownloadFile "%DEPS_URL%%DEPS_FILENAME%"
- 7z x -y "%DEPS_FILENAME%"
before_build:
- md build
- cd build
- if "%PLATFORM%"=="Win32" set CMAKE_GENERATOR_NAME=Visual Studio 14 2015
- if "%PLATFORM%"=="x64" set CMAKE_GENERATOR_NAME=Visual Studio 14 2015 Win64
- set DEPS_INCLUDE_DIR=%APPVEYOR_BUILD_FOLDER%\ci_deps_win\include
- set DEPS_LIB_DIR=%APPVEYOR_BUILD_FOLDER%\ci_deps_win\lib\%PLATFORM%
- cmake -G "%CMAKE_GENERATOR_NAME%" -T "v140_xp"
-DCMAKE_BUILD_TYPE="%CONFIGURATION%"
-DFMOD_INCLUDE_DIR="%DEPS_INCLUDE_DIR%"
-DFMOD_LIBRARY="%DEPS_LIB_DIR%\fmodex.lib"
-DOPENAL_INCLUDE_DIR="%DEPS_INCLUDE_DIR%"
-DOPENAL_LIBRARY="%DEPS_LIB_DIR%\OpenAL32.lib"
-DMPG123_INCLUDE_DIR="%DEPS_INCLUDE_DIR%"
-DMPG123_LIBRARIES="%DEPS_LIB_DIR%\libmpg123-0.lib"
-DSNDFILE_INCLUDE_DIR="%DEPS_INCLUDE_DIR%"
-DSNDFILE_LIBRARY="%DEPS_LIB_DIR%\libsndfile-1.lib"
..
build:
project: build\GZDoom.sln
parallel: true
verbosity: minimal
notifications:
- provider: Email
on_build_success: false
on_build_failure: false
on_build_status_changed: false