aboutsummaryrefslogtreecommitdiff
path: root/.appveyor.yml
diff options
context:
space:
mode:
authorSilvio Traversaro <pegua1@gmail.com>2017-02-22 00:23:40 +0100
committerSilvio <silvio.traversaro@iit.it>2017-03-05 16:22:50 +0100
commitbf146adb5c9ef6fce7d0db5196e251ba156978be (patch)
tree6371dbc81f5a17bb627f8af9b28616f72fed747c /.appveyor.yml
parent540fa7a418c5a63557e3b36603a61a95bd296bed (diff)
downloaddlfcn-win32-bf146adb5c9ef6fce7d0db5196e251ba156978be.tar.gz
dlfcn-win32-bf146adb5c9ef6fce7d0db5196e251ba156978be.tar.bz2
dlfcn-win32-bf146adb5c9ef6fce7d0db5196e251ba156978be.zip
Add appveyor support
Diffstat (limited to '.appveyor.yml')
-rw-r--r--.appveyor.yml63
1 files changed, 63 insertions, 0 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
new file mode 100644
index 0000000..fd488ba
--- /dev/null
+++ b/.appveyor.yml
@@ -0,0 +1,63 @@
1# Copyright (c) 2014, Ruslan Baratov
2# Copyright (c) 2014, 2016 Alexander Lamaison
3# Copyright (c) 2017 Silvio Traversaro
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are met:
8#
9# * Redistributions of source code must retain the above copyright notice, this
10# list of conditions and the following disclaimer.
11#
12# * Redistributions in binary form must reproduce the above copyright notice,
13# this list of conditions and the following disclaimer in the documentation
14# and/or other materials provided with the distribution.
15#
16# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
20# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
23# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
27os: Visual Studio 2015
28
29environment:
30 matrix:
31 - GENERATOR: "Visual Studio 14 2015"
32 BUILD_SHARED_LIBS: ON
33
34 - GENERATOR: "Visual Studio 14 2015"
35 BUILD_SHARED_LIBS: OFF
36
37 - GENERATOR: "Visual Studio 12 2013"
38 BUILD_SHARED_LIBS: ON
39
40 - GENERATOR: "Visual Studio 12 2013"
41 BUILD_SHARED_LIBS: OFF
42
43platform:
44 - x86
45 - x64
46
47configuration:
48 - Debug
49 - Release
50
51build_script:
52 - ps: if($env:PLATFORM -eq "x64") { $env:CMAKE_GEN_SUFFIX=" Win64" }
53 - md build
54 - cd build
55 - cmake "-G%GENERATOR%%CMAKE_GEN_SUFFIX%" -DBUILD_SHARED_LIBS=%BUILD_SHARED_LIBS% -DBUILD_TESTS=ON ..
56 - cmake --build . --config "%CONFIGURATION%"
57
58test_script:
59 - ctest --output-on-failure --build-config "%CONFIGURATION%"
60
61after_test:
62 - cmake --build . --config "%CONFIGURATION%" --target INSTALL
63