Commit Graph

28 Commits

Author SHA1 Message Date
Luis Díaz Más
a6d82633c3 Enable WARNINGS_AS_ERRORS in CI jobs.
- Move the settings to other cmake file. This will not be used for XMP code
- Disable WARNINGS_AS_ERRORS for VS2008 and VS2010
2018-09-12 19:22:31 +02:00
Luis Díaz Más
3d558be1aa Fix architecture setting in conan 2018-09-10 10:31:00 +02:00
Luis Díaz Más
7f111be2d0 Do not run unit tests with VS2008 and VS2010. Too much templating magic there ... 2018-09-10 10:31:00 +02:00
Luis Díaz Más
1f244b84e0 Use architecture x86 for VS2008 and VS2010 (In CMake generators) 2018-09-10 10:31:00 +02:00
Luis Díaz Más
20f7d24bc4 Use architecture x86 for VS2008 and VS2010 2018-09-10 10:31:00 +02:00
Luis Díaz Más
552f1e25c3 Fix vcvarsall paths for 2008 and 2010 2018-09-10 10:31:00 +02:00
Luis Díaz Más
333ae8a8b1 Try to compile the project also with VS2008 and VS2010 2018-09-10 10:31:00 +02:00
Luis Díaz Más
24be5a514e [Appveyor] Build exiv2 with Visual Studio 2012 and 2013
- Integration tests had to be disabled with 2012 and 2013. There were
few (4) tests failing for these cases.
- Only bring libiconv with conan when a windows subsystem is detected.
- libiconv can be enabled now with a conan option.
- Use infinity instead of INFINITY
- Use conan_basic_setup(). Fixes a problem with gtest is VS2012
- call vcvarsall.bat for each compiler version so that nmake can be
found.
2018-09-10 10:31:00 +02:00
Luis Díaz Más
1128d8926a Appveyor: Run CI with VS 2015 and 2017.
In order to achieve this objective the following actions were taken:
- Do not use the Ninja Generator, since it is more difficult to choose
  VS toolset to be used.
- Use arch x64 for conan and the CMake Generators (by default)
- Do not create profiles dir manually
- Detect new default conan profile automatically
- Remove clcache from appveyor since it does not integrate well with VS generators
- VS2013 removed from the matrix since some integration tests fail there.
2018-08-26 19:00:45 +02:00
Luis Diaz Mas
cefe0e5b0a conan: Use the same conan version in all the platforms (1.6.1) 2018-08-15 15:01:15 +02:00
Luis Díaz Más
5eee072089 Enable clcache usage and use it in appveyor
* [appveyor] Install clcache with nuget
* [appveyor] Keep clcache in the appveyor jobs
* [appveyor] Print clcache stats after compiling the project
* Use CLCACHE_PATH env variable to find clcache
2018-07-30 21:31:23 +02:00
Luis Díaz Más
9fa4c62561 Appveyor: use conan 1.3.3 2018-05-29 15:33:07 +02:00
Luis Díaz Más
85d021cbe3 Appveyor: cache conanCache folder 2018-05-29 15:33:07 +02:00
Dan Čermák
d7f4453dbd [testsuite] Remove usage of $cat via hooks 2018-05-29 10:21:13 +02:00
Luis Diaz Mas
85abdff080 AppVeyor: Remove explicit option EXIV2_ENABLE_XMP. Already ON by default 2018-05-29 10:03:41 +02:00
Dan Čermák
4826d87513 [Appveyor] Set environment variable for the Windows version of cat 2018-05-24 11:06:18 +02:00
Luis Díaz Más
eb61e57de0 [conan] Update to conan 1.1.1 and recipes in which we depend on
* Update dependency on libexpat to version 2.2.5
    This new version of the conan recipe contain packages for new compilers
* Get gtest and libcurl from bincrafters
* Update the zlib dependency
* Use clang-5.0
2018-03-22 22:52:59 +01:00
Dan Čermák
27d7a5d968 Added new test suite to travis & Appveyor 2018-01-05 00:44:40 +01:00
Luis Díaz Más
6d41884245 [AppVeyor] Re-enable unit tests and compile project in release mode
The problem was that we were not indicating the CMAKE_BUILD_TYPE when
calling CMake. It is important to set that CMake variable when using
the Ninja generator.
2017-12-17 18:26:12 +01:00
Luis Díaz Más
8582c564e0 (AppVeyor) Move to project directory 2017-10-16 07:27:32 +02:00
Luis Díaz Más
142a9a9178 (AppVeyor) Disable unit tests until we found out the problem 2017-10-16 07:27:32 +02:00
Luis Díaz Más
bf6670abb0 (AppVeyor) Install ninja & Use it as the CMake generator (speed up builds) 2017-10-16 07:27:32 +02:00
Luis Díaz Más
f9fab45163 (AppVeyor) Trying to run unit tests properly from windows 2017-10-16 07:27:32 +02:00
Luis Díaz Más
9482763061 Run unit tests in travis-ci and appveyor 2017-10-16 07:27:32 +02:00
Luis Díaz Más
62a0f8cde8 Unify appveyor style 2017-10-10 08:13:30 +02:00
Luis Diaz Mas
bdce47b6e7 Use VS2015 instead of 2017, Use newer conan version and enable cache in appveyor 2017-10-10 08:13:26 +02:00
Luis Diaz Mas
8f0a2721fc Using Conan in appveyor 2017-09-03 16:35:41 +02:00
Luis Díaz Más
53e21bc146 Add support for AppVeyor.
It will only build with Visual Studio 2017:
- Build in Release mode
- Build in Debug mode
- Test the installation
2017-08-23 20:41:21 +02:00