From d7bb865329a94fd9893bb0d5b3630987963f5f72 Mon Sep 17 00:00:00 2001 From: Julian Scheel Date: Thu, 6 Jul 2017 14:16:00 +0200 Subject: [PATCH] AppVeyor: Provide built addon as artifact Allow users to fetch the builds generated by AppVeyor. Signed-off-by: Julian Scheel --- appveyor.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 164a0d1..6006f2a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -21,6 +21,11 @@ environment: - GENERATOR: "Visual Studio 14" CONFIG: Release +artifacts: + - path: build/install/ + name: pvr.octonet + type: zip + build_script: - cd .. - set ROOT=%cd% @@ -31,5 +36,5 @@ build_script: - mkdir build - cd build # Must use absolute path for cmake to build depends correctly - - cmake -G "%GENERATOR%" -DADDONS_TO_BUILD=%ADDON% -DCMAKE_BUILD_TYPE=%CONFIG% -DADDON_SRC_PREFIX=%ROOT% -DCMAKE_INSTALL_PREFIX=%ROOT%\xbmc\addons -DPACKAGE_ZIP=1 %ROOT%\xbmc\cmake\addons + - cmake -G "%GENERATOR%" -DADDONS_TO_BUILD=%ADDON% -DCMAKE_BUILD_TYPE=%CONFIG% -DADDON_SRC_PREFIX=%ROOT% -DCMAKE_INSTALL_PREFIX=install -DPACKAGE_ZIP=1 %ROOT%\xbmc\cmake\addons - cmake --build . --config %CONFIG%