-
Notifications
You must be signed in to change notification settings - Fork 4
/
.gitlab-ci.yml
executable file
·180 lines (161 loc) · 3.45 KB
/
.gitlab-ci.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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
stages:
- build
- install
- build_test
- run_test_scalar
- run_test_vector
- run_test_vector_blas
- run_test_matrix
- doc
before_script:
- mkdir -p ~/lib/dd_avx
- export LD_LIBRARY_PATH=~/lib/dd_avx
###################################################
build_lib:
stage: build
tags:
- hishinuma-ci
script:
- make clean
- make
- ls
- ls lib/
- ls include/qd/
artifacts:
paths:
- include/
- lib/
expire_in: 1day
###################################################
install_lib:
stage: install
tags:
- hishinuma-ci
script:
- make install
dependencies:
- "build_lib"
artifacts:
paths:
- ~/lib/dd_avx/
expire_in: 1day
###################################################
test_build:
stage: build_test
tags:
- hishinuma-ci
script:
- cd test; make clean; make
dependencies:
- "install_lib"
artifacts:
paths:
- test/
expire_in: 1day
###################################################
scalar:
stage: run_test_scalar
tags:
- hishinuma-ci
script:
- cd test/scalar; ./scalar.o;
artifacts:
paths:
- test_build/
expire_in: 1day
###################################################
std:
stage: run_test_vector
tags:
- hishinuma-ci
script:
- cd test/vector; ./check.sh std;
copy:
stage: run_test_vector
tags:
- hishinuma-ci
script:
- cd test/vector; ./check.sh copy;
minus:
stage: run_test_vector
tags:
- hishinuma-ci
script:
- cd test/vector; ./check.sh minus;
add:
stage: run_test_vector
tags:
- hishinuma-ci
script:
- cd test/vector; ./check.sh add;
sub:
stage: run_test_vector
tags:
- hishinuma-ci
script:
- cd test/vector; ./check.sh sub;
mul:
stage: run_test_vector
tags:
- hishinuma-ci
script:
- cd test/vector; ./check.sh mul;
div:
stage: run_test_vector
tags:
- hishinuma-ci
script:
- cd test/vector; ./check.sh div;
###################################################
axpy:
stage: run_test_vector_blas
tags:
- hishinuma-ci
script:
- cd test/vector_blas; ./check.sh axpy;
dot:
stage: run_test_vector_blas
tags:
- hishinuma-ci
script:
- cd test/vector_blas; ./check.sh dot;
nrm2:
stage: run_test_vector_blas
tags:
- hishinuma-ci
script:
- cd test/vector_blas; ./check.sh nrm2;
scale:
stage: run_test_vector_blas
tags:
- hishinuma-ci
script:
- cd test/vector_blas; ./check.sh scale;
xpay:
stage: run_test_vector_blas
tags:
- hishinuma-ci
script:
- cd test/vector_blas; ./check.sh xpay;
axpyz:
stage: run_test_vector_blas
tags:
- hishinuma-ci
script:
- cd test/vector_blas; ./check.sh axpyz;
###################################################
spmv:
stage: run_test_matrix
tags:
- hishinuma-ci
script:
- cd test/matrix; ./input.o; ./spmv.o
###################################################
make_doc:
stage: doc
tags:
- hishinuma-ci
script:
- rm -rf /public/dd_avx/
- cd doc/; doxygen ./Doxyfile; cd -
- mv doc/html /public/dd_avx