2016-11-04 11:31:07 +01:00
|
|
|
version: BuildNr.{build}
|
|
|
|
|
2021-09-18 19:45:16 +02:00
|
|
|
image: Visual Studio 2017
|
2016-11-04 11:31:07 +01:00
|
|
|
|
2021-09-18 19:45:16 +02:00
|
|
|
shallow_clone: true
|
2016-11-04 11:31:07 +01:00
|
|
|
|
2021-09-18 19:45:16 +02:00
|
|
|
clone_folder: c:\projects\pvr.octonet
|
2016-11-04 11:31:07 +01:00
|
|
|
|
|
|
|
environment:
|
2021-09-18 19:45:16 +02:00
|
|
|
app_id: pvr.octonet
|
2016-11-04 11:31:07 +01:00
|
|
|
|
|
|
|
matrix:
|
2021-09-18 19:45:16 +02:00
|
|
|
- GENERATOR: "Visual Studio 15"
|
2016-11-04 11:31:07 +01:00
|
|
|
CONFIG: Release
|
2021-09-18 19:45:16 +02:00
|
|
|
- GENERATOR: "Visual Studio 15 Win64"
|
|
|
|
CONFIG: Release
|
|
|
|
- GENERATOR: "Visual Studio 15 Win64"
|
|
|
|
CONFIG: Release
|
|
|
|
WINSTORE: -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION="10.0.17763.0"
|
|
|
|
- GENERATOR: "Visual Studio 15 ARM"
|
|
|
|
CONFIG: Release
|
|
|
|
WINSTORE: -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION="10.0.17763.0"
|
2017-07-06 14:16:00 +02:00
|
|
|
|
2016-11-04 11:31:07 +01:00
|
|
|
build_script:
|
|
|
|
- cd ..
|
2021-09-19 09:56:27 +02:00
|
|
|
- git clone --branch master --depth=1 https://github.com/xbmc/xbmc.git
|
2021-09-18 19:45:16 +02:00
|
|
|
- cd %app_id%
|
2016-11-04 11:31:07 +01:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2021-09-18 19:45:16 +02:00
|
|
|
- mkdir -p definition\%app_id%
|
|
|
|
- echo %app_id% %APPVEYOR_BUILD_FOLDER% %APPVEYOR_REPO_COMMIT% > definition\%app_id%\%app_id%.txt
|
|
|
|
- cmake -T host=x64 -G "%GENERATOR%" %WINSTORE% -DADDONS_TO_BUILD=%app_id% -DCMAKE_BUILD_TYPE=%CONFIG% -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 %CONFIG% --target %app_id%
|