From f69d029438206a3279df82f46b10a03c2fb8d7d2 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Sun, 19 Aug 2018 16:15:16 +0200 Subject: [PATCH] New list of target for Visual Studio testing --- .appveyor.yml | 74 +++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 63 insertions(+), 11 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 3d493e79..ffdaaa01 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,16 +1,66 @@ clone_folder: c:\dev\glm-cmake -os: - - Visual Studio 2013 - - Visual Studio 2015 - - Visual Studio 2017 +environment: + matrix: + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 + CMAKE_GENERATOR: 'Visual Studio 15 2017 Win64' + ADDITIONAL_CMAKE_ARGS: '-DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DGLM_TEST_ENABLE_SIMD_AVX2=ON' + CONFIGURATION: Release -configuration: - - Debug - - Release + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 + CMAKE_GENERATOR: 'Visual Studio 15 2017 Win64' + ADDITIONAL_CMAKE_ARGS: '-DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DGLM_TEST_ENABLE_SIMD_AVX2=ON' + CONFIGURATION: Debug -matrix: - fast_finish: true + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 + CMAKE_GENERATOR: 'Visual Studio 15 2017 Win64' + ADDITIONAL_CMAKE_ARGS: '-DGLM_TEST_ENABLE=ON -DGLM_TEST_FORCE_PURE=ON' + CONFIGURATION: Release + + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 + CMAKE_GENERATOR: 'Visual Studio 15 2017 Win64' + ADDITIONAL_CMAKE_ARGS: '-DGLM_TEST_ENABLE=ON -DGLM_TEST_FORCE_PURE=ON' + CONFIGURATION: Debug + + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + CMAKE_GENERATOR: 'Visual Studio 14 2015 Win64' + ADDITIONAL_CMAKE_ARGS: '-DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DGLM_TEST_ENABLE_SIMD_AVX=ON' + CONFIGURATION: Release + + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + CMAKE_GENERATOR: 'Visual Studio 14 2015 Win64' + ADDITIONAL_CMAKE_ARGS: '-DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DGLM_TEST_ENABLE_SIMD_AVX=ON' + CONFIGURATION: Debug + + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + CMAKE_GENERATOR: 'Visual Studio 14 2015 Win64' + ADDITIONAL_CMAKE_ARGS: '-DGLM_TEST_ENABLE=ON -DGLM_TEST_FORCE_PURE=ON' + CONFIGURATION: Release + + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + CMAKE_GENERATOR: 'Visual Studio 14 2015 Win64' + ADDITIONAL_CMAKE_ARGS: '-DGLM_TEST_ENABLE=ON -DGLM_TEST_FORCE_PURE=ON' + CONFIGURATION: Debug + + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 + CMAKE_GENERATOR: 'Visual Studio 12 2013 Win64' + ADDITIONAL_CMAKE_ARGS: '-DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DGLM_TEST_ENABLE_SIMD_SSE2=ON' + CONFIGURATION: Release + + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 + CMAKE_GENERATOR: 'Visual Studio 12 2013 Win64' + ADDITIONAL_CMAKE_ARGS: '-DGLM_TEST_ENABLE=ON -DGLM_TEST_FORCE_PURE=ON' + CONFIGURATION: Release + + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 + CMAKE_GENERATOR: 'Visual Studio 12 2015' + ADDITIONAL_CMAKE_ARGS: '-DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DGLM_TEST_ENABLE_SIMD_SSE2=ON' + CONFIGURATION: Release + + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 + CMAKE_GENERATOR: 'Visual Studio 12 2015' + ADDITIONAL_CMAKE_ARGS: '-DGLM_TEST_ENABLE=ON -DGLM_TEST_FORCE_PURE=ON' + CONFIGURATION: Release platform: - x64 @@ -19,11 +69,13 @@ build: parallel: true verbosity: minimal -build_script: +before_build: - cmake --version - md build - cd build -- cmake -DCMAKE_CXX_COMPILER=$COMPILER -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON .. +- cmake -DCMAKE_CXX_COMPILER=$COMPILER $ADDITIONAL_CMAKE_ARGS .. + +build_script: - cmake -E time cmake --build . --config %CONFIGURATION% -- /verbosity:minimal after_build: