2021-05-17 11:40:00 +02:00
|
|
|
version: 7.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
|
2021-01-17 14:18:26 +01:00
|
|
|
- Ubuntu2004
|
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'
|
2021-05-17 07:59:44 +02:00
|
|
|
windows_openal_url: 'https://openal-soft.org/openal-binaries/openal-soft-1.21.1-bin.zip'
|
2021-03-27 22:20:15 +01:00
|
|
|
windows_sdl2_url: 'https://www.libsdl.org/release/SDL2-devel-2.0.14-VC.zip'
|
2020-11-19 16:55:09 +01:00
|
|
|
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'
|
2021-05-17 10:58:36 +02:00
|
|
|
windows_openal_dir: '%dependency_folder%\openal-soft-1.21.1-bin'
|
2021-03-27 22:20:15 +01:00
|
|
|
windows_sdl2_dir: '%dependency_folder%\SDL2-2.0.14'
|
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-12-28 11:28:40 +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
|
2021-01-17 14:18:26 +01:00
|
|
|
|
|
|
|
- path: io.github.opendriver2.Redriver2.flatpak
|
|
|
|
name: Linux Flatpak
|