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