@@ -19,19 +19,16 @@ jobs:
19
19
runs-on : ubuntu-18.04
20
20
steps :
21
21
22
- - uses : actions/checkout@v2
23
- - run : ./.github/gha/install_dependencies.sh
24
22
- uses : actions/setup-python@v2
25
23
with :
26
24
python-version : 3.6
27
- - run : pip install -r requirements.txt
25
+ - uses : actions/checkout@v2
26
+ - run : ./.github/scripts/install_dependencies.sh
28
27
29
28
- name : Test
30
29
env :
31
30
BUILD_TYPE : release
32
- run : |
33
- source .github/travis/common.sh
34
- ./.github/travis/build.sh
31
+ run : ./.github/scripts/build.sh
35
32
36
33
37
34
Format :
@@ -46,60 +43,50 @@ jobs:
46
43
name : ' F: ${{ matrix.name }}'
47
44
steps :
48
45
49
- - uses : actions/checkout@v2
50
- - run : ./.github/gha/install_dependencies.sh
51
46
- uses : actions/setup-python@v2
52
47
with :
53
48
python-version : 3.6
54
- - run : pip install -r requirements.txt
49
+ - uses : actions/checkout@v2
50
+ - run : ./.github/scripts/install_dependencies.sh
55
51
56
52
- name : Test
57
- run : |
58
- source .github/travis/common.sh
59
- ./dev/${{ matrix.script }}
53
+ run : ./dev/${{ matrix.script }}
60
54
61
55
62
56
UniTests :
63
57
name : ' U: C++ Unit Tests'
64
58
runs-on : ubuntu-18.04
65
59
steps :
66
60
67
- - uses : actions/checkout@v2
68
- - run : ./.github/gha/install_dependencies.sh
69
61
- uses : actions/setup-python@v2
70
62
with :
71
63
python-version : 3.6
72
- - run : pip install -r requirements.txt
64
+ - uses : actions/checkout@v2
65
+ - run : ./.github/scripts/install_dependencies.sh
73
66
74
67
- name : Test
75
68
env :
76
69
CMAKE_PARAMS : " -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on"
77
- run : |
78
- source .github/travis/common.sh
79
- ./.github/travis/build.sh
80
- ./.github/travis/unittest.sh
70
+ run : ./.github/scripts/unittest.sh
81
71
82
72
83
73
Warnings :
84
74
name : ' W: Check Compilation Warnings'
85
75
runs-on : ubuntu-18.04
86
76
steps :
87
77
88
- - uses : actions/checkout@v2
89
- - run : ./.github/gha/install_dependencies.sh
90
78
- uses : actions/setup-python@v2
91
79
with :
92
80
python-version : 3.6
93
- - run : pip install -r requirements.txt
81
+ - uses : actions/checkout@v2
82
+ - run : ./.github/scripts/install_dependencies.sh
94
83
95
84
- name : Test
96
85
env :
97
86
# In order to get compilation warnings produced per source file, we must do a non-IPO build
98
87
# We also turn warnings into errors for this target by doing a strict compile
99
88
CMAKE_PARAMS : " -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on -DVTR_ENABLE_STRICT_COMPILE=on -DVTR_IPO_BUILD=off"
100
- run : |
101
- source .github/travis/common.sh
102
- ./.github/travis/build.sh
89
+ run : ./.github/scripts/build.sh
103
90
104
91
105
92
Regression :
@@ -137,19 +124,17 @@ jobs:
137
124
name : ' R: ${{ matrix.name }}'
138
125
steps :
139
126
140
- - uses : actions/checkout@v2
141
- - run : ./.github/gha/install_dependencies.sh
142
127
- uses : actions/setup-python@v2
143
128
with :
144
129
python-version : 3.6
145
- - run : pip install -r requirements.txt
130
+ - uses : actions/checkout@v2
131
+ - run : ./.github/scripts/install_dependencies.sh
146
132
147
133
- name : Test
148
134
env :
149
135
CMAKE_PARAMS : ${{ matrix.params }}
150
136
run : |
151
- source .github/travis/common.sh
152
- ./.github/travis/build.sh
137
+ ./.github/scripts/build.sh
153
138
./run_reg_test.py ${{ matrix.suite }} -show_failures -j2
154
139
155
140
@@ -164,43 +149,40 @@ jobs:
164
149
name : ' S: ${{ matrix.name }}'
165
150
steps :
166
151
167
- - uses : actions/checkout@v2
168
- - run : ./.github/gha/install_dependencies.sh
169
152
- uses : actions/setup-python@v2
170
153
with :
171
154
python-version : 3.6
172
- - run : pip install -r requirements.txt
155
+ - uses : actions/checkout@v2
156
+ - run : ./.github/scripts/install_dependencies.sh
173
157
174
158
- name : Test
175
159
env :
176
160
CMAKE_PARAMS : ' -DVTR_ASSERT_LEVEL=3 -DVTR_ENABLE_SANITIZE=on -DVTR_IPO_BUILD=off -DWITH_BLIFEXPLORER=on'
177
161
BUILD_TYPE : debug
178
162
LSAN_OPTIONS : ' exitcode=42' # Use a non-standard exit code to ensure LSAN errors are detected
179
163
run : |
180
- source .github/travis/common.sh
181
- ./.github/travis/build.sh
164
+ ./.github/scripts/build.sh
182
165
# We skip QoR since we are only checking for errors in sanitizer runs
183
166
./run_reg_test.py ${{ matrix.suite }} -show_failures -j2 -skip_qor
184
167
168
+
185
169
ODINII :
186
170
name : ' ODIN-II Basic Tests'
187
171
runs-on : ubuntu-18.04
188
172
steps :
189
173
190
- - uses : actions/checkout@v2
191
- - run : ./.github/gha/install_dependencies.sh
192
174
- uses : actions/setup-python@v2
193
175
with :
194
176
python-version : 3.6
195
- - run : pip install -r requirements.txt
177
+ - uses : actions/checkout@v2
178
+ - run : ./.github/scripts/install_dependencies.sh
196
179
197
180
- name : Test
198
181
env :
199
182
CMAKE_PARAMS : ' -DVTR_ASSERT_LEVEL=3 -DVTR_ENABLE_SANITIZE=on -DVTR_IPO_BUILD=off -DWITH_BLIFEXPLORER=on'
200
183
BUILD_TYPE : debug
201
184
run : |
202
- source .github/travis/common.sh
203
- ./.github/travis/build.sh
185
+ ./.github/scripts/build.sh
204
186
./run_reg_test.py odin_reg_basic -show_failures -j2
205
187
206
188
@@ -221,21 +203,18 @@ jobs:
221
203
name : ' B: ${{ matrix.name }}'
222
204
steps :
223
205
224
- - uses : actions/checkout@v2
225
- - run : ./.github/gha/install_dependencies.sh
226
206
- uses : actions/setup-python@v2
227
207
with :
228
208
python-version : 3.6
229
- - run : pip install -r requirements.txt
209
+ - uses : actions/checkout@v2
210
+ - run : ./.github/scripts/install_dependencies.sh
230
211
231
212
- name : Test
232
213
env :
233
214
CMAKE_PARAMS : " -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on"
234
215
MATRIX_EVAL : ${{ matrix.eval }}
235
216
BUILD_TYPE : ${{ matrix.build }}
236
- run : |
237
- source .github/travis/common.sh
238
- ./.github/travis/build.sh
217
+ run : ./.github/scripts/build.sh
239
218
240
219
241
220
Coverity :
@@ -252,18 +231,15 @@ jobs:
252
231
runs-on : ubuntu-18.04
253
232
steps :
254
233
255
- - uses : actions/checkout@v2
256
- - run : ./.github/gha/install_dependencies.sh
257
234
- uses : actions/setup-python@v2
258
235
with :
259
236
python-version : 3.6
260
- - run : pip install -r requirements.txt
237
+ - uses : actions/checkout@v2
238
+ - run : ./.github/scripts/install_dependencies.sh
261
239
262
240
- name : Test
263
241
env :
264
242
CMAKE_PARAMS : ' -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on'
265
243
_COVERITY_URL : ' https://scan.coverity.com/download/linux64'
266
244
_COVERITY_MD5 : ' d0d7d7df9d6609e578f85096a755fb8f'
267
- run : |
268
- source .github/travis/common.sh
269
- ./.github/travis/build.sh
245
+ run : ./.github/scripts/build.sh
0 commit comments