Appveyor config
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/20dbfa38 Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/20dbfa38 Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/20dbfa38 Branch: refs/heads/master Commit: 20dbfa386e06f6c7c9787dc5d8a4d73668fd3f8e Parents: c5fb184 Author: Nick Wellnhofer <[email protected]> Authored: Tue Jun 2 19:52:11 2015 +0200 Committer: Nick Wellnhofer <[email protected]> Committed: Tue Jun 2 20:29:00 2015 +0200 ---------------------------------------------------------------------- appveyor.yml | 15 ++++++++++++++ devel/bin/appveyor-build.bat | 41 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy/blob/20dbfa38/appveyor.yml ---------------------------------------------------------------------- diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..d8c3076 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,15 @@ +environment: + global: + LUCY_DEBUG: 1 + matrix: + - CLOWNFISH_HOST: c + MSVC_VERSION: 10 + - CLOWNFISH_HOST: c + MSVC_VERSION: 12 +# - CLOWNFISH_HOST: perl + +build: off + +test_script: + - 'devel\bin\appveyor-build.bat' + http://git-wip-us.apache.org/repos/asf/lucy/blob/20dbfa38/devel/bin/appveyor-build.bat ---------------------------------------------------------------------- diff --git a/devel/bin/appveyor-build.bat b/devel/bin/appveyor-build.bat new file mode 100644 index 0000000..f436181 --- /dev/null +++ b/devel/bin/appveyor-build.bat @@ -0,0 +1,41 @@ +@echo off + +if "%CLOWNFISH_HOST%" == "c" goto test_c +if "%CLOWNFISH_HOST%" == "perl" goto test_perl + +echo unknown CLOWNFISH_HOST: %CLOWNFISH_HOST% +exit /b 1 + +:test_c + +if "%MSVC_VERSION%" == "10" goto msvc_10 + +call "C:\Program Files (x86)\Microsoft Visual Studio %MSVC_VERSION%.0\VC\vcvarsall.bat" amd64 +goto msvc_build + +:msvc_10 +call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 + +:msvc_build + +rem Install Clownfish. +cd \projects +git clone -q https://git-wip-us.apache.org/repos/asf/lucy-clownfish.git +cd lucy-clownfish\runtime\c +call configure && nmake || exit /b +call install --prefix C:\install + +cd \projects\lucy\c +call configure --clownfish-prefix C:\install && nmake && nmake test + +exit /b + +:test_perl + +perl -V + +cd perl +perl Build.PL && call Build && call Build test + +exit /b +
