2020-07-24 18:30:19 +02:00
|
|
|
version: 0.5.{build}
|
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- appveyor
|
|
|
|
|
|
|
|
skip_tags: true
|
|
|
|
|
|
|
|
image: Visual Studio 2019
|
|
|
|
|
|
|
|
configuration:
|
|
|
|
- Debug
|
|
|
|
- Release
|
|
|
|
|
|
|
|
clone_folder: 'c:\projects\REDRIVER2'
|
|
|
|
#lib_folder: %clone_folder%\EXTERNAL
|
|
|
|
|
|
|
|
environment:
|
|
|
|
project_folder: 'c:\projects\REDRIVER2\src_rebuild'
|
|
|
|
dependency_folder: '%project_folder%\dependencies'
|
|
|
|
|
|
|
|
|
|
|
|
build:
|
|
|
|
project: c:\projects\REDRIVER2\src_rebuild\REDRIVER2.sln
|
|
|
|
verbosity: minimal
|
2020-07-24 18:51:09 +02:00
|
|
|
|
|
|
|
cache:
|
|
|
|
- '%project_folder%\obj\%configuration%\'
|
2020-07-24 18:30:19 +02:00
|
|
|
|
|
|
|
platform:
|
|
|
|
- Win32
|
|
|
|
#- x64
|
|
|
|
|
|
|
|
install:
|
|
|
|
- set SDL2_URL="https://www.libsdl.org/release/SDL2-devel-2.0.12-VC.zip"
|
|
|
|
- appveyor DownloadFile %SDL2_URL% -FileName SDL2.zip
|
|
|
|
- 7z x SDL2.zip -o%dependency_folder%
|
|
|
|
- set GLEW_URL="https://netix.dl.sourceforge.net/project/glew/glew/2.1.0/glew-2.1.0-win32.zip"
|
|
|
|
- appveyor DownloadFile %GLEW_URL% -FileName GLEW.zip
|
|
|
|
- 7z x GLEW.zip -o%dependency_folder%
|
|
|
|
- set OPENAL_URL="https://kcat.strangesoft.net/openal-binaries/openal-soft-1.20.1-bin.zip"
|
|
|
|
- appveyor DownloadFile %OPENAL_URL% -FileName OPENAL.zip
|
|
|
|
- 7z x OPENAL.zip -o%dependency_folder%
|
2020-09-21 07:24:34 +02:00
|
|
|
- set JPEG_URL="http://www.ijg.org/files/jpegsr9d.zip"
|
|
|
|
- appveyor DownloadFile %JPEG_URL% -FileName JPEG.zip
|
|
|
|
- 7z x JPEG.zip -o%dependency_folder%
|
2020-07-24 18:30:19 +02:00
|
|
|
- set PREMAKE_URL="https://github.com/premake/premake-core/releases/download/v5.0.0-alpha15/premake-5.0.0-alpha15-windows.zip"
|
|
|
|
- appveyor DownloadFile %PREMAKE_URL% -FileName premake5.zip
|
|
|
|
- 7z x premake5.zip -o%project_folder%
|
|
|
|
- set SDL2_DIR=%dependency_folder%\SDL2-2.0.12
|
|
|
|
- set GLEW_DIR=%dependency_folder%\glew-2.1.0
|
|
|
|
- set OPENAL_DIR=%dependency_folder%\openal-soft-1.20.1-bin
|
2020-09-21 07:24:34 +02:00
|
|
|
- set JPEG_DIR=%dependency_folder%\jpeg-9d
|
2020-07-24 18:30:19 +02:00
|
|
|
|
|
|
|
before_build:
|
|
|
|
- cmd: cd %project_folder%
|
|
|
|
- cmd: premake5 vs2019
|
2020-09-21 07:24:34 +02:00
|
|
|
- cmd: ren "%JPEG_DIR%\jconfig.vc" "jconfig.h"
|
2020-07-24 18:30:19 +02:00
|
|
|
|
2020-09-29 05:35:42 +02:00
|
|
|
#artifacts:
|
|
|
|
# - path: src_rebuild\bin\%configuration%\*.zip
|
|
|
|
# name: Binaries
|
2020-07-24 18:30:19 +02:00
|
|
|
|
2020-09-29 05:35:42 +02:00
|
|
|
#after_build:
|
|
|
|
# - cmd: cd %project_folder%\bin\%configuration%
|
|
|
|
# - 7z a REDRIVER2.zip ".\*"
|
2020-07-24 18:30:19 +02:00
|
|
|
|
|
|
|
#build: off
|