try to create APPVEYOR build artifact

This commit is contained in:
Patrick von Reth 2015-07-20 17:22:37 +02:00
parent d56aa69542
commit 58ee21b450
2 changed files with 7 additions and 2 deletions

View File

@ -16,4 +16,8 @@ environment:
#mingw
- COMPILER: MINGW
#msvc
#- COMPILER: MSVC
- COMPILER: MSVC
artifacts:
- path: work\image
name: %APPVEYOR_PROJECT_NAME%

View File

@ -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
& $MAKE install DESTDIR=$env:APPVEYOR_BUILD_FOLDER\work\image