diff options
author | Allen Winter <allen.winter@kdab.com> | 2018-08-19 10:22:30 -0400 |
---|---|---|
committer | Allen Winter <allen.winter@kdab.com> | 2018-08-19 10:22:30 -0400 |
commit | 5a2fdd92346305d3b6992ee379f258323557d5c1 (patch) | |
tree | e9beb4123fe9dc2d61aa32d50aa3657a5e1e8988 /appveyor.yml | |
parent | a31411fc0ff215a3e45c0caca14a2eeecef46bc5 (diff) | |
download | libical-git-5a2fdd92346305d3b6992ee379f258323557d5c1.tar.gz |
appveyor - trying to support more compilers and platforms
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 102 |
1 files changed, 57 insertions, 45 deletions
diff --git a/appveyor.yml b/appveyor.yml index 77e10c2b..82161237 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,9 +1,9 @@ #---------------------------------# -# general configuration # +# general COMPILER # #---------------------------------# # version format -version: 1.0.{build}-{branch} +version: '{build}-{branch}' # branches to build branches: @@ -13,65 +13,77 @@ branches: # Do not build on tags (GitHub and BitBucket) skip_tags: false -#---------------------------------# -# environment configuration # -#---------------------------------# - -# Build worker image -image: - - Visual Studio 2013 - -# scripts that are called at very beginning, before repo cloning init: - git config --global core.autocrlf input -#---------------------------------# -# build configuration # -#---------------------------------# - -# build platform, i.e. x86, x64, Any CPU. This setting is optional. -platform: -# - x86 uses 32bit time_t - - x64 - -# build Configuration, i.e. Debug, Release, etc. -configuration: -# - 2015 - - 2013 - - 2012 -# - MinGW -#todo: 2010, 2008 +clone_folder: c:\dev\libical + +environment: + matrix: + - CMAKE_GENERATOR: "NMake Makefiles" + PLATFORM: X86 + COMPILER: msvc2008 + - CMAKE_GENERATOR: "Ninja" + PLATFORM: X86 + COMPILER: msvc2013 + - CMAKE_GENERATOR: "Ninja" + PLATFORM: X64 + COMPILER: msvc2013 + - CMAKE_GENERATOR: "Ninja" + PLATFORM: X86 + COMPILER: msvc2015 + - CMAKE_GENERATOR: "Ninja" + PLATFORM: X64 + COMPILER: msvc2015 + - CMAKE_GENERATOR: "Visual Studio 12" + PLATFORM: X86 + COMPILER: msvc2013 + - CMAKE_GENERATOR: "Visual Studio 12 Win64" + PLATFORM: X64 + COMPILER: msvc2013 + - CMAKE_GENERATOR: "Visual Studio 14" + PLATFORM: X86 + COMPILER: msvc2015 + - CMAKE_GENERATOR: "Visual Studio 14 Win64" + PLATFORM: X64 + COMPILER: msvc2015 + - CMAKE_GENERATOR: "NMake Makefiles JOM" + PLATFORM: X86 + COMPILER: msvc2013 + - CMAKE_GENERATOR: "NMake Makefiles JOM" + PLATFORM: X64 + COMPILER: msvc2013 + - CMAKE_GENERATOR: "NMake Makefiles JOM" + PLATFORM: X86 + COMPILER: msvc2015 + - CMAKE_GENERATOR: "NMake Makefiles JOM" + PLATFORM: X64 + COMPILER: msvc2015 + - CMAKE_GENERATOR: "MinGW Makefiles" + PLATFORM: X64 + COMPILER: MinGW + +matrix: + fast_finish: true build_script: - call scripts\set_compiler_env.bat + - cd c:\dev\libical - mkdir build - cd build - - if "%configuration%" EQU "MinGW" ( cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release -DICAL_GLIB=False .. ) else ( cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DICAL_GLIB=False .. ) - - nmake + - cmake .. -G "%CMAKE_GENERATOR" -DGOBJECT_INTROSPECTION=False -DICAL_GLIB=False -DICAL_BUILD_DOCS=False + - cmake --build . --config Debug + - cmake --build . --config Release # to disable automatic builds #build: off -#---------------------------------# -# tests configuration # -#---------------------------------# - test_script: - - nmake test - -# to disable automatic tests -#test: off - - -#---------------------------------# -# deployment configuration # -#---------------------------------# + - cmd: ctest --output-on-failure -C "Debug" + - cmd: ctest --output-on-failure -C "Release" deploy: off -#---------------------------------# -# notifications # -#---------------------------------# notifications: # Email - provider: Email |