REDRIVER2/appveyor.yml

56 lines
1.6 KiB
YAML
Raw Normal View History

2022-12-19 08:34:50 +01:00
version: 7.8.{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
2022-01-21 19:37:06 +01:00
windows_premake_url: 'https://github.com/premake/premake-core/releases/download/v5.0.0-beta1/premake-5.0.0-beta1-windows.zip'
2020-11-19 16:55:09 +01:00
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'
2022-01-21 19:37:06 +01:00
windows_sdl2_url: 'https://www.libsdl.org/release/SDL2-devel-2.0.20-VC.zip'
linux_premake_url: 'https://github.com/premake/premake-core/releases/download/v5.0.0-beta1/premake-5.0.0-beta1-linux.tar.gz'
2020-11-19 16:55:09 +01:00
# 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'
2022-01-21 19:37:06 +01:00
windows_sdl2_dir: '%dependency_folder%\SDL2-2.0.20'
2020-07-24 18:30:19 +02:00
2020-11-19 16:55:09 +01:00
install:
2022-01-20 19:36:06 +01:00
- git submodule init
- git submodule update
2020-11-19 16:55:09 +01:00
- 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'
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