You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for feature in avx512f avx512bw avx512vl avx512dq avx512cd avx512vnni avx512vbmi2 avx512vpopcntdq avx512_bf16 avx512_fp16 avx2 fma sse4_2 sve asimd; do
33
+
if grep -qw "${feature}" <<< "${flags}"; then
34
+
features+=("${feature}")
35
+
fi
36
+
done
37
+
38
+
if [ ${#features[@]} -eq 0 ]; then
39
+
bucket="cpu-generic"
40
+
else
41
+
bucket="cpu-$(IFS=_; echo "${features[*]}")"
42
+
fi
43
+
44
+
echo "bucket=${bucket}" >> "${GITHUB_OUTPUT}"
45
+
echo "Using cache CPU feature bucket: ${bucket}"
12
46
- name: Cache CCache Volumes
13
47
uses: actions/cache/restore@v4
14
48
with:
@@ -19,13 +53,13 @@ runs:
19
53
# inside the restored tarball still detects thirdparty source changes
20
54
# via its own content hashing, so compilation correctness is unaffected.
21
55
# Key must match cache-save/action.yaml exactly for exact-key hits.
for feature in avx512f avx512bw avx512vl avx512dq avx512cd avx512vnni avx512vbmi2 avx512vpopcntdq avx512_bf16 avx512_fp16 avx2 fma sse4_2 sve asimd; do
33
+
if grep -qw "${feature}" <<< "${flags}"; then
34
+
features+=("${feature}")
35
+
fi
36
+
done
37
+
38
+
if [ ${#features[@]} -eq 0 ]; then
39
+
bucket="cpu-generic"
40
+
else
41
+
bucket="cpu-$(IFS=_; echo "${features[*]}")"
42
+
fi
43
+
44
+
echo "bucket=${bucket}" >> "${GITHUB_OUTPUT}"
45
+
echo "Using cache CPU feature bucket: ${bucket}"
12
46
- name: Cache CCache Volumes
13
47
uses: actions/cache/save@v4
14
48
with:
@@ -19,9 +53,9 @@ runs:
19
53
# inside the restored tarball still detects thirdparty source changes
20
54
# via its own content hashing, so compilation correctness is unaffected.
21
55
# Key must match cache-restore/action.yaml exactly for exact-key hits.
Copy file name to clipboardExpand all lines: .github/mergify.yml
+19-23Lines changed: 19 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ pull_request_rules:
3
3
conditions:
4
4
- or:
5
5
- base=main
6
-
- base~=^2(\.\d+){1,2}$
6
+
- base~=^\d+(\.\d+){1,2}$
7
7
- -status-success=DCO
8
8
actions:
9
9
label:
@@ -16,7 +16,7 @@ pull_request_rules:
16
16
conditions:
17
17
- or:
18
18
- base=main
19
-
- base~=^2(\.\d+){1,2}$
19
+
- base~=^\d+(\.\d+){1,2}$
20
20
- status-success=DCO
21
21
actions:
22
22
label:
@@ -25,12 +25,11 @@ pull_request_rules:
25
25
add:
26
26
- dco-passed
27
27
28
-
29
28
- name: Blocking PR if missing a related issue or PR doesn't have kind/improvement label
30
29
conditions:
31
30
- or:
32
31
- base=main
33
-
- base~=^2(\.\d+){1,2}$
32
+
- base~=^\d+(\.\d+){1,2}$
34
33
- title!=\[automated\]
35
34
- label!=kind/improvement
36
35
- and:
@@ -55,12 +54,11 @@ pull_request_rules:
55
54
56
55
Thanks for your efforts and contribution to the community!.
57
56
58
-
59
57
- name: Dismiss block label if related issue be added into PR
60
58
conditions:
61
59
- or:
62
60
- base=main
63
-
- base~=^2(\.\d+){1,2}$
61
+
- base~=^\d+(\.\d+){1,2}$
64
62
- label!=kind/improvement
65
63
- and:
66
64
- or:
@@ -79,7 +77,7 @@ pull_request_rules:
79
77
conditions:
80
78
- or:
81
79
- base=main
82
-
- base~=^2(\.\d+){1,2}$
80
+
- base~=^\d+(\.\d+){1,2}$
83
81
- or:
84
82
- and:
85
83
- label=kind/improvement
@@ -113,12 +111,11 @@ pull_request_rules:
113
111
message: |
114
112
@{{author}} Please remove redundant `kind/xxx` labels and make sure that there is only one `kind/xxx` label of your Pull Request. (eg. “/remove-kind improvement”)
115
113
116
-
117
114
- name: Dismiss block PR if have not multiple 'kind' type labels
118
115
conditions:
119
116
- or:
120
117
- base=main
121
-
- base~=^2(\.\d+){1,2}$
118
+
- base~=^\d+(\.\d+){1,2}$
122
119
- or:
123
120
- and:
124
121
- label=kind/improvement
@@ -150,12 +147,11 @@ pull_request_rules:
150
147
remove:
151
148
- do-not-merge/description-tag-conflict
152
149
153
-
154
-
- name: Test passed for code changed for main
150
+
- name: Test passed for code changed
155
151
conditions:
156
152
- or:
157
153
- base=main
158
-
- base~=^2(\.\d+){1,2}$
154
+
- base~=^\d+(\.\d+){1,2}$
159
155
- "status-success=ut on ubuntu-22.04"
160
156
- "status-success=ut on macos-15"
161
157
- 'status-success=pre-commit'
@@ -170,11 +166,11 @@ pull_request_rules:
170
166
add:
171
167
- ci-passed
172
168
173
-
- name: Test passed for cpu code changed only for main
169
+
- name: Test passed for cpu code changed only
174
170
conditions:
175
171
- or:
176
172
- base=main
177
-
- base~=^2(\.\d+){1,2}$
173
+
- base~=^\d+(\.\d+){1,2}$
178
174
- -files~=^(?=src/index/ivf_raft/)
179
175
- files~=^(?=.*((\.(h|cpp)|CMakeLists.txt))).*$
180
176
- "status-success=ut on ubuntu-22.04"
@@ -189,11 +185,11 @@ pull_request_rules:
189
185
add:
190
186
- ci-passed
191
187
192
-
- name: Test passed for non c++ or go code changed for main
188
+
- name: Test passed for non c++ or go code changed
193
189
conditions:
194
190
- or:
195
191
- base=main
196
-
- base~=^2(\.\d+){1,2}$
192
+
- base~=^\d+(\.\d+){1,2}$
197
193
- -files~=^(?=.*((\.(h|cpp)|CMakeLists.txt))).*$
198
194
- 'status-success=pre-commit'
199
195
- 'status-success=analyzer'
@@ -208,7 +204,7 @@ pull_request_rules:
208
204
conditions:
209
205
- or:
210
206
- base=main
211
-
- base~=^2(\.\d+){1,2}$
207
+
- base~=^\d+(\.\d+){1,2}$
212
208
- title~=\[skip e2e\]
213
209
- -files~=^(?=.*((\.(h|cpp)|CMakeLists.txt))).*$
214
210
actions:
@@ -220,7 +216,7 @@ pull_request_rules:
220
216
conditions:
221
217
- or:
222
218
- base=main
223
-
- base~=^2(\.\d+){1,2}$
219
+
- base~=^\d+(\.\d+){1,2}$
224
220
- 'check-failure=e2e'
225
221
actions:
226
222
comment:
@@ -231,18 +227,18 @@ pull_request_rules:
231
227
conditions:
232
228
- or:
233
229
- base=main
234
-
- base~=^2(\.\d+){1,2}$
230
+
- base~=^\d+(\.\d+){1,2}$
235
231
- 'check-failure=e2e-sse'
236
232
actions:
237
233
comment:
238
234
message: |
239
235
@{{author}} e2e jenkins job failed, comment `/run-e2e-sse` can trigger the job again.
240
236
241
-
- name: Remove ci-passed label when ut failed for main
237
+
- name: Remove ci-passed label when ut failed
242
238
conditions:
243
239
- or:
244
240
- base=main
245
-
- base~=^2(\.\d+){1,2}$
241
+
- base~=^\d+(\.\d+){1,2}$
246
242
- or:
247
243
- "status-success!=ut on ubuntu-22.04"
248
244
- "status-success!=ut on macos-15"
@@ -257,11 +253,11 @@ pull_request_rules:
257
253
remove:
258
254
- ci-passed
259
255
260
-
- name: Remove ci-passed label when gpu ut failed for main
0 commit comments