From c617387b08d9fe1f5a655efe2fa0a4b90ec34ddc Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Sun, 19 Aug 2018 00:40:19 +0200 Subject: [PATCH] Added more AVX2 tests --- .travis.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/.travis.yml b/.travis.yml index 3fc550ed..2d311ce1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -418,6 +418,40 @@ matrix: - cmake -E time cmake --build . - ctest + - os: linux + addons: + apt: + sources: + - llvm-toolchain-trusty-5.0 + packages: + - clang-5.0 + env: + - MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0 && INFO=C++17-avx2-release" + script: + - cmake --version + - mkdir ./build_avx2_17_release + - cd ./build_avx2_17_release + - cmake -DCMAKE_CXX_COMPILER=$COMPILER -DCMAKE_BUILD_TYPE=Release -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_17=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DGLM_TEST_ENABLE_SIMD_AVX2=ON .. + - cmake -E time cmake --build . + - ctest + + - os: linux + addons: + apt: + sources: + - llvm-toolchain-trusty-5.0 + packages: + - clang-5.0 + env: + - MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0 && INFO=C++17-avx2-debug" + script: + - cmake --version + - mkdir ./build_avx2_17_debug + - cd ./build_avx2_17_debug + - cmake -DCMAKE_CXX_COMPILER=$COMPILER -DCMAKE_BUILD_TYPE=Debug -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_17=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DGLM_TEST_ENABLE_SIMD_AVX2=ON .. + - cmake -E time cmake --build . + - ctest + before_install: - eval "${MATRIX_EVAL}"