This repository has been archived by the owner on Apr 6, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
/
.travis.yml
76 lines (61 loc) · 1.99 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
dist: trusty
sudo: required
language: cpp
matrix:
include:
- os: linux
addons: &gcc7
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
env: COMPILER=g++-7 BUILD_TYPE=Release STD=17 EXCEPTIONS=ON INT128=ON
- os: linux
addons: *gcc7
env: COMPILER=g++-7 BUILD_TYPE=Debug STD=11 EXCEPTIONS=OFF INT128=OFF
- os: linux
addons: &gcc5
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
env: COMPILER=g++-5 BUILD_TYPE=Release STD=14 EXCEPTIONS=ON INT128=ON
- os: linux
addons: *gcc5
env: COMPILER=g++-5 BUILD_TYPE=Release STD=11 EXCEPTIONS=OFF INT128=OFF
- os: linux
addons: *gcc5
env: COMPILER=g++-5 BUILD_TYPE=Debug STD=14 EXCEPTIONS=ON INT128=ON
- os: linux
addons: *gcc5
env: COMPILER=g++-5 BUILD_TYPE=Debug STD=11 EXCEPTIONS=OFF INT128=OFF
- os: linux
compiler: clang
env: COMPILER=clang++ BUILD_TYPE=Release STD=11 EXCEPTIONS=OFF INT128=OFF
- os: linux
compiler: clang
env: COMPILER=clang++ BUILD_TYPE=Debug STD=11 EXCEPTIONS=OFF INT128=OFF
- os: osx
compiler: g++
env: COMPILER=c++ BUILD_TYPE=Release STD=14 EXCEPTIONS=ON INT128=ON
- os: osx
compiler: g++
env: COMPILER=c++ BUILD_TYPE=Debug STD=14 EXCEPTIONS=ON INT128=ON
- os: osx
compiler: clang
env: COMPILER=c++ BUILD_TYPE=Release STD=14 EXCEPTIONS=ON INT128=ON
- os: osx
compiler: clang
env: COMPILER=c++ BUILD_TYPE=Debug STD=14 EXCEPTIONS=ON INT128=ON
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then source .travis-setup-linux.sh ; fi
script:
- export CXX="${COMPILER}"
- cmake -DCMAKE_BUILD_TYPE="${BUILD_TYPE}" -DSTD="${STD}" -DEXCEPTIONS="${EXCEPTIONS}" -DINT128="${INT128}"
- make
- ./fp_test
- ./fp_benchmark --benchmark_format=csv>result.csv
- ./src/benchmark/report.py result.csv
- ls -l fp_benchmark fp_test