2020-11-16 18:50:33 +01:00
|
|
|
version: 5.0.{build}
|
2020-07-24 18:30:19 +02:00
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- appveyor
|
|
|
|
|
|
|
|
skip_tags: true
|
|
|
|
|
2020-11-19 16:55:09 +01:00
|
|
|
image:
|
|
|
|
- Visual Studio 2019
|
|
|
|
- Ubuntu
|
2020-07-24 18:30:19 +02:00
|
|
|
|
2020-11-19 16:55:09 +01:00
|
|
|
environment:
|
|
|
|
data_folder: '%APPVEYOR_BUILD_FOLDER%\data'
|
|
|
|
project_folder: '%APPVEYOR_BUILD_FOLDER%\\src_rebuild'
|
|
|
|
dependency_folder: '%APPVEYOR_BUILD_FOLDER%\dependencies'
|
|
|
|
# Dependency URLs
|
|
|
|
windows_premake_url: 'https://github.com/premake/premake-core/releases/download/v5.0.0-alpha15/premake-5.0.0-alpha15-windows.zip'
|
|
|
|
windows_jpeg_url: 'http://www.ijg.org/files/jpegsr9d.zip'
|
|
|
|
windows_openal_url: 'https://openal-soft.org/openal-binaries/openal-soft-1.20.1-bin.zip'
|
|
|
|
windows_sdl2_url: 'https://www.libsdl.org/release/SDL2-devel-2.0.12-VC.zip'
|
|
|
|
linux_premake_url: 'https://github.com/premake/premake-core/releases/download/v5.0.0-alpha15/premake-5.0.0-alpha15-linux.tar.gz'
|
|
|
|
# Dependency Directories
|
|
|
|
windows_jpeg_dir: '%dependency_folder%\jpeg-9d'
|
|
|
|
windows_openal_dir: '%dependency_folder%\openal-soft-1.20.1-bin'
|
|
|
|
windows_sdl2_dir: '%dependency_folder%\SDL2-2.0.12'
|
2020-07-24 18:30:19 +02:00
|
|
|
|
|
|
|
|
2020-11-19 16:55:09 +01:00
|
|
|
install:
|
|
|
|
- cmd: '%APPVEYOR_BUILD_FOLDER%\.appveyor\Install.bat'
|
|
|
|
- sh: '${APPVEYOR_BUILD_FOLDER}/.appveyor/Install.sh'
|
2020-07-24 18:30:19 +02:00
|
|
|
|
2020-11-19 16:55:09 +01:00
|
|
|
build_script:
|
|
|
|
- cmd: '%APPVEYOR_BUILD_FOLDER%\.appveyor\Build.bat'
|
|
|
|
- sh: '${APPVEYOR_BUILD_FOLDER}/.appveyor/Build.sh'
|
2020-07-24 18:30:19 +02:00
|
|
|
|
2020-11-19 16:55:09 +01:00
|
|
|
after_build:
|
|
|
|
- cmd: '%APPVEYOR_BUILD_FOLDER%\.appveyor\AfterBuild.bat'
|
|
|
|
- sh: '${APPVEYOR_BUILD_FOLDER}/.appveyor/AfterBuild.sh'
|
2020-07-24 18:51:09 +02:00
|
|
|
|
|
|
|
cache:
|
2020-11-19 16:55:09 +01:00
|
|
|
- 'src_rebuild\obj\'
|
2020-07-24 18:30:19 +02:00
|
|
|
|
2020-10-13 21:24:09 +02:00
|
|
|
artifacts:
|
2020-11-19 16:55:09 +01:00
|
|
|
- path: src_rebuild\bin\*\*.zip
|
|
|
|
name: Windows Binaries
|
|
|
|
|
|
|
|
- path: src_rebuild\bin\*\*.tar.gz
|
|
|
|
name: Linux Binaries
|