From 6aeafe5288b391e05b37e96fa1b9059eba87276c Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Sun, 19 Aug 2018 01:12:58 +0200 Subject: [PATCH] More different configurations --- .appveyor.yml | 117 ++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 84 insertions(+), 33 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index aadaf547..7de6f09a 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,37 +1,88 @@ clone_folder: c:\dev\glm-cmake -os: - - Visual Studio 2013 - - Visual Studio 2015 - - Visual Studio 2017 +matrix: + os: Visual Studio 2013 + platform: x86 + configuration: Release + build_script: + - md build32_pure_98_release + - cd build32_pure_98_release + - cmake -DCMAKE_CXX_COMPILER=$COMPILER -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_98=ON -DGLM_TEST_FORCE_PURE=ON .. + - cmake -E time cmake --build . --config Release -platform: - - x86 - - x86_64 + os: Visual Studio 2013 + platform: x64 + configuration: Release + build_script: + - md build64_pure_98_release + - cd build64_pure_98_release + - cmake -DCMAKE_CXX_COMPILER=$COMPILER -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_98=ON -DGLM_TEST_FORCE_PURE=ON .. + - cmake -E time cmake --build . --config Release + + os: Visual Studio 2013 + platform: x64 + configuration: Release + build_script: + - md build64_pure_ms_release + - cd build64_pure_ms_release + - cmake -DCMAKE_CXX_COMPILER=$COMPILER -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_98=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DGLM_TEST_FORCE_PURE=ON .. + - cmake -E time cmake --build . --config Release + + os: Visual Studio 2015 + platform: x64 + configuration: Debug + build_script: + - md build_pure_11_debug + - cd build_pure_11_debug + - cmake -DCMAKE_CXX_COMPILER=$COMPILER -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_11=ON -DGLM_TEST_FORCE_PURE=ON .. + - cmake -E time cmake --build . --config Debug + + os: Visual Studio 2015 + platform: x64 + configuration: Release + build_script: + - md build64_pure_11_release + - cd build64_pure_11_release + - cmake -DCMAKE_CXX_COMPILER=$COMPILER -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_11=ON -DGLM_TEST_FORCE_PURE=ON .. + - cmake -E time cmake --build . --config Release + + os: Visual Studio 2015 + platform: x64 + configuration: Release + build_script: + - md build64_sse3_11_release + - cd build64_sse3_11_release + - cmake -DCMAKE_CXX_COMPILER=$COMPILER -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_11=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DGLM_TEST_ENABLE_SIMD_SSE3=ON .. + - cmake -E time cmake --build . --config Release + + os: Visual Studio 2017 + platform: x64 + configuration: Release + build_script: + - md build64_pure_14_release + - cd build64_pure_14_release + - cmake -DCMAKE_CXX_COMPILER=$COMPILER -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_14=ON -DGLM_TEST_FORCE_PURE=ON .. + - cmake -E time cmake --build . --config Release + + os: Visual Studio 2017 + platform: x64 + configuration: Release + build_script: + - md build64_sse3_14_release + - cd build64_sse3_14_release + - cmake -DCMAKE_CXX_COMPILER=$COMPILER -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_14=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DGLM_TEST_ENABLE_SIMD_SSE3=ON .. + - cmake -E time cmake --build . --config Release + + os: Visual Studio 2017 + platform: x64 + configuration: Release + build_script: + - md build64_avx_14_release + - cd build64_avx_14_release + - cmake -DCMAKE_CXX_COMPILER=$COMPILER -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_14=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DGLM_TEST_ENABLE_SIMD_AVX=ON .. + - cmake -E time cmake --build . --config Release + +after_build: + - cd .. + - ctest -build_script: -- cmake --version -- md build_pure_11 -- cd build_pure_11 -- cmake -DCMAKE_CXX_COMPILER=$COMPILER -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DGLM_TEST_FORCE_PURE=ON .. -- cmake -E time cmake --build . --config Debug -- cmake -E time cmake --build . --config Release -- cd .. -- md build_simd_11 -- cd build_simd_11 -- cmake -DCMAKE_CXX_COMPILER=$COMPILER -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON .. -- cmake -E time cmake --build . --config Debug -- cmake -E time cmake --build . --config Release -- cd .. -- md build_pure_98 -- cd build_pure_98 -- cmake -DCMAKE_CXX_COMPILER=$COMPILER -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_98=ON -DGLM_TEST_FORCE_PURE=ON .. -- cmake -E time cmake --build . --config Debug -- cmake -E time cmake --build . --config Release -- cd .. -- md build_simd_98 -- cd build_simd_98 -- cmake -DCMAKE_CXX_COMPILER=$COMPILER -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_98=ON .. -- cmake -E time cmake --build . --config Debug -- cmake -E time cmake --build . --config Release -- cd ..