2019-07-20 13:13:16 +00:00
version : 1.0 .{build}
2019-10-12 22:35:01 +00:00
image : Visual Studio 2019
2019-06-13 09:12:42 +00:00
configuration :
2019-07-20 13:13:16 +00:00
- Debug
- Release
2020-04-28 19:46:53 +00:00
platform :
- win-x86-librw_d3d9-mss
2020-05-01 19:51:24 +00:00
- win-x86-librw_gl3_glfw-mss
2019-05-19 21:05:06 +00:00
environment :
APPVEYOR_SAVE_CACHE_ON_ERROR : true
2020-05-01 19:51:24 +00:00
GLEW_VER : "2.1.0"
GLFW_VER : "3.3.2"
GLEW_BASE : glew-%GLEW_VER%
GLFW_BASE : glfw-%GLFW_VER%.bin.WIN32
GLEW_FILE : "%GLEW_BASE%-win32.zip"
GLFW_FILE : "%GLFW_BASE%.zip"
GLEW_URL : https://github.com/nigels-com/glew/releases/download/%GLEW_BASE%/%GLEW_FILE%
GLFW_URL : https://github.com/glfw/glfw/releases/download/%GLFW_VER%/%GLFW_FILE%
2019-05-19 21:05:06 +00:00
install :
2020-05-01 19:51:24 +00:00
- IF [%PLATFORM%] == [win-x86-librw_gl3_glfw-mss] IF NOT EXIST %GLEW_FILE% appveyor DownloadFile %GLEW_URL% -FileName "%APPVEYOR_BUILD_FOLDER%/%GLEW_FILE%"
- IF [%PLATFORM%] == [win-x86-librw_gl3_glfw-mss] 7z x "%APPVEYOR_BUILD_FOLDER%/%GLEW_FILE%"
- IF [%PLATFORM%] == [win-x86-librw_gl3_glfw-mss] IF NOT EXIST %GLFW_FILE% appveyor DownloadFile %GLFW_URL% -FileName "%APPVEYOR_BUILD_FOLDER%/%GLFW_FILE%"
- IF [%PLATFORM%] == [win-x86-librw_gl3_glfw-mss] 7z x "%APPVEYOR_BUILD_FOLDER%/%GLFW_FILE%"
2019-07-20 13:13:16 +00:00
- cmd : >-
git submodule update --init --recursive
2019-07-20 13:39:51 +00:00
2020-05-01 19:51:24 +00:00
premake5 vs2019 --with-librw --glewdir=%APPVEYOR_BUILD_FOLDER%/%GLEW_BASE% --glfwdir=%APPVEYOR_BUILD_FOLDER%/%GLFW_BASE%
2019-07-20 13:39:51 +00:00
2020-04-17 13:46:34 +00:00
build :
2020-05-05 17:54:44 +00:00
project : build/reVC.sln
2020-04-17 13:46:34 +00:00
verbosity : minimal
2020-05-01 19:51:24 +00:00
after_build :
2020-05-06 11:11:21 +00:00
- 7z a "reVC_%configuration%_%platform%_%APPVEYOR_BUILD_VERSION%.zip" bin/%PLATFORM%/%CONFIGURATION%/reVC.exe bin/%PLATFORM%/%CONFIGURATION%/reVC.pdb
2019-07-20 13:13:16 +00:00
artifacts :
2020-05-05 17:54:44 +00:00
- path : "reVC_%configuration%_%platform%_%APPVEYOR_BUILD_VERSION%.zip"
name : reVC
2020-05-01 19:51:24 +00:00
deploy :
- provider : BinTray
username : shfil119
api_key :
2020-05-01 22:30:18 +00:00
secure : xWnYDfNWM87iPoBFbz6L1XAduxijJRWSpQLhMDOjznmzbMCsORtdx2tmWmFLTwf6
2020-05-01 21:57:25 +00:00
subject : gtamodding
2020-05-01 19:51:24 +00:00
repo : re3
package : "%configuration%_%platform%"
version : "%APPVEYOR_BUILD_VERSION%"
2020-05-05 17:54:44 +00:00
artifact : reVC
2020-05-01 19:51:24 +00:00
publish : true
on :
branch : master
APPVEYOR_REPO_TAG : false
cache :
- "%GLEW_FILE%"
- "%GLFW_FILE%"