mirror of
https://github.com/g-truc/glm.git
synced 2024-11-22 17:04:35 +00:00
Test C++98 on Clang
This commit is contained in:
parent
096eb6726a
commit
684eb11993
40
.travis.yml
40
.travis.yml
@ -2,6 +2,30 @@ language: cpp
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- os: osx
|
||||
osx_image: xcode6.4
|
||||
script:
|
||||
- cmake --version
|
||||
- mkdir ./build_pure_98_release
|
||||
- cd ./build_pure_98_release
|
||||
- cmake -DCMAKE_CXX_COMPILER=$COMPILER -DCMAKE_BUILD_TYPE=Release -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_98=ON -DGLM_TEST_FORCE_PURE=ON ..
|
||||
- cmake -E time cmake --build .
|
||||
- ctest
|
||||
env:
|
||||
- MATRIX_EVAL="INFO=C++98-pure-release"
|
||||
|
||||
- os: osx
|
||||
osx_image: xcode6.4
|
||||
script:
|
||||
- cmake --version
|
||||
- mkdir ./build_pure_ms_release
|
||||
- cd ./build_pure_ms_release
|
||||
- cmake -DCMAKE_CXX_COMPILER=$COMPILER -DCMAKE_BUILD_TYPE=Release -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_98=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON
|
||||
- cmake -E time cmake --build .
|
||||
- ctest
|
||||
env:
|
||||
- MATRIX_EVAL="INFO=C++98-pure-ms"
|
||||
|
||||
- os: osx
|
||||
osx_image: xcode6.4
|
||||
script:
|
||||
@ -102,25 +126,25 @@ matrix:
|
||||
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 ..
|
||||
- mkdir ./build_avx_17_release
|
||||
- cd ./build_avx_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_AVX=ON ..
|
||||
- cmake -E time cmake --build .
|
||||
- ctest
|
||||
env:
|
||||
- MATRIX_EVAL="INFO=C++17-avx2-release"
|
||||
- MATRIX_EVAL="INFO=C++17-avx-release"
|
||||
|
||||
- os: osx
|
||||
osx_image: xcode10
|
||||
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 ..
|
||||
- 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-avx2-debug"
|
||||
- MATRIX_EVAL="INFO=C++17-avx-debug"
|
||||
|
||||
- os: linux
|
||||
addons:
|
||||
|
Loading…
Reference in New Issue
Block a user