Skip to content

Commit 49cb21a

Browse files
jonasnicksiv2r
authored andcommitted
ci: add batch module
1 parent 677c04b commit 49cb21a

File tree

2 files changed

+22
-4
lines changed

2 files changed

+22
-4
lines changed

.cirrus.yml

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ env:
1818
ECDH: no
1919
RECOVERY: no
2020
SCHNORRSIG: no
21+
BATCH: no
2122
### test options
2223
SECP256K1_TEST_ITERS:
2324
BENCH: yes
@@ -67,12 +68,12 @@ task:
6768
<< : *LINUX_CONTAINER
6869
matrix: &ENV_MATRIX
6970
- env: {WIDEMUL: int64, RECOVERY: yes}
70-
- env: {WIDEMUL: int64, ECDH: yes, SCHNORRSIG: yes}
71+
- env: {WIDEMUL: int64, ECDH: yes, SCHNORRSIG: yes, EXPERIMENTAL: yes, BATCH: yes}
7172
- env: {WIDEMUL: int128}
72-
- env: {WIDEMUL: int128, RECOVERY: yes, SCHNORRSIG: yes}
73-
- env: {WIDEMUL: int128, ECDH: yes, SCHNORRSIG: yes}
73+
- env: {WIDEMUL: int128, RECOVERY: yes, SCHNORRSIG: yes, EXPERIMENTAL: yes, BATCH: yes}
74+
- env: {WIDEMUL: int128, ECDH: yes, SCHNORRSIG: yes, EXPERIMENTAL: yes, BATCH: yes}
7475
- env: {WIDEMUL: int128, ASM: x86_64}
75-
- env: { RECOVERY: yes, SCHNORRSIG: yes}
76+
- env: { RECOVERY: yes, SCHNORRSIG: yes, EXPERIMENTAL: yes, BATCH: yes}
7677
- env: {BUILD: distcheck, WITH_VALGRIND: no, CTIMETEST: no, BENCH: no}
7778
- env: {CPPFLAGS: -DDETERMINISTIC}
7879
- env: {CFLAGS: -O0, CTIMETEST: no}
@@ -96,6 +97,8 @@ task:
9697
ECDH: yes
9798
RECOVERY: yes
9899
SCHNORRSIG: yes
100+
EXPERIMENTAL: yes
101+
BATCH: yes
99102
matrix:
100103
- env:
101104
CC: i686-linux-gnu-gcc
@@ -178,6 +181,8 @@ task:
178181
ECDH: yes
179182
RECOVERY: yes
180183
SCHNORRSIG: yes
184+
EXPERIMENTAL: yes
185+
BATCH: yes
181186
CTIMETEST: no
182187
<< : *MERGE_BASE
183188
test_script:
@@ -197,6 +202,8 @@ task:
197202
ECDH: yes
198203
RECOVERY: yes
199204
SCHNORRSIG: yes
205+
EXPERIMENTAL: yes
206+
BATCH: yes
200207
CTIMETEST: no
201208
matrix:
202209
- env: {}
@@ -217,6 +224,8 @@ task:
217224
ECDH: yes
218225
RECOVERY: yes
219226
SCHNORRSIG: yes
227+
EXPERIMENTAL: yes
228+
BATCH: yes
220229
CTIMETEST: no
221230
<< : *MERGE_BASE
222231
test_script:
@@ -234,6 +243,8 @@ task:
234243
ECDH: yes
235244
RECOVERY: yes
236245
SCHNORRSIG: yes
246+
EXPERIMENTAL: yes
247+
BATCH: yes
237248
CTIMETEST: no
238249
<< : *MERGE_BASE
239250
test_script:
@@ -251,6 +262,8 @@ task:
251262
ECDH: yes
252263
RECOVERY: yes
253264
SCHNORRSIG: yes
265+
EXPERIMENTAL: yes
266+
BATCH: yes
254267
CTIMETEST: no
255268
<< : *MERGE_BASE
256269
test_script:
@@ -264,6 +277,8 @@ task:
264277
ECDH: yes
265278
RECOVERY: yes
266279
SCHNORRSIG: yes
280+
EXPERIMENTAL: yes
281+
BATCH: yes
267282
CTIMETEST: no
268283
matrix:
269284
- name: "Valgrind (memcheck)"
@@ -313,6 +328,8 @@ task:
313328
ECDH: yes
314329
RECOVERY: yes
315330
SCHNORRSIG: yes
331+
EXPERIMENTAL: yes
332+
BATCH: yes
316333
<< : *MERGE_BASE
317334
test_script:
318335
- ./ci/cirrus.sh

ci/cirrus.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ valgrind --version || true
1919
--with-ecmult-gen-precision="$ECMULTGENPRECISION" \
2020
--enable-module-ecdh="$ECDH" --enable-module-recovery="$RECOVERY" \
2121
--enable-module-schnorrsig="$SCHNORRSIG" \
22+
--enable-module-batch="$BATCH" \
2223
--enable-examples="$EXAMPLES" \
2324
--with-valgrind="$WITH_VALGRIND" \
2425
--host="$HOST" $EXTRAFLAGS

0 commit comments

Comments
 (0)