forked from MFTabriz/slabcc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
89 lines (82 loc) · 2.01 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
77
78
79
80
81
82
83
84
85
86
87
88
89
language: cpp
sudo: required
env:
global:
- OPENBLAS_NUM_THREADS=1
matrix:
include:
- os: linux
dist: xenial
compiler: gcc
env:
- SET_COMPILERS="sudo ln -s /usr/bin/gcc-5 /usr/bin/gcc && sudo ln -s /usr/bin/g++-5 /usr/bin/g++"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
- g++-5
- gfortran-5
- libopenblas-dev
- fftw3-dev
- os: linux
dist: xenial
compiler: gcc
env:
- SET_COMPILERS="sudo ln -s /usr/bin/gcc-6 /usr/bin/gcc && sudo ln -s /usr/bin/g++-6 /usr/bin/g++"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-6
- g++-6
- gfortran-6
- libopenblas-dev
- fftw3-dev
- os: linux
dist: xenial
compiler: gcc
env:
- SET_COMPILERS="sudo ln -s /usr/bin/gcc-8 /usr/bin/gcc && sudo ln -s /usr/bin/g++-8 /usr/bin/g++"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-8
- g++-8
- gfortran-8
- libopenblas-dev
- fftw3-dev
- os: linux
dist: xenial
compiler: gcc
env:
- SET_COMPILERS="sudo ln -s /usr/bin/gcc-9 /usr/bin/gcc && sudo ln -s /usr/bin/g++-9 /usr/bin/g++"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-9
- g++-9
- gfortran-9
- libopenblas-dev
- fftw3-dev
before_install:
- sudo unlink /usr/bin/gcc && sudo unlink /usr/bin/g++
- eval ${SET_COMPILERS}
- which gcc && gcc --version
- which g++ && g++ --version
- lscpu
install: true
script:
- cd ./bin/ && mv -f makefile.dbg makefile
- make
after_script:
- ./slabcc -v
- ldd -v slabcc
notifications:
email: false