1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00
Grid/.travis.yml

70 lines
1.6 KiB
YAML
Raw Normal View History

2016-04-30 14:29:41 +01:00
language: cpp
2016-05-01 18:43:14 +01:00
2016-04-30 14:29:41 +01:00
matrix:
include:
2016-05-01 18:43:14 +01:00
- os: osx
osx_image: xcode7.2
compiler: clang
- os: osx
osx_image: xcode7.2
compiler: gcc
env: VERSION=-5
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
env: VERSION=-4.8
- compiler: gcc
2016-04-30 14:29:41 +01:00
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
2016-05-01 18:43:14 +01:00
env: VERSION=-4.9
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
env: VERSION=-5
- compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.6
packages:
- clang-3.6
env: VERSION=-3.6
- compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.7
packages:
- clang-3.7
env: VERSION=-3.7
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$CC" == "gcc" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$CC" == "gcc" ]]; then brew install gcc5; fi
install:
- export CC=$CC$VERSION
- export CXX=$CXX$VERSION
script:
- ./scripts/reconfigure_script
- mkdir build
- cd build
2016-05-01 18:49:36 +01:00
- ../configure CXXFLAGS="-mavx2 -mfma -O3 -std=c++11" --enable-precision=single --enable-simd=AVX2 --enable-comms=none
2016-05-01 18:43:14 +01:00
- make
- ./benchmarks/Benchmark_dwf --threads 1