mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-25 03:42:34 +01:00
51 lines
1.5 KiB
YAML
51 lines
1.5 KiB
YAML
version: 5.6.{build}
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
- appveyor
|
|
|
|
skip_tags: true
|
|
|
|
image:
|
|
- Visual Studio 2019
|
|
- Ubuntu
|
|
|
|
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'
|
|
|
|
|
|
install:
|
|
- cmd: '%APPVEYOR_BUILD_FOLDER%\.appveyor\Install.bat'
|
|
- sh: '${APPVEYOR_BUILD_FOLDER}/.appveyor/Install.sh'
|
|
|
|
build_script:
|
|
- cmd: '%APPVEYOR_BUILD_FOLDER%\.appveyor\Build.bat'
|
|
- sh: '${APPVEYOR_BUILD_FOLDER}/.appveyor/Build.sh'
|
|
|
|
after_build:
|
|
- cmd: '%APPVEYOR_BUILD_FOLDER%\.appveyor\AfterBuild.bat'
|
|
- sh: '${APPVEYOR_BUILD_FOLDER}/.appveyor/AfterBuild.sh'
|
|
|
|
cache:
|
|
# - 'src_rebuild\obj\'
|
|
|
|
artifacts:
|
|
- path: src_rebuild\bin\*\*.zip
|
|
name: Windows Binaries
|
|
|
|
- path: src_rebuild\bin\*\*.tar.gz
|
|
name: Linux Binaries
|