From de0a0f9a8161b9f4abc44976141ee63c3ad71fd1 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 ae450a3..fe5790b 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\project\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\project\cmake\addons - cmake --build . --config %CONFIG%