mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-23 02:42:38 +01:00
54 lines
1.6 KiB
YAML
54 lines
1.6 KiB
YAML
version: 6.0.{build}
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
- appveyor
|
|
|
|
skip_tags: true
|
|
|
|
image:
|
|
- Visual Studio 2019
|
|
- Ubuntu2004
|
|
|
|
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.14-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.14'
|
|
|
|
|
|
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
|
|
|
|
- path: io.github.opendriver2.Redriver2.flatpak
|
|
name: Linux Flatpak
|