glm/.travis.yml
2016-11-19 20:47:20 +01:00

64 lines
1.2 KiB
YAML

language: cpp
matrix:
include:
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
env: COMPILER=g++-4.9
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6.1
env: COMPILER=g++-6.1
- compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.4
packages:
- clang-3.4
env: COMPILER=clang++-3.4
- compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.9
packages:
- clang-3.9
env: COMPILER=clang++-3.9
compiler:
- clang
before_script:
script:
- mkdir ./build_pure
- cd ./build_pure
- cmake -DCMAKE_CXX_COMPILER=$COMPILER -DGLM_TEST_ENABLE=ON -DGLM_TEST_FORCE_PURE=ON ..
- cmake --build .
- ctest
- cd ..
- mkdir ./build_simd
- cd ./build_simd
- cmake -DCMAKE_CXX_COMPILER=$COMPILER -DGLM_TEST_ENABLE=ON ..
- cmake --build .
- ctest
- cd ..