Skip to content

Commit

Permalink
AppVeyor: Provide built addon as artifact
Browse files Browse the repository at this point in the history
Allow users to fetch the builds generated by AppVeyor.

Signed-off-by: Julian Scheel <julian@jusst.de>
  • Loading branch information
julianscheel committed Jul 6, 2017
1 parent 9bbd7cf commit d7bb865
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion appveyor.yml
Expand Up @@ -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%
Expand All @@ -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%

0 comments on commit d7bb865

Please sign in to comment.