@@ -10,51 +10,27 @@ jobs:
10
10
github.event_name == 'push' ||
11
11
github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository
12
12
strategy :
13
+ fail-fast : false
13
14
matrix :
14
- # We need 1.10.6 here to check that module works with
15
- # old Tarantool versions that don't have "tuple-keydef"/"tuple-merger" support.
16
- # We test old metrics with Tarantool 2.10 because since Tarantool 2.11.1
17
- # it uses its own metrics package.
18
- # We test old metrics with Cartridge 2.7.9 because since 2.8.0 it
19
- # requires metrics 1.0.0.
20
- tarantool-version : ["1.10.6", "1.10", "2.8", "2.10", "2.11"]
21
- metrics-version : [""]
22
- cartridge-version : ["2.8.0"]
23
- external-tuple-merger-version : [""]
24
- external-tuple-keydef-version : [""]
25
15
include :
26
- - tarantool-version : " 1.10"
27
- metrics-version : " 1.0.0"
28
- cartridge-version : " 2.8.0"
29
- - tarantool-version : " 2.7"
30
- cartridge-version : " 2.8.0"
31
16
- tarantool-version : " 2.10"
32
- metrics-version : " 0.10.0"
33
- cartridge-version : " 2.7.9"
34
17
- tarantool-version : " 2.11"
35
18
coveralls : true
36
- metrics-version : " 1.0.0"
37
- cartridge-version : " 2.8.0"
38
- - tarantool-version : " 2.11"
39
- metrics-version : " 1.0.0"
40
- vshard-version : " 0.1.25"
41
19
- tarantool-version : " 2.11"
42
- external-merger-version : " 0.0.5"
43
- external-keydef-version : " 0.0.4"
44
- - tarantool-version : " 3.0.0"
45
- vshard-version : " 0.1.25"
20
+ external-tuple-merger-version : " 0.0.5"
21
+ external-tuple-keydef-version : " 0.0.4"
22
+ - tarantool-version : " 3.0"
23
+ - tarantool-version : " 3.1"
24
+ - tarantool-version : " 3.2"
25
+ - tarantool-version : " 3.3"
46
26
- tarantool-version : " master"
47
- vshard-version : " 0.1.26"
48
- fail-fast : false
49
- # Can't install older versions on 22.04,
50
- # see https://github.com/tarantool/setup-tarantool/issues/36
51
- runs-on : ubuntu-20.04
27
+ runs-on : ubuntu-22.04
52
28
steps :
53
- - uses : actions/checkout@master
29
+ - uses : actions/checkout@v4
54
30
55
31
- name : Setup Tarantool CE (1.x, 2.x)
56
32
if : ${{ startsWith( matrix.tarantool-version, '1.' ) || startsWith( matrix.tarantool-version, '2.' ) }}
57
- uses : tarantool/setup-tarantool@v2
33
+ uses : tarantool/setup-tarantool@v3
58
34
with :
59
35
tarantool-version : ${{ matrix.tarantool-version }}
60
36
67
43
- name : Cache Tarantool 3.x
68
44
if : ${{ startsWith( matrix.tarantool-version, '3.' ) }}
69
45
id : cache-v3
70
- uses : actions/cache@v3
46
+ uses : actions/cache@v4
71
47
with :
72
48
path : " ${GITHUB_WORKSPACE}/bin"
73
49
key : cache-${{ matrix.tarantool-version }}
88
64
- name : Cache Tarantool master
89
65
if : matrix.tarantool-version == 'master'
90
66
id : cache-latest
91
- uses : actions/cache@v3
67
+ uses : actions/cache@v4
92
68
with :
93
69
path : " ${GITHUB_WORKSPACE}/bin"
94
70
key : cache-latest-${{ env.LATEST_COMMIT }}
@@ -103,18 +79,10 @@ jobs:
103
79
if : ${{ startsWith( matrix.tarantool-version, '3.' ) || matrix.tarantool-version == 'master' }}
104
80
run : echo "${GITHUB_WORKSPACE}/bin" >> $GITHUB_PATH
105
81
106
- - name : Fix luarocks in Tarantool CE 1.10.6
107
- if : matrix.tarantool-version == '1.10.6'
108
- run : |
109
- sudo patch -p1 /usr/share/tarantool/luarocks/manif.lua luarocks.patch
110
-
111
82
- name : Install requirements for community
112
83
run : |
113
84
tarantool --version
114
85
./deps.sh
115
- env :
116
- CARTRIDGE_VERSION : ${{ matrix.cartridge-version }}
117
- VSHARD_VERSION : ${{ matrix.vshard-version }}
118
86
119
87
- name : Install metrics
120
88
if : matrix.metrics-version != ''
@@ -144,116 +112,30 @@ jobs:
144
112
run : make -C build coveralls
145
113
if : ${{ matrix.coveralls }}
146
114
147
- run-perf-tests-ce :
148
- if : |
149
- github.event_name == 'push' ||
150
- github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository
151
- strategy :
152
- matrix :
153
- tarantool-version : ["1.10", "2.11"]
154
- metrics-version : ["1.0.0"]
155
- cartridge-version : ["2.8.0"]
156
- include :
157
- - tarantool-version : " 3.0.0"
158
- vshard-version : " 0.1.25"
159
- fail-fast : false
160
- runs-on : ubuntu-20.04
161
- steps :
162
- - uses : actions/checkout@master
163
-
164
- - name : Setup Tarantool CE (1.x, 2.x)
165
- if : ${{ startsWith( matrix.tarantool-version, '1.' ) || startsWith( matrix.tarantool-version, '2.' ) }}
166
- uses : tarantool/setup-tarantool@v2
167
- with :
168
- tarantool-version : ${{ matrix.tarantool-version }}
169
-
170
- - name : Setup tt
171
- run : |
172
- curl -L https://tarantool.io/release/2/installer.sh | sudo bash
173
- sudo apt install -y tt
174
- tt version
175
-
176
- - name : Cache Tarantool 3.x
177
- if : ${{ startsWith( matrix.tarantool-version, '3.' ) }}
178
- id : cache-v3
179
- uses : actions/cache@v3
180
- with :
181
- path : " ${GITHUB_WORKSPACE}/bin"
182
- key : cache-${{ matrix.tarantool-version }}
183
-
184
- - name : Setup Tarantool CE (3.x)
185
- if : ${{ startsWith( matrix.tarantool-version, '3.' ) && steps.cache-latest.outputs.cache-hit != 'true' }}
186
- run : |
187
- tt init
188
- tt install tarantool ${{ matrix.tarantool-version }}
189
-
190
- - name : Get Tarantool master latest commit
191
- if : matrix.tarantool-version == 'master'
192
- run : |
193
- commit_hash=$(git ls-remote https://github.com/tarantool/tarantool.git --branch master | head -c 8)
194
- echo "LATEST_COMMIT=${commit_hash}" >> $GITHUB_ENV
195
- shell : bash
196
-
197
- - name : Cache Tarantool master
198
- if : matrix.tarantool-version == 'master'
199
- id : cache-latest
200
- uses : actions/cache@v3
201
- with :
202
- path : " ${GITHUB_WORKSPACE}/bin"
203
- key : cache-latest-${{ env.LATEST_COMMIT }}
204
-
205
- - name : Setup Tarantool CE (master)
206
- if : matrix.tarantool-version == 'master' && steps.cache-latest.outputs.cache-hit != 'true'
207
- run : |
208
- tt init
209
- tt install tarantool master
210
-
211
- - name : Add tt Tarantool to PATH
212
- if : ${{ startsWith( matrix.tarantool-version, '3.' ) || matrix.tarantool-version == 'master' }}
213
- run : echo "${GITHUB_WORKSPACE}/bin" >> $GITHUB_PATH
214
-
215
- - name : Install requirements for community
216
- run : |
217
- tarantool --version
218
- ./deps.sh
219
- env :
220
- CARTRIDGE_VERSION : ${{ matrix.cartridge-version }}
221
- VSHARD_VERSION : ${{ matrix.vshard-version }}
222
-
223
- - name : Install metrics
224
- if : matrix.metrics-version != ''
225
- run : tt rocks install metrics ${{ matrix.metrics-version }}
226
-
227
- # This server starts and listen on 8084 port that is used for tests
228
- - name : Stop Mono server
229
- run : sudo kill -9 $(sudo lsof -t -i tcp:8084) || true
230
-
231
- - run : cmake -S . -B build
232
-
233
- - name : Run performance tests
234
- run : make -C build performance
235
-
236
115
run-tests-ee :
237
116
if : github.event_name == 'push'
238
117
strategy :
118
+ fail-fast : false
239
119
matrix :
240
- tarantool-version :
241
- - folder : " 1.10"
242
- bundle : " tarantool-enterprise-sdk-1.10.15-0-r609"
243
- - folder : " 2.11"
244
- bundle : " tarantool-enterprise-sdk-nogc64-2.11.2-0-r609.linux.x86_64"
245
- metrics-version : ["", "1.0.0"]
246
- cartridge-version : ["2.8.0"]
247
120
include :
248
121
- tarantool-version :
249
- folder : " 3.0"
250
- bundle : " tarantool-enterprise-sdk-gc64-3.0.0-0-gf58f7d82a-r23.linux.x86_64"
251
- vshard-version : " 0.1.25"
252
-
253
- fail-fast : false
254
- runs-on : ubuntu-20.04
122
+ folder : " 2.10"
123
+ bundle : " tarantool-enterprise-sdk-gc64-2.10.8-0-r691.linux.x86_64"
124
+ - tarantool-version :
125
+ folder : " 2.11"
126
+ bundle : " tarantool-enterprise-sdk-gc64-2.11.7-0-r691.linux.x86_64"
127
+ - tarantool-version :
128
+ folder : " 3.2"
129
+ bundle : " tarantool-enterprise-sdk-gc64-3.2.0-0-r40.linux.x86_64"
130
+ - tarantool-version :
131
+ folder : " 3.3"
132
+ bundle : " tarantool-enterprise-sdk-gc64-3.3.2-0-r62.linux.x86_64"
133
+ - tarantool-version :
134
+ folder : " 3.4"
135
+ bundle : " tarantool-enterprise-sdk-gc64-3.4.0-0-r62.linux.x86_64"
136
+ runs-on : ubuntu-22.04
255
137
steps :
256
- - uses : actions/checkout@master
138
+ - uses : actions/checkout@v4
257
139
258
140
- name : Install requirements for enterprise
259
141
run : |
0 commit comments