Test C++98 on Clang

This commit is contained in:
Christophe Riccio 2018-08-19 15:44:39 +02:00
parent 096eb6726a
commit 684eb11993

View File

@ -2,6 +2,30 @@ language: cpp
matrix: matrix:
include: 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 - os: osx
osx_image: xcode6.4 osx_image: xcode6.4
script: script:
@ -102,25 +126,25 @@ matrix:
osx_image: xcode10 osx_image: xcode10
script: script:
- cmake --version - cmake --version
- mkdir ./build_avx2_17_release - mkdir ./build_avx_17_release
- cd ./build_avx2_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_AVX2=ON .. - 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 . - cmake -E time cmake --build .
- ctest - ctest
env: env:
- MATRIX_EVAL="INFO=C++17-avx2-release" - MATRIX_EVAL="INFO=C++17-avx-release"
- os: osx - os: osx
osx_image: xcode10 osx_image: xcode10
script: script:
- cmake --version - cmake --version
- mkdir ./build_avx2_17_debug - mkdir ./build_avx_17_debug
- cd ./build_avx2_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_AVX2=ON .. - 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 . - cmake -E time cmake --build .
- ctest - ctest
env: env:
- MATRIX_EVAL="INFO=C++17-avx2-debug" - MATRIX_EVAL="INFO=C++17-avx-debug"
- os: linux - os: linux
addons: addons: