2018-01-09 19:15:24 +00:00
|
|
|
language: cpp
|
|
|
|
|
2018-01-09 19:19:01 +00:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
|
2016-11-20 21:05:40 +00:00
|
|
|
matrix:
|
|
|
|
include:
|
2018-01-09 19:01:02 +00:00
|
|
|
- os: linux
|
2018-01-09 19:13:07 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-4.9
|
|
|
|
env:
|
|
|
|
- MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
|
|
|
|
|
2018-01-09 19:04:56 +00:00
|
|
|
- os: linux
|
2018-01-09 19:13:07 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-7
|
|
|
|
env:
|
|
|
|
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
|
|
|
|
|
2018-01-09 19:19:01 +00:00
|
|
|
- os: linux
|
2018-01-09 19:13:07 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
- llvm-toolchain-precise-3.6
|
|
|
|
packages:
|
|
|
|
- clang-3.6
|
|
|
|
env:
|
|
|
|
- MATRIX_EVAL="CC=clang-3.6 && CXX=clang++-3.6"
|
|
|
|
|
2018-01-09 19:19:01 +00:00
|
|
|
- os: linux
|
2018-01-09 19:13:07 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- llvm-toolchain-trusty-5.0
|
|
|
|
packages:
|
|
|
|
- clang-5.0
|
|
|
|
env:
|
|
|
|
- MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0"
|
2016-11-20 21:05:40 +00:00
|
|
|
|
2018-01-09 19:19:01 +00:00
|
|
|
|
|
|
|
|
2018-01-09 19:01:02 +00:00
|
|
|
before_install:
|
|
|
|
- eval "${MATRIX_EVAL}"
|
2016-11-20 21:05:40 +00:00
|
|
|
|
|
|
|
script:
|
2017-08-16 23:52:45 +00:00
|
|
|
- cmake --version
|
2016-11-20 21:05:40 +00:00
|
|
|
- mkdir ./build_pure_11
|
|
|
|
- cd ./build_pure_11
|
2016-11-23 23:59:20 +00:00
|
|
|
- cmake -DCMAKE_CXX_COMPILER=$COMPILER -DCMAKE_BUILD_TYPE=Release -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_11=ON -DGLM_TEST_FORCE_PURE=ON ..
|
2017-08-17 00:35:34 +00:00
|
|
|
- cmake -E time cmake --build .
|
2016-11-20 21:05:40 +00:00
|
|
|
- ctest
|
|
|
|
- cd ..
|
|
|
|
- mkdir ./build_pure_98
|
|
|
|
- cd ./build_pure_98
|
2016-11-23 23:59:20 +00:00
|
|
|
- cmake -DCMAKE_CXX_COMPILER=$COMPILER -DCMAKE_BUILD_TYPE=Release -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_98=ON -DGLM_TEST_FORCE_PURE=ON ..
|
2016-11-20 21:05:40 +00:00
|
|
|
- cmake --build .
|
|
|
|
- ctest
|
|
|
|
- cd ..
|
2016-11-23 23:59:20 +00:00
|
|
|
- mkdir ./build_pure_11_debug
|
|
|
|
- cd ./build_pure_11_debug
|
|
|
|
- cmake -DCMAKE_CXX_COMPILER=$COMPILER -DCMAKE_BUILD_TYPE=Debug -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_11=ON -DGLM_TEST_FORCE_PURE=ON ..
|
2017-08-17 00:35:34 +00:00
|
|
|
- cmake -E time cmake --build .
|
2016-11-23 23:59:20 +00:00
|
|
|
- ctest
|
|
|
|
- cd ..
|
2016-11-24 18:39:28 +00:00
|
|
|
- mkdir ./build_pure_98_debug
|
|
|
|
- cd ./build_pure_98_debug
|
|
|
|
- cmake -DCMAKE_CXX_COMPILER=$COMPILER -DCMAKE_BUILD_TYPE=Debug -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_98=ON -DGLM_TEST_FORCE_PURE=ON ..
|
2017-08-17 00:35:34 +00:00
|
|
|
- cmake -E time cmake --build .
|
2016-11-24 18:39:28 +00:00
|
|
|
- ctest
|
|
|
|
- cd ..
|
|
|
|
- mkdir ./build_simd_11
|
|
|
|
- cd ./build_simd_11
|
2016-11-24 21:22:17 +00:00
|
|
|
- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then cmake -DCMAKE_CXX_COMPILER=$COMPILER -DCMAKE_BUILD_TYPE=Release -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_11=ON -DGLM_TEST_ENABLE_SIMD_SSE3=ON ..; else cmake -DCMAKE_CXX_COMPILER=$COMPILER -DCMAKE_BUILD_TYPE=Release -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_11=ON -DGLM_TEST_ENABLE_SIMD_AVX=ON ..; fi
|
2017-08-17 00:35:34 +00:00
|
|
|
- cmake -E time cmake --build .
|
2016-11-24 18:39:28 +00:00
|
|
|
- ctest
|
|
|
|
- cd ..
|
|
|
|
- mkdir ./build_simd_98
|
|
|
|
- cd ./build_simd_98
|
2016-11-24 21:22:17 +00:00
|
|
|
- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then cmake -DCMAKE_CXX_COMPILER=$COMPILER -DCMAKE_BUILD_TYPE=Release -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_98=ON -DGLM_TEST_ENABLE_SIMD_SSE3=ON ..; else cmake -DCMAKE_CXX_COMPILER=$COMPILER -DCMAKE_BUILD_TYPE=Release -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_98=ON -DGLM_TEST_ENABLE_SIMD_AVX=ON ..; fi
|
2017-08-17 00:35:34 +00:00
|
|
|
- cmake -E time cmake --build .
|
2016-11-24 18:39:28 +00:00
|
|
|
- ctest
|
|
|
|
- cd ..
|
2016-11-23 23:59:20 +00:00
|
|
|
- mkdir ./build_simd_11_debug
|
|
|
|
- cd ./build_simd_11_debug
|
2016-11-24 21:22:17 +00:00
|
|
|
- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then cmake -DCMAKE_CXX_COMPILER=$COMPILER -DCMAKE_BUILD_TYPE=Debug -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_11=ON -DGLM_TEST_ENABLE_SIMD_SSE3=ON ..; else cmake -DCMAKE_CXX_COMPILER=$COMPILER -DCMAKE_BUILD_TYPE=Debug -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_11=ON -DGLM_TEST_ENABLE_SIMD_AVX=ON ..; fi
|
2017-08-17 00:35:34 +00:00
|
|
|
- cmake -E time cmake --build .
|
2016-11-23 23:59:20 +00:00
|
|
|
- ctest
|
|
|
|
- cd ..
|
2016-11-24 18:39:28 +00:00
|
|
|
- mkdir ./build_simd_98_debug
|
|
|
|
- cd ./build_simd_98_debug
|
2016-11-24 21:22:17 +00:00
|
|
|
- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then cmake -DCMAKE_CXX_COMPILER=$COMPILER -DCMAKE_BUILD_TYPE=Debug -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_98=ON -DGLM_TEST_ENABLE_SIMD_SSE3=ON ..; else cmake -DCMAKE_CXX_COMPILER=$COMPILER -DCMAKE_BUILD_TYPE=Debug -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_98=ON -DGLM_TEST_ENABLE_SIMD_AVX=ON ..; fi
|
2017-08-17 00:35:34 +00:00
|
|
|
- cmake -E time cmake --build .
|
2016-11-24 18:39:28 +00:00
|
|
|
- ctest
|
|
|
|
- cd ..
|
2016-11-24 19:48:06 +00:00
|
|
|
|
2016-11-20 21:05:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
|