glm/.travis.yml

87 lines
2.3 KiB
YAML
Raw Normal View History

2016-11-19 18:41:54 +00:00
language: cpp
os:
- linux
- osx
2016-11-19 19:47:20 +00:00
matrix:
include:
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
env: COMPILER=g++-4.9
- compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
2016-11-19 20:00:43 +00:00
- llvm-toolchain-precise-3.8
2016-11-19 19:47:20 +00:00
packages:
2016-11-19 20:00:43 +00:00
- clang-3.8
env: COMPILER=clang++-3.8
2016-11-19 18:41:54 +00:00
compiler:
- clang
before_script:
script:
2016-11-19 20:00:43 +00:00
- mkdir ./build_pure_11
2016-11-19 20:02:14 +00:00
- cd ./build_pure_11
- cmake -DCMAKE_CXX_COMPILER=$COMPILER -DCMAKE_BUILD_TYPE=Release -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_11=ON -DGLM_TEST_FORCE_PURE=ON ..
2016-11-19 19:23:16 +00:00
- cmake --build .
2016-11-19 19:20:27 +00:00
- ctest
- cd ..
2016-11-19 20:00:43 +00:00
- mkdir ./build_simd_11
2016-11-19 20:02:14 +00:00
- cd ./build_simd_11
- 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 ..
2016-11-19 20:00:43 +00:00
- cmake --build .
- ctest
- cd ..
- mkdir ./build_pure_98
2016-11-19 20:02:14 +00:00
- cd ./build_pure_98
- 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-19 20:00:43 +00:00
- cmake --build .
- ctest
- cd ..
- mkdir ./build_simd_98
2016-11-19 20:02:14 +00:00
- cd ./build_simd_98
- 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 ..
- cmake --build .
- ctest
- cd ..
- 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 ..
- cmake --build .
- ctest
- cd ..
- mkdir ./build_simd_11_debug
- cd ./build_simd_11_debug
- 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 ..
- cmake --build .
- ctest
- cd ..
- 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 ..
- cmake --build .
- ctest
- cd ..
- mkdir ./build_simd_98_debug
- cd ./build_simd_98_debug
- 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 ..
2016-11-19 19:23:16 +00:00
- cmake --build .
2016-11-19 19:20:27 +00:00
- ctest
- cd ..
2016-11-19 19:47:20 +00:00