[icinga-checkins] icinga.org: icinga2/feature/wip-appveyor: WIP: Test with appveyor
git at icinga.org
git at icinga.org
Wed Nov 30 14:30:14 CET 2016
Module: icinga2
Branch: feature/wip-appveyor
Commit: cbc7feb67f8ce3abe618339b60f11f1e8cded47b
URL: https://git.icinga.org/?p=icinga2.git;a=commit;h=cbc7feb67f8ce3abe618339b60f11f1e8cded47b
Author: Markus Frosch <markus.frosch at icinga.com>
Date: Wed Nov 30 14:22:59 2016 +0100
WIP: Test with appveyor
---
appveyor.yml | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000..57fa9f8
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,53 @@
+---
+os: Visual Studio 2013
+
+environment:
+ SSL_CERT_FILE: "C:\\OpenSSL\\cacert.pem"
+ GENERATOR: "Visual Studio 12 2013 Win64"
+ OPENSSL_DIR: "C:\\OpenSSL"
+ BOOST_ROOT: "C:\\Boost_1_61_0"
+ BOOST_LIBDIR: "C:\\Boost_1_61_0\\lib64-msvc-12.0"
+
+ TARGET: x86_64-pc-windows-gnu
+ BITS: 64
+ MSYS2: 1
+ OPENSSL_VERSION: 1_0_2j
+
+ #matrix:
+ # 1.1.0, 64/32 bit
+ #- TARGET: i686-pc-windows-gnu
+ # BITS: 32
+ # MSYS2: 1
+ # OPENSSL_VERSION: 1_1_0c
+ #- TARGET: x86_64-pc-windows-msvc
+ # BITS: 64
+ # OPENSSL_VERSION: 1_1_0c
+ # OPENSSL_DIR: C:\OpenSSL
+
+ # 1.0.2, 64/32 bit
+ #- TARGET: x86_64-pc-windows-gnu
+ # BITS: 64
+ # MSYS2: 1
+ # OPENSSL_VERSION: 1_0_2j
+ #- TARGET: i686-pc-windows-msvc
+ # BITS: 32
+ # OPENSSL_VERSION: 1_0_2j
+ # OPENSSL_DIR: C:\OpenSSL
+
+install:
+ # install OpenSSL
+ #- ps: Start-FileDownload "http://slproweb.com/download/Win${env:BITS}OpenSSL-${env:OPENSSL_VERSION}.exe"
+ #- Win%BITS%OpenSSL-%OPENSSL_VERSION%.exe /SILENT /VERYSILENT /SP- /DIR="C:\OpenSSL"
+ #- ps: Start-FileDownload "https://curl.haxx.se/ca/cacert.pem" -FileName "C:\OpenSSL\cacert.pem"
+ - choco install openssl.light
+ - choco install boost-msvc-12
+ - choco install winflexbison
+
+build:
+ - if not exist build (mkdir build)
+ - cd build
+ - cmake -G "%GENERATOR%" -DCPACK_GENERATOR=WIX -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../inst -DBOOST_ROOT="%BOOST_ROOT%" -DOPENSSL_ROOT_DIR=%OPENSSL_DIR% -DOPENSSL_INCLUDE_DIR=%OPENSSL_DIR%/include -DOPENSSL_LIBRARIES=%OPENSSL_DIR%/lib -DBOOST_LIBRARYDIR="%BOOST_LIBDIR%" -DICINGA2_UNITY_BUILD=ON ..
+
+# "-DFLEX_EXECUTABLE=C:/local/win_flex_bison/win_flex.exe" "-DBISON_EXECUTABLE=C:/local/win_flex_bison/win_bison.exe"
+# -DICINGA2_WITH_STUDIO=ON -DwxWidgets_ROOT_DIR=c:/local/wxWidgets-3.1.0 -DwxWidgets_LIB_DIR=C:/local/wxWidgets-3.1.0/lib/%wxwidgets_libdir%
+# "-DPostgreSQL_ROOT=%postgres_dir%"
More information about the icinga-checkins
mailing list