diff options
author | simon <root@simon.home> | 2017-04-21 01:24:56 +0100 |
---|---|---|
committer | simon <watermansrdev@gmail.com> | 2017-06-25 01:07:40 +0100 |
commit | cb4e15c1aecbe283b87e4e97c1d485062ef7f571 (patch) | |
tree | 462fb00816ccf67e418a736de9bb0c39c173e121 /.appveyor.yml | |
parent | c80879ee69bcad51564b8b183f63131934006bf5 (diff) | |
download | libtdevnc-cb4e15c1aecbe283b87e4e97c1d485062ef7f571.tar.gz libtdevnc-cb4e15c1aecbe283b87e4e97c1d485062ef7f571.zip |
Added SASL authentication support
Added SASL support to OpenSSL
Diffstat (limited to '.appveyor.yml')
-rw-r--r-- | .appveyor.yml | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index dd07eeb..0393f3a 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,8 +1,14 @@ +#environment: +# APPVEYOR_RDP_PASSWORD: Pa55word + os: - Visual Studio 2013 - Visual Studio 2015 +#init: +# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) + install: - mkdir deps - cd deps @@ -22,13 +28,32 @@ install: - cmake . -DZLIB_INCLUDE_DIR=..\zlib -DZLIB_LIBRARY=..\zlib\debug\zlibstaticd.lib - cmake --build . - cd .. + # Berkeley DB - required by SASL + - curl -fsSL -o db-4.1.25.tar.gz http://download.oracle.com/berkeley-db/db-4.1.25.tar.gz + - 7z x db-4.1.25.tar.gz -so | 7z x -si -ttar > nul + - move db-4.1.25 db + - cd db\build_win32 + - C:\"Program Files (x86)"\"Microsoft Visual Studio 12.0"\Common7\IDE\devenv.exe db_dll.dsp /upgrade + - msbuild /p:Configuration=Release db_dll.vcxproj + - cd ..\.. + # Cyrus SASL + - curl -fsSL -o cyrus-sasl-2.1.26.tar.gz ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-sasl-2.1.26.tar.gz + - 7z x cyrus-sasl-2.1.26.tar.gz -so | 7z x -si -ttar > nul + - move cyrus-sasl-2.1.26 sasl + - cd sasl + - '"%vs120comntools%\VsDevCmd.bat"' + - nmake /f NTMakefile OPENSSL_INCLUDE=c:\OpenSSL-Win32\include OPENSSL_LIBPATH=c:\OpenSSL-Win32\lib DB_INCLUDE=c:\projects\libvncserver\deps\db\build_win32 DB_LIBPATH=c:\projects\libvncserver\deps\db\build_win32\release DB_LIB=libdb41.lib install + - cd .. # go back to source root - cd .. - build_script: - mkdir build - cd build - - cmake .. -DZLIB_INCLUDE_DIR=..\deps\zlib -DZLIB_LIBRARY=..\deps\zlib\debug\zlibstaticd.lib -DPNG_PNG_INCLUDE_DIR=..\deps\libpng -DPNG_LIBRARY=..\deps\libpng\debug\libpng16_staticd.lib + - cmake .. -DZLIB_INCLUDE_DIR=..\deps\zlib -DZLIB_LIBRARY=..\deps\zlib\debug\zlibstaticd.lib -DPNG_PNG_INCLUDE_DIR=..\deps\libpng -DPNG_LIBRARY=..\deps\libpng\debug\libpng16_staticd.lib -D SASL2_INCLUDE_DIR=c:\cmu\include -D LIBSASL2_LIBRARIES=c:\cmu\lib\libsasl.lib .. - cmake --build . - ctest -C Debug --output-on-failure + +#on_finish: +# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) + |