forked from kodi-game/game.libretro.tyrquake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
29 lines (23 loc) · 1.03 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
version: BuildNr.{build}
image: Visual Studio 2015
shallow_clone: true
clone_folder: c:\projects\game.libretro.tyrquake
environment:
app_id: game.libretro.tyrquake
matrix:
- GENERATOR: "Visual Studio 14"
CONFIGURATION: Release
- GENERATOR: "Visual Studio 14 Win64"
CONFIGURATION: Release
build_script:
- cd ..
- git clone --depth=1 https://github.com/xbmc/xbmc.git
- mklink /j xbmc\project\BuildDependencies\msys64 C:\msys64
- cd %app_id%
- mkdir build
- cd build
- mkdir -p definition\%app_id%
- echo %app_id% %APPVEYOR_BUILD_FOLDER% %APPVEYOR_REPO_COMMIT% > definition\%app_id%\%app_id%.txt
- SET PATH=C:\Program Files (x86)\CMake\bin;C:\msys64\bin;C:\msys64\usr\bin;%PATH%
- cmake -T host=x64 -G "%GENERATOR%" -DADDONS_TO_BUILD=%app_id% -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DADDONS_DEFINITION_DIR=%APPVEYOR_BUILD_FOLDER%/build/definition -DADDON_SRC_PREFIX=../.. -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=1 ../../xbmc/cmake/addons
- cmake --build . --config %CONFIGURATION% --target %app_id%