premiere-libtorrent/appveyor.yml

63 lines
2.2 KiB
YAML
Raw Normal View History

2015-07-13 05:01:23 +02:00
version: 1.0.{build}
branches:
only:
- master
os: Windows Server 2012 R2
clone_depth: 1
environment:
matrix:
- variant: test_debug
compiler: msvc
linkflags: '"/LIBPATH:C:\\OpenSSL-Win32\\lib"'
- variant: test_barebones
compiler: msvc
linkflags: '"/LIBPATH:C:\\OpenSSL-Win32\\lib"'
- variant: test_release
compiler: msvc
2015-07-16 08:31:08 +02:00
linkflags: '"/LIBPATH:C:\\OpenSSL-Win32\\lib"'
2015-08-09 23:54:10 +02:00
# mingw and boost.random don't like each other. Comment this back in once there
# is support
# - variant: test_debug
# compiler: gcc
# linkflags: '"-LC:\\OpenSSL-Win32\\lib"'
2015-07-13 05:01:23 +02:00
install:
2015-08-10 00:10:39 +02:00
- git submodule update --init --recursive
2015-07-13 05:01:23 +02:00
- set ROOT_DIRECTORY=%CD%
- cd %ROOT_DIRECTORY%
2015-08-09 23:58:57 +02:00
- if not exist c:\OpenSSL-Win32\nul (
appveyor DownloadFile https://strcpy.net/packages/Win32OpenSSL-1_0_2a.exe
&& Win32OpenSSL-1_0_2a.exe /silent /verysilent /sp- /suppressmsgboxes )
2015-07-13 05:01:23 +02:00
- copy c:\OpenSSL-Win32\ssleay32.dll %WINDIR%\system32
- copy c:\OpenSSL-Win32\libeay32.dll %WINDIR%\system32
- cd %ROOT_DIRECTORY%
- set BOOST_ROOT=c:\Libraries\boost
- set BOOST_BUILD_PATH=%BOOST_ROOT%\tools\build
- echo %BOOST_ROOT%
- echo %BOOST_BUILD_PATH%
- set PATH=%PATH%;%BOOST_BUILD_PATH%\src\engine\bin.ntx86
- 'echo using msvc : 12.0 ; >%HOMEDRIVE%%HOMEPATH%\user-config.jam'
- echo using gcc ; >>%HOMEDRIVE%%HOMEPATH%\user-config.jam
- type %HOMEDRIVE%%HOMEPATH%\user-config.jam
- cd %ROOT_DIRECTORY%
- set PATH=%PATH%;c:\Mingw\bin
- g++ --version
- python --version
- echo %ROOT_DIRECTORY%
cache:
- C:\OpenSSL-Win32
build_script:
2015-08-09 23:58:57 +02:00
- cd %ROOT_DIRECTORY%\examples
- b2.exe --hash -j2 %compiler% variant=%variant% linkflags=%linkflags% include="C:\\OpenSSL-Win32\\include" warnings=off
2015-07-13 05:01:23 +02:00
- cd %ROOT_DIRECTORY%\test
- b2.exe --hash -j2 win-tests %compiler% variant=%variant% link=shared linkflags=%linkflags% include="C:\\OpenSSL-Win32\\include" warnings=off
2015-08-09 23:58:57 +02:00
- cd %ROOT_DIRECTORY%\bindings\python
- b2.exe --hash -j2 %compiler% variant=%variant% linkflags=%linkflags% include="C:\\OpenSSL-Win32\\include" warnings=off stage_module
2015-08-09 23:58:57 +02:00
- python test.py
2015-08-10 03:50:06 +02:00
- if %variant% == "test_debug" (
2015-08-09 23:58:57 +02:00
cd %ROOT_DIRECTORY%\simulation
&& b2.exe --hash -j2 crypto=built-in warnings=off %compiler% )
2015-08-09 23:54:10 +02:00