2017-03-06 07:51:50 +00:00
|
|
|
version: "{build}"
|
|
|
|
|
2017-03-07 09:59:52 +00:00
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- /^travis.*$/
|
|
|
|
|
2017-03-08 07:52:19 +00:00
|
|
|
clone_depth: 10
|
2017-03-07 09:59:52 +00:00
|
|
|
|
2017-05-29 11:50:39 +00:00
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
- GENERATOR: "Visual Studio 14 2015"
|
|
|
|
CONFIGURATION: Release
|
|
|
|
TOOLSET: v140_xp
|
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
|
|
|
|
- GENERATOR: "Visual Studio 14 2015 Win64"
|
|
|
|
CONFIGURATION: Release
|
|
|
|
TOOLSET: v140_xp
|
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
|
|
|
|
- GENERATOR: "Visual Studio 15 2017"
|
|
|
|
CONFIGURATION: Release
|
|
|
|
TOOLSET: v141_xp
|
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
|
|
|
|
- GENERATOR: "Visual Studio 15 2017 Win64"
|
|
|
|
CONFIGURATION: Release
|
|
|
|
TOOLSET: v141_xp
|
2017-08-18 06:56:36 +00:00
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: "Previous Visual Studio 2017"
|
2017-05-29 11:50:39 +00:00
|
|
|
- GENERATOR: "Visual Studio 14 2015 Win64"
|
|
|
|
CONFIGURATION: Debug
|
|
|
|
TOOLSET: v140
|
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
|
|
|
|
|
|
|
|
build_script:
|
2017-03-07 09:59:52 +00:00
|
|
|
- md build
|
|
|
|
- cd build
|
2017-05-29 11:50:39 +00:00
|
|
|
- cmake -G "%GENERATOR%" -T "%TOOLSET%" ..
|
|
|
|
- cmake --build . --config "%CONFIGURATION%"
|
2017-03-08 07:52:19 +00:00
|
|
|
|
2017-05-08 12:02:31 +00:00
|
|
|
after_build:
|
|
|
|
- set OUTPUT_DIR=%APPVEYOR_BUILD_FOLDER%\build\%CONFIGURATION%\
|
|
|
|
- 7z a ..\gzdoom.zip "%OUTPUT_DIR%gzdoom.exe" "%OUTPUT_DIR%*.pk3"
|
|
|
|
|
|
|
|
artifacts:
|
|
|
|
- path: gzdoom.zip
|
|
|
|
|
2017-03-08 07:52:19 +00:00
|
|
|
notifications:
|
|
|
|
- provider: Email
|
|
|
|
on_build_success: false
|
|
|
|
on_build_failure: false
|
|
|
|
on_build_status_changed: false
|