From 58ee21b4507e05b6e2d39147a6faaf3adff9ec4d Mon Sep 17 00:00:00 2001 From: Patrick von Reth Date: Mon, 20 Jul 2015 17:22:37 +0200 Subject: [PATCH] try to create APPVEYOR build artifact --- appveyor.yml | 6 +++++- ci/appveyor.ps1 | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 29632be..2559edc 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -16,4 +16,8 @@ environment: #mingw - COMPILER: MINGW #msvc - #- COMPILER: MSVC \ No newline at end of file + - COMPILER: MSVC + +artifacts: + - path: work\image + name: %APPVEYOR_PROJECT_NAME% \ No newline at end of file diff --git a/ci/appveyor.ps1 b/ci/appveyor.ps1 index 1e06f42..1036396 100644 --- a/ci/appveyor.ps1 +++ b/ci/appveyor.ps1 @@ -32,6 +32,7 @@ elseif ( $env:COMPILER -eq "MSVC" ) +mkdir $env:APPVEYOR_BUILD_FOLDER\work\image mkdir $env:APPVEYOR_BUILD_FOLDER\work\build mkdir $env:APPVEYOR_BUILD_FOLDER\work\build\extra-cmake-modules mkdir $env:APPVEYOR_BUILD_FOLDER\work\build\snorenotify @@ -53,4 +54,4 @@ if ( !(Test-Path "$env:APPVEYOR_BUILD_FOLDER\work\install" ) ) cd $env:APPVEYOR_BUILD_FOLDER\work\build\snorenotify cmake -G $CMAKE_GENERATOR $env:APPVEYOR_BUILD_FOLDER -DWITH_SNORE_DAEMON=ON -DWITH_FRONTENDS=ON -DCMAKE_INSTALL_PREFIX="$CMAKE_INSTALL_ROOT" -& $MAKE \ No newline at end of file +& $MAKE install DESTDIR=$env:APPVEYOR_BUILD_FOLDER\work\image \ No newline at end of file