Debian Codegraph @

appveyor.yml

raw
1 version: BuildNr.{build}
2
3 image: Visual Studio 2017
4
5 shallow_clone: true
6
7 clone_folder: c:\projects\screensaver.pingpong
8
9 environment:
10 app_id: screensaver.pingpong
11
12 matrix:
13 - GENERATOR: "Visual Studio 15"
14 CONFIG: Release
15 - GENERATOR: "Visual Studio 15 Win64"
16 CONFIG: Release
17 - GENERATOR: "Visual Studio 15 Win64"
18 CONFIG: Release
19 WINSTORE: -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION="10.0.17763.0"
20 - GENERATOR: "Visual Studio 15 ARM"
21 CONFIG: Release
22 WINSTORE: -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION="10.0.17763.0"
23
24 build_script:
25 - cd ..
26 - git clone --branch master --depth=1 https://github.com/xbmc/xbmc.git
27 - cd %app_id%
28 - mkdir build
29 - cd build
30 - mkdir -p definition\%app_id%
31 - echo %app_id% %APPVEYOR_BUILD_FOLDER% %APPVEYOR_REPO_COMMIT% > definition\%app_id%\%app_id%.txt
32 - 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
33 - cmake --build . --config %CONFIG% --target %app_id%