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 30 31 32 33 34 35 36 37
|
version: BuildNr.{build}
init:
- ps: $commit = $env:appveyor_repo_commit.SubString(0,7)
- ps: $timestamp = $env:appveyor_repo_commit_timestamp.SubString(0,10)
- ps: Update-AppveyorBuild -Version ("{0}-{1}-{2}" -f $env:appveyor_repo_branch, $commit, $timestamp)
#branches:
# only:
# - master
# clone directory
clone_folder: c:\projects\pvr.hts
# fetch repository as zip archive
shallow_clone: true # default is "false"
environment:
app_id: pvr.hts
matrix:
#- GENERATOR: "Visual Studio 12 2013"
#CONFIG: Debug
- GENERATOR: "Visual Studio 12 2013"
CONFIG: Release
build_script:
- call "%VS120COMNTOOLS%..\..\VC\bin\vcvars32.bat"
- set cur_dir=%cd%
- cd ..
- git clone --depth=1 https://github.com/xbmc/xbmc.git
- cd %app_id%
- mkdir build
- cd build
- cmake -G "NMake Makefiles" -DADDONS_TO_BUILD=%app_id% -DCMAKE_BUILD_TYPE=%CONFIG% -DADDON_SRC_PREFIX=../.. -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=1 ../../xbmc/project/cmake/addons
- cmake --build "%cur_dir%\build" --target %app_id%
|