diff --git a/.travis.yml b/.travis.yml index 163673a3..58f4536b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,42 @@ language: cpp matrix: include: + - os: osx + osx_image: xcode10 + 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 + env: + - MATRIX_EVAL="INFO=C++17-avx2-release" + + - os: osx + osx_image: xcode10 + script: + - cmake --version + - mkdir ./build_pure_17_debug + - cd ./build_pure_17_debug + - cmake -DCMAKE_CXX_COMPILER=$COMPILER -DCMAKE_BUILD_TYPE=Debug -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_17=ON -DGLM_TEST_FORCE_PURE=ON .. + - cmake -E time cmake --build . + - ctest + env: + - MATRIX_EVAL="INFO=C++17-pure-debug" + + - os: osx + osx_image: xcode10 + script: + - cmake --version + - mkdir ./build_avx_17_debug + - cd ./build_avx_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_AVX=ON .. + - cmake -E time cmake --build . + - ctest + env: + - MATRIX_EVAL="INFO=C++17-avx-debug" + - os: osx osx_image: xcode10 script: @@ -485,40 +521,6 @@ 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-avx-debug" - script: - - cmake --version - - mkdir ./build_avx_17_debug - - cd ./build_avx_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_AVX=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}"