forked from TApplencourt/OvO
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
156 lines (146 loc) · 3.98 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
dist: bionic
os: linux
git:
submodules: false
jobs:
include:
- name: unittest
script:
- python3 -m unittest src/report.py
- python3 -m doctest src/report.py
- python3 -m doctest src/gtest.py
#~
# GCC
#~
- name: gcc [no omp]
compiler: gcc
env:
- CXX='g++-10'
- CXXFLAGS='-Wall -Wextra -Werror -Wno-unknown-pragmas'
addons:
apt:
sources:
- sourceline: "ppa:ubuntu-toolchain-r/test"
key_url: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x60c317803a41ba51845e371a1e9377a2ba9ef27f
packages:
- g++-10
- python3
script:
- ./ovo.sh run test_src/cpp
- ./ovo.sh report --failed
- name: gcc [no omp tiers 2]
compiler: gcc
env:
- CXX='g++-10'
- CXXFLAGS='-Wall -Wextra -Werror -Wno-unknown-pragmas -std=c++17'
addons:
apt:
sources:
- sourceline: "ppa:ubuntu-toolchain-r/test"
key_url: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x60c317803a41ba51845e371a1e9377a2ba9ef27f
packages:
- g++-10
- python3
install:
- pip install -r requirements.txt
script:
- ./ovo.sh gen tiers 2
- ./ovo.sh run test_src/cpp
- ./ovo.sh report --failed
- name: gcc [omp]
compiler: gcc
env:
- CXX='g++-10'
- CXXFLAGS='-Wall -Wextra -Werror -Wno-unknown-pragmas -fopenmp -foffload=disable'
addons:
apt:
sources:
- sourceline: "ppa:ubuntu-toolchain-r/test"
key_url: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x60c317803a41ba51845e371a1e9377a2ba9ef27f
packages:
- g++-10
- python3
script:
- ./ovo.sh run test_src/cpp
- ./ovo.sh report --failed || true
#~
# icpx
#~
- name: icx [omp offload host]
compiler: icpx
env:
- CXX='icpx'
- CXXFLAGS='-Wall -Wextra -Werror -Wno-unknown-pragmas -fiopenmp -fopenmp-targets=x86_64-pc-linux-gnu -fopenmp-version=50'
- OVO_TIMEOUT='3m'
addons:
apt:
sources:
- sourceline: 'deb https://apt.repos.intel.com/oneapi all main'
key_url: https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
packages:
- intel-basekit
- python3
install:
- source /opt/intel/oneapi/setvars.sh
script:
- ./ovo.sh run test_src/cpp
- ./ovo.sh report --failed || true
#~
# gfortran
#~
- name: gfortran [no omp]
compiler: gfortran
env:
- FC='gfortran-10 -Wall -Wextra -Werror'
addons:
apt:
sources:
- sourceline: "ppa:ubuntu-toolchain-r/test"
key_url: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x60c317803a41ba51845e371a1e9377a2ba9ef27f
packages:
- gfortran-10
- python3
script:
- ./ovo.sh run test_src/fortran
- ./ovo.sh report --failed
- name: gfortran [no omp tiers 2]
compiler: gfortran
env:
- FC='gfortran-10 -Wall -Wextra -Werror'
addons:
apt:
sources:
- sourceline: "ppa:ubuntu-toolchain-r/test"
key_url: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x60c317803a41ba51845e371a1e9377a2ba9ef27f
packages:
- gfortran-10
- python3
install:
- pip install -r requirements.txt
script:
- ./ovo.sh gen tiers 2
- ./ovo.sh run test_src/fortran
- ./ovo.sh report --failed
#~
# ifx
#~
#
# - name: ifx [omp offload host full]
# compiler: ifx
# env:
# - FC='ifx'
# - FFLAGS='-fiopenmp -fopenmp-targets=x86_64-pc-linux-gnu'
# - OVO_TIMEOUT='3m'
# addons:
# apt:
# sources:
# - sourceline: 'deb https://apt.repos.intel.com/oneapi all main'
# key_url: https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
# packages:
# - intel-oneapi-ifort
# - python3
# install:
# - source /opt/intel/oneapi/setvars.sh
# script:
# - ./ovo.sh run test_src/fortran
# - ./ovo.sh report --failed || true